[Thread Prev][Thread Next][Index]

Re: How to integrate between interfaces?



Hi, Steve

Sorry but in fact the interface field is not for whole
grid cells in vertical. I had writen a Fortran program to
solve it. But it is really troublesome since there are lots 
of cases to deal with for the different situation between interfaces
and actual grid. I wonder whether there is some better way in
ferret. Does the regrid works in this case?

-Kun

On Wed, 20
Dec
2000, Steve Hankin wrote:

> Hi Kang,
> 
> Check out the Ferret FAQs: "Averaging/Integrating over Irregular Regions"
> (http://ferret.wrc.noaa.gov/Ferret/FAQ/analysis/avg_integ_irreg.html)
> 
> This technique will be accurate only to whole (vertical) grid cells. A
> quick way to get greater vertical accuracy is to regrid in Z
>     e.g. yes? LET hi_res = my_var[Z=<lo>:<hi>:<fine>]
> and then do the calculation on hi_res.
>     - steve
> 
> ======================
> 
> Yang Kun wrote:
> 
> > Dear Ferreters,
> >
> > I have a 3-d variable u(x,y,z), which has 11 layers with fixed
> > depth. And I have another two 2-d fields with the same
> > x-y axis containing the depth of two interface, say,
> > z1(x,y),z2(x,y). Is there anyway I can integrate u between
> > interface z1 & z2?
> >
> > Thanks.
> >
> > -Kun
> >
> > =====================================================
> > Kun Yang,   Researching Assistant
> > Dept. of Oceanography, Texas A&M Uni. College Station
> > Mailing Addr:  309, Ball Street, Apt. 1025, College Station, TX, 77840
> > Tel:  (979)-862-9113 (h), (979)-845-3238 (o)
> > Email addr:    yangk@ocean.tamu.edu; yangk@netease.com
> > =====================================================
> 
> --
> Steve Hankin
> NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
> ph. (206) 526-6080 -- FAX (206) 526-6744
> 
> 
> 

=====================================================
Kun Yang,   Researching Assistant
Dept. of Oceanography, Texas A&M Uni. College Station
Mailing Addr:  309, Ball Street, Apt. 1025, College Station, TX, 77840
Tel:  (979)-862-9113 (h), (979)-845-3238 (o)
Email addr:    yangk@ocean.tamu.edu; yangk@netease.com
=====================================================



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement