Browse Source

Support for dissolved oxygen concentration

lintest
Michael Uleysky 5 months ago
parent
commit
85212ae018
  1. 3
      src/ncfuncs.cpp

3
src/ncfuncs.cpp

@ -202,6 +202,7 @@ MString NCFuncs::StName2Name(const MString& stname)
if(stname == "mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water") return "Cchl"; if(stname == "mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water") return "Cchl";
if(stname == "mole_concentration_of_phosphate_in_sea_water") return "PO4"; if(stname == "mole_concentration_of_phosphate_in_sea_water") return "PO4";
if(stname == "mole_concentration_of_silicate_in_sea_water") return "Si"; if(stname == "mole_concentration_of_silicate_in_sea_water") return "Si";
if(stname == "mole_concentration_of_dissolved_molecular_oxygen_in_sea_water") return "O2";
return ""; return "";
} }
@ -223,6 +224,7 @@ MString NCFuncs::Name2StName(const MString& name)
if(name == "Cchl") return "mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water"; if(name == "Cchl") return "mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water";
if(name == "PO4") return "mole_concentration_of_phosphate_in_sea_water"; if(name == "PO4") return "mole_concentration_of_phosphate_in_sea_water";
if(name == "Si") return "mole_concentration_of_silicate_in_sea_water"; if(name == "Si") return "mole_concentration_of_silicate_in_sea_water";
if(name == "O2") return "mole_concentration_of_dissolved_molecular_oxygen_in_sea_water";
return ""; return "";
} }
@ -246,6 +248,7 @@ MString NCFuncs::Name2LongName(const MString& name)
if(name == "Cchl") return "Concentration of chlorophyll carbon"; if(name == "Cchl") return "Concentration of chlorophyll carbon";
if(name == "PO4") return "Concentration of phosphates"; if(name == "PO4") return "Concentration of phosphates";
if(name == "Si") return "Concentration of silicates"; if(name == "Si") return "Concentration of silicates";
if(name == "O2") return "Concentration of dissolved oxygen";
if(name == "U") return "Module of horizontal velocity"; if(name == "U") return "Module of horizontal velocity";
if(name == "U2") return "Squared horizontal velocity"; if(name == "U2") return "Squared horizontal velocity";
return ""; return "";

Loading…
Cancel
Save