Browse Source

Fixed incorrect error message

master
Michael Uleysky 9 months ago
parent
commit
81d8545244
  1. 2
      src/ncfilew.cpp

2
src/ncfilew.cpp

@ -19,7 +19,7 @@ MString NCFileW::CreateFile(NCFileW::Type stype, const MString& name, const MStr
if(ret != NC_NOERR) return "Can't write history attribute in the netcdf file";
ret = nc_put_att(ncid, NC_GLOBAL, "node_offset", NC_FLOAT, 1, &node_offset);
if(ret != NC_NOERR) return "Can't write history attribute in the netcdf file";
if(ret != NC_NOERR) return "Can't write node_offset attribute in the netcdf file";
switch(stype)
{

Loading…
Cancel
Save