How can I format the output of outputtab
Added by Lina Neunhäuserer almost 2 years ago
Hi all,
I use cdo (version 1.9.6) to extract certain values for a certain area from a GRIB2-file and to write the extracted values to an ascii output file:
cdo outputtab,lon:12,lat:12,value:6 infile > outfile.txt
The output looks like this:
- lon lat value
4.5625 47.0312 6
4.6875 47.0312 6
4.8125 47.0312 5
4.9375 47.0312 5
5.0625 47.0312 5
...
However, I would like to increase the number of decimal places for lon and lat. The default number ob decimal places is not sufficient for the grid spacing given. Is there any way to increase the number in the output table?
Thanks in advance, Lina
Replies (3)
RE: How can I format the output of outputtab - Added by Karin Meier-Fleischer almost 2 years ago
Hi Lina,
when I remember it right only the values can be formatted yet, not lon/lat.
RE: How can I format the output of outputtab - Added by Lina Neunhäuserer almost 2 years ago
Hi Karin,
thanks for your reply. Would there be another way to receive the desired output?
Best regards, Lina
RE: How can I format the output of outputtab - Added by Karin Meier-Fleischer almost 2 years ago
Not with cdo. Sorry.