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
I'm using the latest version (v1.6.7) of CDO. If you are using an older version of CDO, I recommend updating CDO to the latest version. Neverthless, re-run your command with -v option (ie, cdo -v -remapnn,cclmgrid ...) and post its output here.
If yes, you can see the grid coordinates with the sinfo or griddes operators: cdo sinfo file.nc cdo griddes file.nc You can create mygrid file by the following way: cat > mygrid << EOF gridtype = xsize = ysize = xfirst = xinc = yfirst = yinc = EOF I hope I could help you.
Here is a simple example of a grid that has 6 cells, 3 across and 2 up: where: Several grid types are available. Curvilinear grids are 2-dimensional, but are not necessarily arranged along latitude and longitude lines.
Here we just give a few examples for the use with CM SAF data: The pure conversion of a CM SAF HDF5 file to netCDF can be done with the “import_cmsaf” operator. The output format is specified with the parameter “-f”: cdo -f nc import_cmsaf ifile.h5 ofile.nc. Operators can be combined to a command sequence.