diff --git a/src/ncfilew.cpp b/src/ncfilew.cpp index a5938e4..6e658f2 100644 --- a/src/ncfilew.cpp +++ b/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) {