Project

General

Profile

Producing spatial subdomains with the mean

Added by Alejandro Uribe over 4 years ago

Hi all,

I have vertical velocity at 500 hPa (w) at a certain resolution (i. e. 1°X1° lat-lon). As part of my analysis, I have to do this.

First, divide the domain into 10°X10° subdomains and compute the mean of vertical velocity over each subdomain (<w>). Then, I need to calculate the difference between the vertical velocity at 1°X1° for each grid point and its corresponding <w>; like this: w' = w - <w>

I thought on remapping my 1°X1° to 10°X10°, and then perform the difference between the original grid and the remapped.

Is there any interpolation method that produces the mean for each subdomain?

Thanks


Replies (2)

RE: Producing spatial subdomains with the mean - Added by Ralf Mueller over 4 years ago

hi!

you might check the operators: distgrid and collgrid. a simple example is shown on page 11 of https://code.mpimet.mpg.de/attachments/download/13557/CDO_Seminar_20161206.pdf

hth
ralf

RE: Producing spatial subdomains with the mean - Added by Alejandro Uribe over 4 years ago

Thanks Ralf

I got to do what I wanted using these two functions.

    (1-2/2)