[Thread Prev][Thread Next][Index]

Re: [ferret_users] select arbitary vertical levels

Hi Jagadish,

You could regrid the second variable to the grid of the first variable.  If the only difference in the grids are the additional vertical levels, the regridded variable should be unchanged at the duplicate locations.  Then you will have two variables on the same grid.
So something like:
use dataset1
use dataset2
let regridsecondvar = secondvar[g=firstvar[d=1]]
... (work with regridsecondvar and firstvar) ...

-- Karl

On Tue, Sep 11, 2012 at 5:32 AM, jagadish karmacharya <j_karmacharya@xxxxxxxxx> wrote:

I have two dataset, say
1st with 6 vertical levels:  (100, 200,        500, 700, 850,        1000) &
2nd with 8 vertical levels: (100, 200, 300, 500, 700, 850, 925, 1000).

I want to vertically integrate both datesets (sepeately) and compare; but I want to integrate only over common levels. Is there a simple way to select user defined levels?

I can extract desired levels from 2nd file to a seperate file as a work around but wonder if there is a way to deal with this in ferret itself.



Karl M. Smith, Ph.D.
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement