Browse Source

Added long names for all variables supported by NCFuncs

lintest
Michael Uleysky 1 year ago
parent
commit
cfb40badbf
  1. 14
      src/ncfuncs.cpp

14
src/ncfuncs.cpp

@ -147,6 +147,20 @@ MString NCFuncs::Name2StName(const MString& name)
MString NCFuncs::Name2LongName(const MString& name)
{
if(name == "ptemp") return "Potential temperature";
if(name == "temp") return "Temperature";
if(name == "sal") return "Salinity";
if(name == "mld") return "Mixed layer depth";
if(name == "ssh") return "Sea surface height";
if(name == "u") return "X-velocity";
if(name == "v") return "Y-velocity";
if(name == "w") return "Z-velocity";
if(name == "chl") return "Concentration of chlorophyll";
if(name == "NO3") return "Concentration of nitrates";
if(name == "prprod") return "Primary production";
if(name == "Cchl") return "Concentration of chlorophyll carbon";
if(name == "PO4") return "Concentration of phosphates";
if(name == "Si") return "Concentration of silicates";
if(name == "U") return "Module of horizontal velocity";
if(name == "U2") return "Squared horizontal velocity";
return "";

Loading…
Cancel
Save