Re: Re: funtion "uv2vrF_Wrap" question (jerry)

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 17 Nov 2005 20:56:40 -0700 (MST)

>> I have a global data "u" and "v" and without missing value, if i only want to calculate the regional Vorticity.
>>
>> should i use the funtion "uv2vrF_Wrap" or "uv2vr_cfd" ?
>>
> If the input arrays are not global or contain missing data, then it is recommended that "uv2vr_cfd" be used.
> While "uv2vrF_Wrap" can only work on a global grid input data.
>

Yes, true. My recommendation is as follows:

Since your u and v are global with no missing data,
I would use uv2vrF_Wrap and then extracty the region of interest.

       vort_globe = uv2vrF(u,v) ; (say) (time,lat,lon)

       latS = -10
       latN = 50
       lonL = 90
       lonR = 190

to extract a region use NCL's coordinate subscript

       vort_globe(:,{latS:latN},{lonL:lonR})

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 17 2005 - 20:56:40 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 18 2005 - 09:40:23 MST