|
|
@ -79,7 +79,7 @@ template<class D> MString ActionTSC::DoAction(const CLArgs& args, D& ds) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(!data[i].Unit().Exist()) michlib::errmessage("Unknown measurement unit for variable " + vnames[i] + "!"); |
|
|
|
if(!data[i].Unit().Exist()) michlib::errmessage("Unknown measurement unit for variable " + vnames[i] + "!"); |
|
|
|
if(!data[i].StandartName().Exist()) data[i].SetStandartName(NCFuncs::Name2StName(vnames[i])); |
|
|
|
if(!data[i].StandartName().Exist()) data[i].SetStandartName(NCFuncs::Name2StName(vnames[i])); |
|
|
|
if(!data[i].LongName().Exist()) data[i].SetStandartName(NCFuncs::Name2LongName(vnames[i])); |
|
|
|
if(!data[i].LongName().Exist()) data[i].SetLongName(NCFuncs::Name2LongName(vnames[i])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
MString name = args.contains("out") ? args.at("out") : "out.bin"; |
|
|
|
MString name = args.contains("out") ? args.at("out") : "out.bin"; |
|
|
|