Skip to content

Commit 3aeada9

Browse files
committed
Add UMOL/L as an allowed unit for UREA
the default print precision of .4f is based on incoming .1f data in nmol units Closes #43
1 parent 9563ea0 commit 3aeada9

4 files changed

Lines changed: 31 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ v2025.09.0 (2025-09-??)
22
=======================
33
Parameter Changes
44
-----------------
5-
* None Yet?
5+
* Add UMOL/L as an allowed unit for UREA, the default print precision of .4f is based on incoming .1f data in nmol units
66

77
API Changes
88
-----------

src/cchdo/params/_whp_names.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9893,6 +9893,35 @@
98939893
emission_wavelength=None,
98949894
nc_group=None,
98959895
),
9896+
WHPNameDC(
9897+
whp_name='UREA',
9898+
dtype='decimal',
9899+
in_erddap=False,
9900+
whp_unit='UMOL/L',
9901+
nc_name='urea_l',
9902+
flag_w='woce_discrete',
9903+
cf_name=None,
9904+
numeric_min=None,
9905+
numeric_max=None,
9906+
numeric_precision=4,
9907+
field_width=9,
9908+
description='Urea has the chemical formula CO(NH\\ :sub:`2`)\\ :sub:`2`',
9909+
note=None,
9910+
warning=None,
9911+
error_name=None,
9912+
cf_unit='umol l-1',
9913+
reference_scale=None,
9914+
whp_number=None,
9915+
scope='sample',
9916+
analytical_temperature_name=None,
9917+
analytical_temperature_units=None,
9918+
rank=96.0,
9919+
radiation_wavelength=None,
9920+
scattering_angle=None,
9921+
excitation_wavelength=None,
9922+
emission_wavelength=None,
9923+
nc_group=None,
9924+
),
98969925
]
98979926
for name in names:
98989927
whp_names[name.key] = name

src/cchdo/params/params.sqlite3

0 Bytes
Binary file not shown.

src/cchdo/params/params.sqlite3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6422,4 +6422,5 @@ INSERT INTO "whp_names" VALUES('Co_D_CONC_BOTTLE','PMOL/L',NULL,'co_d_conc_bottl
64226422
INSERT INTO "whp_names" VALUES('Zn_D_CONC_BOTTLE','NMOL/L',NULL,'zn_d_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL);
64236423
INSERT INTO "whp_names" VALUES('Cd_D_CONC_BOTTLE','NMOL/L',NULL,'cd_d_conc_bottle',NULL,NULL,NULL,NULL,NULL,9,1,NULL,NULL,NULL,NULL,NULL);
64246424
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);
6425+
INSERT INTO "whp_names" VALUES('UREA','UMOL/L',NULL,'urea_l',NULL,NULL,NULL,NULL,NULL,9,4,NULL,NULL,NULL,NULL,NULL);
64256426
COMMIT;

0 commit comments

Comments
 (0)