Project

General

Profile

Average Interpolation, binning

Added by Serena ILLIG over 12 years ago

Dear all,

I would like to use CDO to perform spatial interpolation of an SST variable stored in NetCDF.
I created the grid file and I can do :
cdo -s -f nc -R remapbil,input_grid4cdo -selname,SST input.nc output.nc

But I would like to go from a regular fine grid 0.25°x0.25° to a regular corser 2°x2° grid.
I would like to do a simple averaging of all the points in the 2x2 grid cell.
Its not bilinear nor bicubic, only averaging, it is called binning, with all the points having the same weight.
Is there there a way to do that with CDO ?

Thanks a lot,

Séréna