Added by Christoph Devenoges over 10 years ago
Hi,
i have an uncompressed grib2 file that compresses ok with:
cdo -f grb2 -z jpeg -copy in.grb2 out.grb2
but setting the missing value with:
cdo -setmissval,-999.9 in.grb2 out.grb2 cdo -f grb2 -z jpeg copy out.grb2 outCompressed.grb2
cdo -f grb2 -z jpeg setmissval,-999.9 in.grb2 out.grb2
gives an output file without jpeg compression.
Using cdo 1.6.3 on linux.
Any hints or tips appreciated.
thanks,
Chris
Hi Chris,
GRIB2 jpeg compression in combination with missing values is not supported in CDO.
The next CDO release with will support this feature.
Cheers,
Uwe