Search results
Post the output of the commands cdo sinfo and cdo griddes. I am currently trying to convert my grid type "Icc2" to "lonlat" so it can be recognized by CDO and to convert my file finally GRIB1. I am considering the data for mygrid are: cat > mygrid EOF gridtype = lonlat gridsize = 29651 xname = lon xlongname = longitude xunits = degrees_east
15 cze 2021 · You can solve this using the setgrid operator. First create a grid file. This is the same as the one you give, but with "generic" replaced by "lonlat": Then use CDO to set the grid: You should then be able to regrid the file. Hello, apologies I have one more question.
There are many different possibilities to specify the target grid for the remapping with CDO. Here is one example for a simple global regular 1 degree lonlat grid with an ASCII description file: cat > mygrid << EOF gridtype = lonlat xsize = 360 ysize = 180 xfirst = −179.5 xinc = 1 yfirst = -89.5 yinc = 1 EOF cdo remapbil,mygrid ifile ofile
The Climate Data Operators (CDO) software is produced by MPI-Meteorology and has its home page at https://code.zmaw.de/projects/cdo. There is a full manual in HTML or downloadable PDF. It is free and open-source (GPL).
I have problems adjusting the grid of a netCDF file generated with ArcGIS. The file is in T63: 192 x 96, xincr=1.875. The grid differs from the standard t63grid in respect to xfirst and the yvals. Therefore I generated "mygrid" and did "cdo setgrid,mygrid input.nc output.nc".
cdo -f nc remapbil,r720x360 -setgrid,cmsaf_latlon_file.h5 -import_cmsaf cmsaf_instantaneous_product.hdf output.nc. The “setgrid”-operator can also be used to overwrite the grid description, when it was not correctly detected for CM SAF final products or when the proj-library is not available.
Can use command line and CDO to aggregate or resample entire NC files. CDO homepage: https://code.mpimet.mpg.de/projects/cdo. This page is helpful for describing regridding: https://code.mpimet.mpg.de/projects/cdo/wiki/Tutorial#Interpolation.