setattribute
Added by Jay Su over 5 years ago
CDO v1.9.6
cdo setattribute,my_att="my contents" -s -L -f nc4 -sellonlatbox,10.0,80.0,10.0,80.0 infile outfile
=> Operator >s< not found!
cdo -s -L -f nc4 -sellonlatbox,10.0,80.0,10.0,80.0 setattribute,my_att="my contents" infile outfile
=> cdo (Abort): Unprocessed Input, could not process all Operators/Files
Where should I put setattribute in chaining operators?
Replies (1)
RE: setattribute - Added by Karin Meier-Fleischer over 5 years ago
Hi Jay,
the options have to be used at the beginning of the command line and if you are using multiple operators for chaining you have to use them with '-'.
cdo -s -L -f nc4 -sellonlatbox,10.0,80.0,10.0,80.0 -setattribute,my_att="my contents" infile outfile
-Karin