Browse Source

Replace unsupported by udunits "psu" unit on "1e-3"

master
Michael Uleysky 2 weeks ago
parent
commit
0b3d5c671c
  1. 1
      src/CF.cpp

1
src/CF.cpp

@ -442,6 +442,7 @@ Error CF::FillAdapterFromCF(const CLArgs& args, michlib_internal::ParameterListE
},
pnc->VarFill(v));
if(vinfo->unit == "psu") vinfo->unit = "1e-3"; // Deal with salinity psu
vinfo->targetunit = vinfo->unit;
if(vinfo->stname.SubStr(vinfo->stname.Len() - 7, 8) == "velocity") vinfo->targetunit = "cm/s";

Loading…
Cancel
Save