Skip to content

Commit ddb43d2

Browse files
committed
Add CTDPH for in situ ph reported on an unknown scale, though it is probably NBS
The following is from an email/phone conversation with Ryan Woosley about this topic: 1. In situ pH sensors are almost always reported on the NBS scale. > Most likely, if they didn’t know enough to specify the scale they didn’t know enough to calibrate or convert it to total scale. 2. It’s possible, though rare to calibrate an in situ pH sensor to the seawater scale using a tris buffer > Yes, it can be done, but TRIS buffers are hard to make and not easy to obtain so most don’t try. 3. You cannot calibrate an in situ pH electrode to report on the Total Scale, however you can correct the data using discrete bottle samples analyzed with the traditional m-cresol purple techniques. > It’s possible to do it, but most likely it would be done in post processing, either with a TRIS buffers or spec pH measurements. Some follow ups in addition to just confirming above (in the same oder): 1. It is reasonable to assume that an unknown CTD pH sensor data is on the NBS scale when we lack any other information than “it’s pH” or should we keep this separately in a "pH reported on an unknown scale”. Right now, we (CCHDO) are preparing to publish/format some CTD data that is on an unknown reporting scale and are preparing to have it as an “unknown scale” parameter. > It’s reasonable to assume it’s NBS because anyone using the total scale would know to say that. If you have crossover data it would be really easy to determine because NBS is ~0.13 units higher than total scale. 2. I think it was stated that using TRIS would result in a one point calibration, I have some vague memories of using artificial seawater AMP buffers as an undergrad. Is there some reason this didn’t come up in our conversations yesterday (i.e. cannot use AMP for in situ pH electrodes)? > Yes you could do a 2 point calibration with TRIS and AMP. It’s hard enough to make TRIS no one takes the effort to make AMP as well. Closes #57
1 parent 85111b4 commit ddb43d2

4 files changed

Lines changed: 32 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Parameter Changes
77
* Add CTDCDOM [RU] for uv fluorometer data that has been calibrated/corrected to discrete samples normalized to the pure water Raman peak
88
* Add FDOM [RU] for discrete samples normalized to the pure water Raman peak.
99
* Removed the CTDCDOM [RU] to CTDCDOM [RFU] alias mapping
10+
* Add CTDPH for in situ ph reported on an unknown scale, though it is probably NBS
1011

1112
API Changes
1213
-----------

src/cchdo/params/_whp_names.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10154,6 +10154,35 @@
1015410154
emission_wavelength=None,
1015510155
nc_group=None,
1015610156
),
10157+
WHPNameDC(
10158+
whp_name='CTDPH',
10159+
dtype='decimal',
10160+
in_erddap=False,
10161+
whp_unit=None,
10162+
nc_name='ctd_ph_unknown_scale',
10163+
flag_w='woce_ctd',
10164+
cf_name=None,
10165+
numeric_min=None,
10166+
numeric_max=None,
10167+
numeric_precision=4,
10168+
field_width=9,
10169+
description='The measure of acidity of seawater reported on an unknown scale using an in situ electrode. SDN:P01::PHXXPR01',
10170+
note=None,
10171+
warning='The reporting scale is not known. Use caution when comparing this pH to any other pH, though it is probably reported on the NBS scale',
10172+
error_name=None,
10173+
cf_unit=None,
10174+
reference_scale=None,
10175+
whp_number=None,
10176+
scope='sample',
10177+
analytical_temperature_name=None,
10178+
analytical_temperature_units=None,
10179+
rank=40.9,
10180+
radiation_wavelength=None,
10181+
scattering_angle=None,
10182+
excitation_wavelength=None,
10183+
emission_wavelength=None,
10184+
nc_group=None,
10185+
),
1015710186
]
1015810187
for name in names:
1015910188
whp_names[name.key] = name

src/cchdo/params/params.sqlite3

0 Bytes
Binary file not shown.

src/cchdo/params/params.sqlite3.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6015,6 +6015,7 @@ INSERT INTO "ex_params" VALUES('Al_TP_CONC_BOTTLE',NULL,'Particulate Aluminum in
60156015
INSERT INTO "ex_params" VALUES('Ba_TP_CONC_BOTTLE',NULL,'Particulate Barium in a discrete bottle sample','For maximum data reusability, we decided to use GEOTRACES naming conventions',NULL,'sample','decimal','woce_discrete',0,917.0,0);
60166016
INSERT INTO "ex_params" VALUES('Ca_TP_CONC_BOTTLE',NULL,'Particulate Calcium in a discrete bottle sample','For maximum data reusability, we decided to use GEOTRACES naming conventions',NULL,'sample','decimal','woce_discrete',0,917.0,0);
60176017
INSERT INTO "ex_params" VALUES('LAB_DEN_TMP',NULL,'The temperature at which the density of a water sample was physically measured',NULL,NULL,'sample','decimal','woce_discrete',1,146.1,0);
6018+
INSERT INTO "ex_params" VALUES('CTDPH',NULL,'The measure of acidity of seawater reported on an unknown scale using an in situ electrode. SDN:P01::PHXXPR01',NULL,'The reporting scale is not known. Use caution when comparing this pH to any other pH, though it is probably reported on the NBS scale','sample','decimal','woce_ctd',0,40.9,0);
60186019
CREATE TABLE ex_units (
60196020
id INTEGER NOT NULL,
60206021
whp_unit VARCHAR,
@@ -6648,4 +6649,5 @@ INSERT INTO "whp_names" VALUES('Ca_TP_CONC_BOTTLE','PMOL/KG',NULL,'ca_tp_conc_bo
66486649
INSERT INTO "whp_names" VALUES('LAB_DEN_TMP','DEG C','temperature_of_analysis_of_sea_water','density_temperature',NULL,NULL,NULL,NULL,NULL,9,3,NULL,NULL,NULL,NULL,NULL);
66496650
INSERT INTO "whp_names" VALUES('CTDCDOM','RU','concentration_of_colored_dissolved_organic_matter_in_sea_water','ctd_cdom_ru',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
66506651
INSERT INTO "whp_names" VALUES('FDOM','RU','concentration_of_colored_dissolved_organic_matter_in_sea_water','fdom_ru',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
6652+
INSERT INTO "whp_names" VALUES('CTDPH',NULL,NULL,'ctd_ph_unknown_scale',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
66516653
COMMIT;

0 commit comments

Comments
 (0)