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:
This is done by specifying the position of each vertex along each cell boundary (xbounds,ybounds). CDO requires that cell-boundary vertices be given counterclockwise around the grid point. CDO identifies "x" with longitude and "y" with latitude (although there are options to rotate the pole).
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
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.
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 import_cmsaf ifile.h5 ofile.nc. Operators can be combined to a command sequence. A typical case for CM SAF data could look like this: (importing CM SAF data, bilinear remapping to a predefined global grid with 1° resolution and conversion to netcdf).
PINGO is using a very simple grid description in ASCII format. You can use it to describe regular longitude/latitude or global gaussian grids. All PINGO grid description files are supported. For more information about this format see [PINGO].