Skip to content

Commit

Permalink
Add BSI [UG/L] for biogenic silica (opal) expressed in mass per volume
Browse files Browse the repository at this point in the history
Closes #29
  • Loading branch information
DocOtak committed May 28, 2024
1 parent ae26ad8 commit 86044f7
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ v2024.0?.? (2024-??-??)
=======================
Parameter Changes
-----------------
* Add BSI [UG/L] for biogenic silica (opal) expressed in mass per volume
* 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
Expand Down
29 changes: 29 additions & 0 deletions cchdo/params/_whp_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -9545,6 +9545,35 @@
emission_wavelength=None,
nc_group=None,
),
WHPNameDC(
whp_name='BSI',
dtype='decimal',
in_erddap=False,
whp_unit='UG/L',
nc_name='biogenic_silica_ug',
flag_w='woce_discrete',
cf_name=None,
numeric_min=None,
numeric_max=None,
numeric_precision=2,
field_width=9,
description='Biogenic Silica, also called opal. Chemically is hydrated silica, SiO2 nH2O. Biogenic silica is in particulate form.',
note=None,
warning=None,
error_name=None,
cf_unit='ug/l',
reference_scale=None,
whp_number=None,
scope='sample',
analytical_temperature_name=None,
analytical_temperature_units=None,
rank=163.0,
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.
2 changes: 2 additions & 0 deletions cchdo/params/params.sqlite3.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5783,6 +5783,7 @@ INSERT INTO "ex_params" VALUES('Nd_143_144_D_RATIO_BOTTLE',NULL,'Atom ratio of d
INSERT INTO "ex_params" VALUES('Nd_D_CONC',NULL,'Concentration of dissolved "bulk" Neodymium in sea water','For maximum data reusability, we decided to use GEOTRACES naming conventions',NULL,'sample','decimal','woce_discrete',0,901.1,0);
INSERT INTO "ex_params" VALUES('EWCT',NULL,'Eastward current velocity from a rosette mounted current meter. A positive value indicates zonal flow in the eastward direction, negative values are in the westward direction.',NULL,NULL,'sample','decimal','woce_ctd',0,162.0,0);
INSERT INTO "ex_params" VALUES('NSCT',NULL,'Northward current velocity from a rosette mounted current meter. A positive value indicates meridional flow in the northward direction, negative values are in the southward direction.',NULL,NULL,'sample','decimal','woce_ctd',0,162.1,0);
INSERT INTO "ex_params" VALUES('BSI',NULL,'Biogenic Silica, also called opal. Chemically is hydrated silica, SiO2 nH2O. Biogenic silica is in particulate form.',NULL,NULL,'sample','decimal','woce_discrete',0,163.0,0);
CREATE TABLE ex_units (
id INTEGER NOT NULL,
whp_unit VARCHAR,
Expand Down Expand Up @@ -6392,4 +6393,5 @@ INSERT INTO "whp_names" VALUES('EWCT','M/S','eastward_sea_water_velocity','ewct'
INSERT INTO "whp_names" VALUES('NSCT','M/S','northward_sea_water_velocity','nsct',NULL,NULL,NULL,NULL,NULL,9,3,NULL,NULL,NULL,NULL,NULL);
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);
COMMIT;

0 comments on commit 86044f7

Please sign in to comment.