Project

General

Profile

outputtab does not have enough precision

Added by joao ferreira about 1 month ago

Hi

I'm doing:

cdo outputtab,lon,lat,value ID_continente.nc

and I'm getting:

-8.23772 37.277 1.221691e+07
-8.18183 37.2113 1.221691e+07

The last column should have more precision, since in the ID_continente.nc I have a value of 12216906 and a value of 12216907

How can I correct this?

Regards


Replies (1)

RE: outputtab does not have enough precision - Added by Uwe Schulzweida about 1 month ago

You can change to number of significant digits with the CDO option --precision, the default is 7 for single precision float data. Here an example with precision=9:

cdo --precision 9 outputtab,lon,lat,value ID_continente.nc

    (1-1/1)