Skip to content

Commit f51d066

Browse files
committed
* Add some particulate trace metal parameters following geotraces conventions, the default database precisions were based on incoming data:
* Sr_TP_CONC_BOTTLE [PMOL/KG] * Al_TP_CONC_BOTTLE [NMOL/KG] * Ba_TP_CONC_BOTTLE [PMOL/KG] * Ca_TP_CONC_BOTTLE [PMOL/KG] closes #42
1 parent 2d872e1 commit f51d066

4 files changed

Lines changed: 130 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Parameter Changes
88
* Add moles_of_ammonium_per_unit_mass_in_sea_water as the CF standard name for NH4 [UMOL/KG]
99
* Add mole_concentration_of_cfc11_in_sea_water as the CF standard name for CFC-11 [PMOL/L]
1010
* Add mole_concentration_of_cfc12_in_sea_water as the CF standard name for CFC-12 [PMOL/L]
11+
* Add some particulate trace metal parameters following geotraces conventions, the default database precisions were based on incoming data:
12+
13+
* Sr_TP_CONC_BOTTLE [PMOL/KG]
14+
* Al_TP_CONC_BOTTLE [NMOL/KG]
15+
* Ba_TP_CONC_BOTTLE [PMOL/KG]
16+
* Ca_TP_CONC_BOTTLE [PMOL/KG]
1117

1218
API Changes
1319
-----------

src/cchdo/params/_whp_names.py

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9951,6 +9951,122 @@
99519951
emission_wavelength=None,
99529952
nc_group=None,
99539953
),
9954+
WHPNameDC(
9955+
whp_name='Sr_TP_CONC_BOTTLE',
9956+
dtype='decimal',
9957+
in_erddap=False,
9958+
whp_unit='PMOL/KG',
9959+
nc_name='sr_tp_conc_bottle',
9960+
flag_w='woce_discrete',
9961+
cf_name=None,
9962+
numeric_min=None,
9963+
numeric_max=None,
9964+
numeric_precision=0,
9965+
field_width=9,
9966+
description='Particulate Strontium in a discrete bottle sample',
9967+
note='For maximum data reusability, we decided to use GEOTRACES naming conventions',
9968+
warning=None,
9969+
error_name=None,
9970+
cf_unit='pmol/kg',
9971+
reference_scale=None,
9972+
whp_number=None,
9973+
scope='sample',
9974+
analytical_temperature_name=None,
9975+
analytical_temperature_units=None,
9976+
rank=915.0,
9977+
radiation_wavelength=None,
9978+
scattering_angle=None,
9979+
excitation_wavelength=None,
9980+
emission_wavelength=None,
9981+
nc_group=None,
9982+
),
9983+
WHPNameDC(
9984+
whp_name='Al_TP_CONC_BOTTLE',
9985+
dtype='decimal',
9986+
in_erddap=False,
9987+
whp_unit='NMOL/KG',
9988+
nc_name='al_tp_conc_bottle',
9989+
flag_w='woce_discrete',
9990+
cf_name=None,
9991+
numeric_min=None,
9992+
numeric_max=None,
9993+
numeric_precision=0,
9994+
field_width=9,
9995+
description='Particulate Aluminum in a discrete bottle sample',
9996+
note='For maximum data reusability, we decided to use GEOTRACES naming conventions',
9997+
warning=None,
9998+
error_name=None,
9999+
cf_unit='nmol/kg',
10000+
reference_scale=None,
10001+
whp_number=None,
10002+
scope='sample',
10003+
analytical_temperature_name=None,
10004+
analytical_temperature_units=None,
10005+
rank=916.0,
10006+
radiation_wavelength=None,
10007+
scattering_angle=None,
10008+
excitation_wavelength=None,
10009+
emission_wavelength=None,
10010+
nc_group=None,
10011+
),
10012+
WHPNameDC(
10013+
whp_name='Ba_TP_CONC_BOTTLE',
10014+
dtype='decimal',
10015+
in_erddap=False,
10016+
whp_unit='PMOL/KG',
10017+
nc_name='ba_tp_conc_bottle',
10018+
flag_w='woce_discrete',
10019+
cf_name=None,
10020+
numeric_min=None,
10021+
numeric_max=None,
10022+
numeric_precision=0,
10023+
field_width=9,
10024+
description='Particulate Barium in a discrete bottle sample',
10025+
note='For maximum data reusability, we decided to use GEOTRACES naming conventions',
10026+
warning=None,
10027+
error_name=None,
10028+
cf_unit='pmol/kg',
10029+
reference_scale=None,
10030+
whp_number=None,
10031+
scope='sample',
10032+
analytical_temperature_name=None,
10033+
analytical_temperature_units=None,
10034+
rank=917.0,
10035+
radiation_wavelength=None,
10036+
scattering_angle=None,
10037+
excitation_wavelength=None,
10038+
emission_wavelength=None,
10039+
nc_group=None,
10040+
),
10041+
WHPNameDC(
10042+
whp_name='Ca_TP_CONC_BOTTLE',
10043+
dtype='decimal',
10044+
in_erddap=False,
10045+
whp_unit='PMOL/KG',
10046+
nc_name='ca_tp_conc_bottle',
10047+
flag_w='woce_discrete',
10048+
cf_name=None,
10049+
numeric_min=None,
10050+
numeric_max=None,
10051+
numeric_precision=3,
10052+
field_width=9,
10053+
description='Particulate Calcium in a discrete bottle sample',
10054+
note='For maximum data reusability, we decided to use GEOTRACES naming conventions',
10055+
warning=None,
10056+
error_name=None,
10057+
cf_unit='pmol/kg',
10058+
reference_scale=None,
10059+
whp_number=None,
10060+
scope='sample',
10061+
analytical_temperature_name=None,
10062+
analytical_temperature_units=None,
10063+
rank=917.0,
10064+
radiation_wavelength=None,
10065+
scattering_angle=None,
10066+
excitation_wavelength=None,
10067+
emission_wavelength=None,
10068+
nc_group=None,
10069+
),
995410070
]
995510071
for name in names:
995610072
whp_names[name.key] = name

src/cchdo/params/params.sqlite3

0 Bytes
Binary file not shown.

src/cchdo/params/params.sqlite3.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5801,6 +5801,10 @@ INSERT INTO "ex_params" VALUES('Pb_D_CONC_BOTTLE',NULL,'Dissolved Lead in a disc
58015801
INSERT INTO "ex_params" VALUES('CDOM-S275-295',NULL,'Spectral slope computed by linear regression of log-transformed attenuation coefficients in the interval 275 to 295 nm. By convention, this slope is reported as positive because the data are being fit to an exponential decay function (equation 1 in Helms et al. 2008).
58025802

58035803
Helms, J. R., Stubbins, A., Ritchie, J. D., Minor, E. C., Kieber, D. J., & Mopper, K. (2008). Absorption spectral slopes and slope ratios as indicators of molecular weight, source, and photobleaching of chromophoric dissolved organic matter. Limnology and Oceanography, 53(3), 955–969. https://doi.org/10.4319/lo.2008.53.3.0955',NULL,NULL,'sample','decimal','woce_discrete',0,69.985,0);
5804+
INSERT INTO "ex_params" VALUES('Sr_TP_CONC_BOTTLE',NULL,'Particulate Strontium in a discrete bottle sample','For maximum data reusability, we decided to use GEOTRACES naming conventions',NULL,'sample','decimal','woce_discrete',0,915.0,0);
5805+
INSERT INTO "ex_params" VALUES('Al_TP_CONC_BOTTLE',NULL,'Particulate Aluminum in a discrete bottle sample','For maximum data reusability, we decided to use GEOTRACES naming conventions',NULL,'sample','decimal','woce_discrete',0,916.0,0);
5806+
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);
5807+
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);
58045808
CREATE TABLE ex_units (
58055809
id INTEGER NOT NULL,
58065810
whp_unit VARCHAR,
@@ -6427,4 +6431,8 @@ INSERT INTO "whp_names" VALUES('Cd_D_CONC_BOTTLE','NMOL/L',NULL,'cd_d_conc_bottl
64276431
INSERT INTO "whp_names" VALUES('Pb_D_CONC_BOTTLE','PMOL/L',NULL,'pb_d_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL);
64286432
INSERT INTO "whp_names" VALUES('UREA','UMOL/L',NULL,'urea_l',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
64296433
INSERT INTO "whp_names" VALUES('CDOM-S275-295','1/NM',NULL,'cdom_s275_295',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
6434+
INSERT INTO "whp_names" VALUES('Sr_TP_CONC_BOTTLE','PMOL/KG',NULL,'sr_tp_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,0,NULL,NULL,NULL,NULL,NULL);
6435+
INSERT INTO "whp_names" VALUES('Al_TP_CONC_BOTTLE','NMOL/KG',NULL,'al_tp_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,0,NULL,NULL,NULL,NULL,NULL);
6436+
INSERT INTO "whp_names" VALUES('Ba_TP_CONC_BOTTLE','PMOL/KG',NULL,'ba_tp_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,0,NULL,NULL,NULL,NULL,NULL);
6437+
INSERT INTO "whp_names" VALUES('Ca_TP_CONC_BOTTLE','PMOL/KG',NULL,'ca_tp_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,3,NULL,NULL,NULL,NULL,NULL);
64306438
COMMIT;

0 commit comments

Comments
 (0)