Skip to content

Commit

Permalink
Add VOLTS as a unit for CTDORP for raw sensor output
Browse files Browse the repository at this point in the history
  • Loading branch information
DocOtak committed Sep 5, 2024
1 parent 86044f7 commit deaf535
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Parameter Changes
* Add UMOL/KG as a unit for POC
* Add UMOL/KG as a unit for PON
* Update CF standard name table from 82 to 85 to support new CCHDO params/units above
* Add VOLTS as a unit for CTDORP for raw sensor output

v2024.04.0 (2024-04-16)
=======================
Expand Down
31 changes: 30 additions & 1 deletion cchdo/params/_whp_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -8979,7 +8979,7 @@
field_width=9,
description='Oxidation-reduction (or redox) potential sensor. Measures the tendency of various chemical species to gain or lose electrons. In the ocean, it is useful for detecting hydrothermal plumes. Usually the absolute value of ORP measured by one of these is not useful but the change in potential over the profile is.',
note=None,
warning='The actual scientific units for this parameter is a voltage, usually reported in millivolts.',
warning='The actual scientific units for this parameter is a voltage, usually reported in millivolts. We use VOLTS for the raw sensor output, typically 0V to 5V, and millivolts for scientific units which can be negative.',
error_name=None,
cf_unit='millivolts',
reference_scale=None,
Expand Down Expand Up @@ -9574,6 +9574,35 @@
emission_wavelength=None,
nc_group=None,
),
WHPNameDC(
whp_name='CTDORP',
dtype='decimal',
in_erddap=False,
whp_unit='VOLTS',
nc_name='ctd_redox_potential_raw',
flag_w='woce_ctd',
cf_name=None,
numeric_min=None,
numeric_max=None,
numeric_precision=4,
field_width=9,
description='Oxidation-reduction (or redox) potential sensor. Measures the tendency of various chemical species to gain or lose electrons. In the ocean, it is useful for detecting hydrothermal plumes. Usually the absolute value of ORP measured by one of these is not useful but the change in potential over the profile is.',
note=None,
warning='The actual scientific units for this parameter is a voltage, usually reported in millivolts. We use VOLTS for the raw sensor output, typically 0V to 5V, and millivolts for scientific units which can be negative.',
error_name=None,
cf_unit='volts',
reference_scale=None,
whp_number=None,
scope='sample',
analytical_temperature_name=None,
analytical_temperature_units=None,
rank=27.6,
radiation_wavelength=None,
scattering_angle=None,
excitation_wavelength=None,
emission_wavelength=None,
nc_group=None,
),
]
for name in names:
whp_names[name.key] = name
Expand Down
Binary file modified cchdo/params/params.sqlite3
Binary file not shown.
3 changes: 2 additions & 1 deletion cchdo/params/params.sqlite3.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5756,7 +5756,7 @@ INSERT INTO "ex_params" VALUES('CDOM_UCSB',NULL,'Placholder for CDOM spectral ab
INSERT INTO "ex_params" VALUES('DNSSAL2',92,'Replicate measuremnet of DNSSAL, used in TEOS-10 verification work',NULL,NULL,'sample','decimal','woce_discrete',0,21.1,0);
INSERT INTO "ex_params" VALUES('SALNTY_DNSSAL',NULL,'A practical salinity measurement in the lab of the same water sample as DNSSAL, used in TEOS-10 verification work',NULL,NULL,'sample','decimal','woce_discrete',0,21.2,0);
INSERT INTO "ex_params" VALUES('SALNTY_DNSSAL2',NULL,'Replicate of SALNTY_DNSSAL',NULL,NULL,'sample','decimal','woce_discrete',0,21.3,0);
INSERT INTO "ex_params" VALUES('CTDORP',NULL,'Oxidation-reduction (or redox) potential sensor. Measures the tendency of various chemical species to gain or lose electrons. In the ocean, it is useful for detecting hydrothermal plumes. Usually the absolute value of ORP measured by one of these is not useful but the change in potential over the profile is.',NULL,'The actual scientific units for this parameter is a voltage, usually reported in millivolts.','sample','decimal','woce_ctd',0,27.6,0);
INSERT INTO "ex_params" VALUES('CTDORP',NULL,'Oxidation-reduction (or redox) potential sensor. Measures the tendency of various chemical species to gain or lose electrons. In the ocean, it is useful for detecting hydrothermal plumes. Usually the absolute value of ORP measured by one of these is not useful but the change in potential over the profile is.',NULL,'The actual scientific units for this parameter is a voltage, usually reported in millivolts. We use VOLTS for the raw sensor output, typically 0V to 5V, and millivolts for scientific units which can be negative.','sample','decimal','woce_ctd',0,27.6,0);
INSERT INTO "ex_params" VALUES('CTDBETA650_124',NULL,'Volume scattering function at 650nm with a centroid angle of 124 degrees.


Expand Down Expand Up @@ -6394,4 +6394,5 @@ INSERT INTO "whp_names" VALUES('NSCT','M/S','northward_sea_water_velocity','nsct
INSERT INTO "whp_names" VALUES('POC','UMOL/KG','moles_of_particulate_organic_matter_expressed_as_carbon_per_unit_mass_in_sea_water','particulate_organic_carbon_molal',NULL,NULL,NULL,NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL);
INSERT INTO "whp_names" VALUES('PON','UMOL/KG','moles_of_particulate_organic_matter_expressed_as_nitrogen_per_unit_mass_in_sea_water','particulate_organic_nitrogen_molal',NULL,NULL,NULL,NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL);
INSERT INTO "whp_names" VALUES('BSI','UG/L',NULL,'biogenic_silica_ug',NULL,NULL,NULL,NULL,NULL,9,2,NULL,NULL,NULL,NULL,NULL);
INSERT INTO "whp_names" VALUES('CTDORP','VOLTS',NULL,'ctd_redox_potential_raw',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
COMMIT;

0 comments on commit deaf535

Please sign in to comment.