hydrac.instruments.physicalparam

Multiparamter instruments (hydrac.instruments.physicalparam)

Multiparameter devices (ex. CTD) handled by the package. Reads and stores data from text/csv raw files

class hydrac.instruments.physicalparam.PhysicalParam[source]

Bases: hydrac.instruments.instruments.Instrument

Base class : hydrac.instruments.instruments.Instrument.

This class is meant to be subclassed, not instantiated directly. It relates all non-acoustic based instruments to the same common Instrument class

The PhysicalParam class handles all non-acoustic based device data. These data are point-wise data, contained in the modified dictionnary param (hydrac.util.parameters.AttrDict). PhysicalParam contains methods dedicated to their processing.

../_images/ctd.pdf

The param structure is common to all instruments. Each param can contain several sets of profiles (ex. param.P0, param.P1…), the structure of which is described in the table below.

Description of the param container
Parameter Name Type Size Description
Depth, adepth float N (number of samples over time) Depth (m), averaged depth (m)
Temperature, aT float N Temperature (°C), averaged Temperature (°C)
Salinity, aS float N Salinity, averaged salinity (PSU)
Turbidity, aK float N Turbidity, averaged turbidity (NTU)
time, at float N Time, averaged time (s)
preproc_phy_shape(self)[source]

Shapes the acoustic data within the common structure defined in the table up. The class hydrac.instruments.mod_deployment.ModDeployment is called and prompt the user to shoose how the isntrument was deployed (Mooring, Cast). The user is then prompted to indicated whether and how he wishes to average the data (according to depth cells, time …)

Classes

PhysicalParam() Base class : hydrac.instruments.instruments.Instrument.