Derive functions

RSKderiveseapressure

RSKderiveseapressure(RSK)

RSKderiveseapressure - Calculate sea pressure.

Syntax:

[RSK] = RSKderiveseapressure(RSK, [OPTIONS])

Derives sea pressure and fills all of data’s elements and channel metadata. If sea pressure already exists, it recalculates it and overwrites that data column.

If no pressure channel (Pressure or BPR pressure) is available, sea pressure is set to 0 and a warning is issued. This is also the function that the dependency guard (see getseapressure) auto-calls when a derive function needs sea pressure but the channel is absent.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • patm – Atmospheric Pressure. Default is 10.1325 dbar. It may be a scalar (used for every selected schedule), a vector (a per-sample atmospheric pressure for a single selected schedule; the schedule must not have a profile structure and the vector length must match its data), or a cell array with one entry (scalar or vector) per selected schedule.

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Structure containing the sea pressure data.

See also:

getseapressure(), RSKplotprofiles().

RSKderivedepth

RSKderivedepth(RSK)

RSKderivedepth - Calculate depth from pressure.

Syntax:

[RSK] = RSKderivedepth(RSK, [OPTION])

Calculates depth from pressure and adds the channel metadata in the appropriate fields. If the data elements already have a ‘depth’ channel, it is replaced. Users could specify either ‘TEOS-10’ or ‘seawater’ toolbox to use, if it exists. Otherwise, depth is calculated using the Saunders & Fofonoff method.

Sea pressure dependency: if the Sea Pressure channel is absent, it is auto-derived via RSKderiveseapressure using the default atmospheric pressure (10.1325 dbar) and a warning is issued. If the Sea Pressure channel exists but is entirely NaN, an error is raised instead of auto-deriving. To use a different atmospheric pressure, call RSKderiveseapressure (with ‘patm’,…) first. On v3.x files, where derived columns are pre-created as all-NaN, derive sea pressure before calling this function.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • latitude – Location of the pressure measurement in decimal degrees. Default is 45.

  • seawaterLibrary – Specify which library to use, should be either ‘TEOS-10’ or ‘seawater’, default is TEOS-10

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – RSK structure containing the depth data

RSKderivesalinity

RSKderivesalinity(RSK)

RSKderivesalinity - Calculate practical salinity.

Syntax:

[RSK] = RSKderivesalinity(RSK,[OPTIONS])

Derives salinity using either TEOS-10 library (http://www.teos-10.org/software.htm) or sea water library (http://www.cmar.csiro.au/datacentre/ext_docs/seawater.htm). Default is TEOS-10. The result is added to the RSK data structure, and the channel list is updated. If salinity is already in the RSK data structure (i.e., from Ruskin), it will be overwritten.

Sea pressure dependency: if the Sea Pressure channel is absent, it is auto-derived via RSKderiveseapressure using the default atmospheric pressure (10.1325 dbar) and a warning is issued. If the Sea Pressure channel exists but is entirely NaN, an error is raised instead of auto-deriving. To control the atmospheric pressure, call RSKderiveseapressure (with ‘patm’,…) first. On v3.x files, where derived columns are pre-created as all-NaN, derive sea pressure before calling this function.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data.

Optional:

  • seawaterLibrary – Specify which library to use, should be either ‘TEOS-10’ or ‘seawater’, default is TEOS-10

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing practical salinity.

Example:

rsk = RSKderivesalinity(rsk);

OR

rsk = RSKderivesalinity(rsk,'seawaterLibrary','seawater');

See also:

RSKcalculateCTlag().

RSKderiveSA

RSKderiveSA(RSK)

RSKderiveSA - Calculate absolute salinity.

Syntax:

[RSK] = RSKderiveSA(RSK, [OPTIONS])

Derives absolute salinity using the TEOS-10 GSW toolbox (http://www.teos-10.org/software.htm). The result is added to the RSK data structure, and the channel list is updated. The function acts differently depending on if GPS information is available:

a) When latitude and longitude data are available (either from optional input or station data in RSK.data.latitude/longitude), the function will call SA = gsw_SA_from_SP(salinity,seapressure,lon,lat)

b) When latitude and longitude data are absent, the function will call SA = gsw_SR_from_SP(salinity) assuming that reference salinity equals absolute salinity approximately.

Dependencies: this function needs populated Salinity and Sea Pressure channels. Salinity is never auto-derived, so an absent or entirely-NaN Salinity channel raises an error (derive it first with RSKderivesalinity). Sea pressure, if absent, is auto-derived via RSKderiveseapressure with the default atmospheric pressure and a warning is issued; if it exists but is entirely NaN, an error is raised instead. On v3.x files, where derived columns are pre-created as all-NaN, derive in order: RSKderiveseapressure -> RSKderivesalinity -> RSKderiveSA.

Note: When geographic information are both available from optional inputs and RSK.data structure, the optional inputs will override. The inputs latitude/longitude must be either a single value or vector of the same length of RSK.data.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • latitude – Latitude in decimal degrees north [-90 … +90]

  • longitude – Longitude in decimal degrees east [-180 … +180]

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing absolute salinity.

See also:

RSKderivesigma(), RSKderivetheta().

RSKderivesigma

RSKderivesigma(RSK)

RSKderivesigma - Calculate potential density anomaly using TEOS-10 or seawater library.

Syntax:

[RSK] = RSKderivesigma(RSK, [OPTIONS])

The result is added to the RSK data structure, and the channel list is updated. When using TEOS-10 library, the workflow of the function is as below:

1, Calculate absolute salinity (SA) if it doesn’t exist

a) When latitude and longitude data are available (either from optional input or station data in RSK.data.latitude/longitude), the function will call SA = gsw_SA_from_SP(salinity,seapressure,lon,lat) b) When latitude and longitude data are absent, the function will call SA = gsw_SR_from_SP(salinity) assuming that reference salinity equals absolute salinity approximately.

2, Calculate conservative temperature (CT) if it doesn’t exist

CT = gsw_CT_from_t(absolute salinity,temperature,seapressure)

3, Calculate potential density anomaly (sigma0)

sigma0 = gsw_sigma0(absolute salinity,conservative temperature)

Dependencies: this function needs populated Salinity and Sea Pressure channels. Salinity is never auto-derived, so an absent or entirely-NaN Salinity channel raises an error (derive it first with RSKderivesalinity). Sea pressure, if absent, is auto-derived via RSKderiveseapressure with the default atmospheric pressure and a warning is issued; if it exists but is entirely NaN, an error is raised instead. On v3.x files, where derived columns are pre-created as all-NaN, derive in order: RSKderiveseapressure -> RSKderivesalinity -> RSKderivesigma.

Note: When geographic information are both available from optional inputs and RSK.data structure, the optional inputs will override. The inputs latitude/longitude must be either a single value of vector of the same length of RSK.data.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • seawaterLibrary – Specify which library to use, should be either ‘TEOS-10’ or ‘seawater’, default is TEOS-10

  • latitude – Latitude in decimal degrees north [-90 … +90]

  • longitude – Longitude in decimal degrees east [-180 … +180]

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing potential density anomaly.

See also:

RSKderivesalinity().

RSKderivetheta

RSKderivetheta(RSK)

RSKderivetheta - Calculate potential temperature with a reference sea pressure of zero.

Syntax:

[RSK] = RSKderivetheta(RSK, [OPTIONS])

Derives potential temperature using either TEOS-10 GSW toolbox (http://www.teos-10.org/software.htm) or seawater toolbox. The result is added to the RSK data structure, and the channel list is updated.

When using TEOS-10 library, the workflow of the function is as below:

1, Calculate absolute salinity (SA) if it doesn’t exist

a) When latitude and longitude data are available (either from optional input or station data in RSK.data.latitude/longitude), the function will call SA = gsw_SA_from_SP(salinity,seapressure,lon,lat) b) When latitude and longitude data are absent, the function will call SA = gsw_SR_from_SP(salinity) assuming that reference salinity equals absolute salinity approximately.

2, Calculate potential temperature (pt0)

pt0 = gsw_pt0_from_t(absolute salinity,temperature,seapressure)

Dependencies: this function needs populated Salinity and Sea Pressure channels. Salinity is never auto-derived, so an absent or entirely-NaN Salinity channel raises an error (derive it first with RSKderivesalinity). Sea pressure, if absent, is auto-derived via RSKderiveseapressure with the default atmospheric pressure and a warning is issued; if it exists but is entirely NaN, an error is raised instead. On v3.x files, where derived columns are pre-created as all-NaN, derive in order: RSKderiveseapressure -> RSKderivesalinity -> RSKderivetheta.

Note: When geographic information are both available from optional inputs and RSK.data structure, the optional inputs will override. The inputs latitude/longitude must be either a single value of vector of the same length of RSK.data.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • seawaterLibrary – Specify which library to use, should be either ‘TEOS-10’ or ‘seawater’, default is TEOS-10

  • latitude – Latitude in decimal degrees north [-90 … +90]

  • longitude – Longitude in decimal degrees east [-180 … +180]

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing potential temperature.

See also:

RSKderivesigma(), RSKderiveSA().

RSKderivesoundspeed

RSKderivesoundspeed(RSK)

RSKderivesoundspeed - Calculate speed of sound.

Syntax:

[RSK] = RSKderivesoundspeed(RSK, [OPTIONS])

This function computes the speed of sound using temperature, salinity and pressure data. It provides three methods: UNESCO (Chen and Millero), Del Grosso and Wilson, among which UNESCO is default.

Dependencies: this function needs populated Salinity and Sea Pressure channels. Salinity is never auto-derived, so an absent or entirely-NaN Salinity channel raises an error (derive it first with RSKderivesalinity). Sea pressure, if absent, is auto-derived via RSKderiveseapressure with the default atmospheric pressure and a warning is issued; if it exists but is entirely NaN, an error is raised instead. On v3.x files, where derived columns are pre-created as all-NaN, derive in order: RSKderiveseapressure -> RSKderivesalinity -> RSKderivesoundspeed.

Special thanks to Andrew J. Moodie for initiating the idea of the function.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data.

Optional:

  • soundSpeedAlgorithm – UNESCO (default), DelGrosso or Wilson

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing a new channel for speed of sound.

References:

C-T. Chen and F.J. Millero, Speed of sound in seawater at high pressures (1977) J. Acoust. Soc. Am. 62(5) pp 1129-1135

V.A. Del Grosso, New equation for the speed of sound in natural waters (with comparisons to other equations) (1974) J. Acoust. Soc. Am 56(4) pp 1084-1091

W. D. Wilson, “Equations for the computation of the speed of sound in sea water,” Naval Ordnance Report 6906, US Naval Ordnance Laboratory, White Oak, Maryland, 1962.

See also:

RSKderivesalinity().

RSKderivebuoyancy

RSKderivebuoyancy(RSK)

RSKderivebuoyancy - Calculate buoyancy frequency N^2 and stability E.

Syntax:

[RSK] = RSKderivebuoyancy(RSK,[OPTIONS])

Derives buoyancy frequency and stability using either TEOS-10 GSW toolbox (http://www.teos-10.org/software.htm) or seawater toolbox. The result is added to the RSK data structure, and the channel list is updated.

Dependencies: this function needs populated Salinity and Sea Pressure channels. Salinity is never auto-derived, so an absent or entirely-NaN Salinity channel raises an error (derive it first with RSKderivesalinity). Sea pressure, if absent, is auto-derived via RSKderiveseapressure with the default atmospheric pressure and a warning is issued; if it exists but is entirely NaN, an error is raised instead. On v3.x files, where derived columns are pre-created as all-NaN, derive in order: RSKderiveseapressure -> RSKderivesalinity -> RSKderivebuoyancy.

Note: When using TEOS-10 toolbox, the function makes the assumption that

the Absolute Salinity anomaly is zero to simplify the calculation. In other words, SA = SR.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • latitude – Latitude in decimal degrees north [-90 … +90] When latitude is available from both optional input and RSK.data structure, the optional input will override. When neither source is available, it will use 45 as default.

  • seawaterLibrary – Specify which library to use, should be either ‘TEOS-10’ or ‘seawater’, default is TEOS-10

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing buoyancy frequency and stability.

See also:

RSKderivesalinity().

RSKderivevelocity

RSKderivevelocity(RSK)

RSKderivevelocity - Calculate velocity from depth and time.

Syntax:

[RSK] = RSKderivevelocity(RSK, [OPTIONS])

Differentiates depth to estimate the profiling speed. The depth channel is first smoothed with a ‘windowLength’ running average to reduce noise.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • windowLength – The total size of the filter window used to filter depth. Must be odd. Default is 3.

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – RSK structure containing the velocity data.

See also:

RSKremoveloops(), calculatevelocity().

RSKderiveC25

RSKderiveC25(RSK)
RSKderiveC25 - Calculate specific conductivity at 25 degrees Celsius

in units of uS/cm.

Syntax:

[RSK] = RSKderiveC25(RSK, [OPTIONS])

This function computes the specific conductivity in uS/cm at 25 degrees Celsius given the conductivity in mS/cm and temperature in degrees Celsius. The default temperature sensitivity coefficient, alpha, is 0.0191 deg C-1.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data.

Optional:

  • alpha – temperature coefficient, with default 0.0191 deg C-1.

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing a new channel for specific conductivity.

See also:

RSKderivesalinity().

RSKderiveO2

RSKderiveO2(RSK)

RSKderiveO2 - Derives dissolved oxygen concentration or saturation.

Syntax:

[RSK] = RSKderiveO2(RSK,[OPTIONS])

The function derives dissolved O2 concentration from measured dissolved O2 saturation using R.F. Weiss (1970), or conversely, derives dissolved O2 saturation from measured dissolved O2 concentration using Garcia and Gordon (1992). The new oxygen variable is stored in a new column in the data table.

Salinity dependency: this function requires a populated Salinity channel. Salinity is never auto-derived, so if the Salinity channel is absent or entirely NaN, an error is raised. Derive it first with RSKderivesalinity (which itself needs conductivity and temperature). On v3.x files, where derived columns are pre-created as all-NaN, derive in dependency order: RSKderiveseapressure -> RSKderivesalinity -> RSKderiveO2 (sea pressure is needed transitively for salinity; RSKderiveO2 itself does not use or derive sea pressure).

References:

R.F. Weiss, The solubility of nitrogen, oxygen and argon in water and seawater, Deep-Sea Res., 17 (1970), pp. 721-735

H.E. Garcia, L.I. Gordon, Oxygen solubility in seawater: Better fitting equations, Limnol. Oceanogr., 37 (6) (1992), pp. 1307-1312

Inputs:

Required:

  • RSK – Structure containing measured O2 saturation or concentration.

Optional:

  • toDerive – O2 variable to derive, should only be ‘saturation’ or ‘concentration’, default is ‘concentration’.

  • unit – Unit of derived O2 concentration. Valid inputs include umol/l, ml/l and mg/l. Default is umol/l. Only effective when toDerive is concentration.

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Structure containing derived O2 concentration or saturation.

Example:

rsk = RSKderiveO2(rsk, 'toDerive', 'concentration', 'unit', 'ml/l')

See also:

deriveO2concentration(), deriveO2saturation().

RSKderiveBPR

RSKderiveBPR(RSK)

RSKderiveBPR - convert bottom pressure recorder frequencies to temperature and pressure using calibration coefficients.

Syntax:

[RSK] = RSKderiveBPR(RSK)

Loggers with bottom pressure recorder (BPR) channels are equipped with one or more Paroscientific, Inc. pressure transducers. The logger records the temperature and pressure output frequencies from the transducer. When RSKtools reads an RSK file of type ‘full’ from a BPR, only the BPR frequency measurements are read. ‘EPdesktop’ RSK files contain the transducer frequencies for pressure and temperature, as well as the derived pressure and temperature. RSKderiveBPR derives temperature and pressure from the transducer frequency channels for ‘full’ files.

RSKderiveBPR implements the calibration equations developed by Paroscientific, Inc. to derive pressure and temperature. The function calls RSKreadcalibrations to retrieve the calibration table if it has not been read previously.

Note: When RSK data type is set to ‘EPdesktop’, Ruskin will import both the original signal and the derived pressure and temperature data. However, the converted data can not achieve the highest resolution available. Using the ‘full’ data type and deriving temperature and pressure with RSKtools will result in data with the full resolution.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

Optional:

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Structure containing the derived BPR pressure and temperature

See also:

RSKderiveseapressure(), RSKderivedepth().

RSKderiveAPT

RSKderiveAPT(RSK)

RSKderiveAPT - convert paroscientific accelerations period and temperature period into accelerations and temperature

Syntax:

[RSK] = RSKderiveAPT(RSK, ‘AlignmentCoefficients’,Alignment_coefficients, ‘TemperatureCoefficients’,Temperature_coefficients,’AccelerationCoefficients’,Acceleration_coefficients)

The RBRquartz3 APT is a combined triaxial quartz accelerometer and a bottom pressure recorder. It is equipped with a Paroscientific, Inc. triaxial accelerometer and records the acceleration output periods from the accelerometer. RSK files contain only periods for acceleration and temperature.

This function derives 3-axis accelerations from the accelerometer frequency channels for RSK files. It implements the calibration equations developed by Paroscientific, Inc. to derive accelerations. It requires users to input the alignment and acceleration coefficients. The coefficients are available on the Paroscientific, Inc. triax accelerometer instrument configuration sheet, which is shipped along with the logger. Derived accelerations and temperature are added to the RSK data structure. The channel list is updated.

Inputs:

Required:

  • RSK – Structure containing the logger metadata and data

  • AlignmentCoefficients – a matrix of alignment coefficients on the Paroscientific, Inc. triax accelerometer instrument configuration sheet

  • TemperatureCoefficients – a matrix of temperature coefficients on the Paroscientific, Inc. triax accelerometer instrument configuration sheet

  • AccelerationCoefficients – a matrix of acceleration coefficients on the Paroscientific, Inc. triax accelerometer instrument configuration sheet

Note: although the three coefficient matrices above are listed as required, omitting any of them does not error. If any coefficient input is empty or missing, the function issues an RSKwarning and returns without deriving. - schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Updated structure containing the derived APT accelerations and temperature channels

See also:

RSKderiveBPR(), RSKderiveseapressure(), RSKderivedepth().

RSKderiveA0A

RSKderiveA0A(RSK)

RSKderiveA0A - apply the RBRquartz3 BPR|zero internal barometer readings to correct for drift in the marine Digiquartz pressure readings using the A-zero-A method.

Syntax:

[RSK] = RSKderiveA0A(RSK)

RSKderiveA0A uses the A-zero-A technique to correct drift in the Digiquartz pressure gauge(s). This is done by periodically switching the applied pressure that the gauge measures from seawater to the atmospheric conditions inside the housing. The drift in quartz sensors is proportional to the full-scale rating, so a reference barometer - with hundreds of times less drift than the marine gauge - is used to determine the behaviour of the marine pressure measurements.

The A-zero-A technique, as implemented in RSKderiveA0A, works as follows. The barometer pressure and the Digiquartz pressure(s) are averaged over the last 30 s of each internal pressure calibration cycle. Using the final 30 s ensures that the transient portion observed after the valve switches is not included in the drift calculation. The averaged Digiquartz pressures are subtracted from the averaged barometer pressure, and these values are linearly interpolated onto the original timestamps to form the pressure correction. The drift-corrected pressure is the sum of the measured Digiquartz pressure plus the drift correction.

Inputs:

Required:

  • RSK – Structure containing the RBRQuartz3 BPR|zero calibrated Digiquartz and barometer pressure values

Optional:

  • schedules – schedule(s) to derive for. Default is ‘all’. Can be ‘all’, ‘default’, a schedule label string, or a cell array of label strings. Here ‘default’ is the reserved generic default selector, not a literal label: it resolves to the schedule with the most non-NaN Conductivity samples, then Temperature, then schedule 1.

Outputs:

  • RSK – Structure with two channels added per Digiquartz gauge: a corrected-pressure channel (‘BPR corrected pressure’, shortName ‘dbpr00’) holding the drift-corrected Digiquartz pressure(s), and a pressure-drift channel (‘Pressure drift’, shortName ‘drft00’) holding the applied drift correction.

See also:

RSKderiveBPR()

Example:

rsk = RSKopen('BPR_AOA_file.rsk');
rsk = RSKreaddata(rsk);
rsk = RSKderiveBPR(rsk);
rsk = RSKderiveA0A(rsk);