Project

General

Profile

How to Calculate one value (mean) for each grid inside the domain box in NetCDF datafile.

Added by Khagendra Bharambe almost 4 years ago

Dear All,

I would like to calculate mean over each grid followed by timesteps inside my domain box in NetCDF file, What will be the right command to execute for it?

I tried in this way, but give me an error as shown in attached screenshot.

(cdo setrtoc,min_value,max_value,new_value input.nc output.nc)

Thank you very much. I am really looking forward to hearing from you.


Replies (1)

RE: How to Calculate one value (mean) for each grid inside the domain box in NetCDF datafile. - Added by Karin Meier-Fleischer almost 4 years ago

Hi Khagendra,

you should use float or integer values for min_value, max_value, and new_value, or shell variables but not strings.

-Karin

    (1-1/1)