hydrac.instruments.adcp¶
Adcp instruments (hydrac.instruments.adcp)¶
-
class
hydrac.instruments.adcp.Adcp(name)[source]¶ Bases:
hydrac.instruments.acoustique.AcousticAdcp instruments class
Base class :
hydrac.instruments.acoustique.AcousticThe ADCP is a single frequency Doppler velocity profiler. It measures the Doppler phase shifts induced by the moving targets (suspended particles) in the water column. As well as measuring the multi-component velocity, it is also capable of recording the backscattered intensity, which itself is of interest in hydrac.
The Adcp class reads the raw binary files from ADCPs instruments and stores the valuable information into the
parammodified dictionnary with the common shape handled by hydrac (seehydrac.instruments.acoustique).The way the data are to be considered is similar to the example shown in
hydrac.instruments.aquascat.Parameters: - name : str, {‘Campaign_1’}
Tag name, for personal usage, for instance to add a campaign name.
-
_set_calib_adcp(self)[source]¶ Calibration coefficients for each transducer are unique to each transducer. As such, each instrument comes with a different set of calibration coefficients Kt. Those are stored in xml file generated (if non-existant) or updated (with
_update_calib_aqa()) with the instrument serial number and the Kts. This xml is accessed/generated through the classhydrac.util.paramcontainer.ParamContainer.
-
_update_calib_adcp(self, a, b=None, remove_elem=False)[source]¶ Update the calibration xml file either by adding a new instrument or deleting the coefficients of a particular instrument. This xml is accessed/generated through the class
hydrac.util.paramcontainer.ParamContainer.Parameters: - a : str
Instrument serial number read from binary files and stored in
param- b=None : dict
Contains the calibration coefficients, prompted by the user if the instrument is used for the first time in hydrac.
- remove_elem=False : bool
Removes the information relative to the serial number a in the xml.
-
class
hydrac.instruments.adcp.ReadAdcpA(obj)[source]¶ Bases:
objectReads standard RDI fileformat.
Parameters: - obj : Adcp object
hydrac.instruments.ascp.Adcp
- obj : Adcp object
-
class
hydrac.instruments.adcp.ReadAdcpP(obj)[source]¶ Bases:
objectReads -p RDI fileformat meant for en route acquisition.
Parameters: - obj : Adcp object
hydrac.instruments.ascp.Adcp
- obj : Adcp object
Classes
Adcp(name) |
Adcp instruments class |
ReadAdcpA(obj) |
Reads standard RDI fileformat. |
ReadAdcpP(obj) |
Reads -p RDI fileformat meant for en route acquisition. |
Exceptions
WrongFileTypeError |