rigoudyg / climaf

CliMAF - a Climate Model Analysis Framework - doc at : http://climaf.readthedocs.org/
Other
16 stars 7 forks source link

regrid(field,field) != field #258

Open senesis opened 2 months ago

senesis commented 2 months ago

regrid(a,b) uses CDO operators griddes and e.g. remapbil for regridding field a on the grid of field b When a == b, one should expect that the output is equal to a. This is not the case, as shown below (first plot is for a, second plot is for minus(regrid(a,a),a)) CDO is probably faulty here, but scriptregrid.shshould alleviate for that, and check if both field have the same grid before actually calling the CDO interpolator

image

image