Project

General

Profile

CDO1.6.4 selindexbox over all indexes delete some data

Added by Jan Meitner about 9 years ago

Hi,

I try to use CDO on Win7 64-bit to crop grib files. It gives a strange output. When I run "cdo info 2015092800_WSEuro4_downward_surface_SW_flux_001054.grib" I see that the input file has 1276x877. When I take it over all indexes (it means to leave whole file) with "cdo selindexbox,1,1276,1,877 2015092800_WSEuro4_downward_surface_SW_flux_001054.grib out.grib". It runs but out.grib is ten times smaller than the input file and when I look into info, I see that means and maximums of values in hours are different than in input file. Can you help me when I do not want to use Linux version and version without Cygwin?
I obtain the same output with sellonlatbox.

Thanks a lot.
Jan


Replies (3)

RE: CDO1.6.4 selindexbox over all indexes delete some data - Added by Ralf Mueller about 9 years ago

Did you check the linux binary? I can reproduce this behaviour with the copy operator with both cdo-1.6.4-win32 and cdo-1.6.9. The compression is changed, thats why you have slightly different values.

RE: CDO1.6.4 selindexbox over all indexes delete some data - Added by Ralf Mueller about 9 years ago

You might use

 -b P10
in all CDO calls to keep the compression close to the input file.

    (1-3/3)