Project

General

Profile

Regridding using a sum method (for area variables)

Added by Henrique Goulart almost 3 years ago

Hi all,

I have a doubt regarding regridding:Usually, when I have a dataset with Temperature or Precipitation, I use remapycon or remapbil, which interpolates the temperature value along the old axis to the new one.
However, in my current situation, I would want to regrid a dataset with Harvest Area as variable. In this case, I believe it would make sense to use instead an additive operation (Ex: If two adjacent cells have respectively 100 and 200 hectares, the result would be 300 instead of 150). However, I have not found anything like this in this forum and I do not even know if this is possible or not to do. If anyone could help me with this, I'd be very thankful.

Thank you for your time.

Henrique


Replies (2)

RE: Regridding using a sum method (for area variables) - Added by Uwe Schulzweida almost 3 years ago

Hi Henrique,

In CDO, the operator remapsum has been available since version 1.9.10. This operator has the status experimental. There is no documentation yet and the name may change in future versions. Currently, only regular lonlat grids are supported as targets. However, I think this operator already works very reliably and can therefore already be used. Besides sum there are also all the other CDO statistic functions like min, max, range, mean, median, std, var and so on.

cdo remapsum,<targetgrid>  infile outfile
You feedback is very welcome.

Cheers,
Uwe

RE: Regridding using a sum method (for area variables) - Added by Henrique Goulart almost 3 years ago

Hi Uwe,

thank you very much for the answer. I will try right away.

Cheers,

Henrique

    (1-2/2)