[ncl-talk] absolute vorticity (avo) stencil

David Jones jonesd647 at yahoo.ca
Fri Jan 23 13:36:18 MST 2015


Hi All,
attached is an NCL script I made previously to calculate WRF Divergence. It's based on the WRF vorticity function's fortran script, that D and P refer to. 

Best,Dave.  
  ------------------------------

Message: 9
Date: Fri, 23 Jan 2015 10:15:24 -0700
From: Dennis Shea <shea at ucar.edu>
Subject: Re: [ncl-talk] absolute vorticity (avo) stencil
To: Packard Chan <packard.chan at gmail.com>
Cc: "ncl-talk at ucar.edu" <ncl-talk at ucar.edu>
Message-ID:
    <CAOF1d_6eSx48cbpxvSs40n1B6nqsC6c1E0M0nEmdSN32Gj8gTQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

The WRF vorticity fortran code could possible be modified to compute
divergence.

On Fri, Jan 23, 2015 at 9:49 AM, Packard Chan <packard.chan at gmail.com>
wrote:

> Hi Corey,
>
> If you are using WRF, you might also want to try the following.
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
> ...
>
> avo = wrf_user_getvar(filehandle, "avo", time)
>
> The subroutine "DCOMPUTEABSVORT" will be eventually called by this function.
> Attached is the source code that gives the implementation of the subroutine, which is available in the source code of NCL.
> ncl_ncarg-6.2.1/ni/src/lib/nfpfort/wrf_pvo.f
>
> Good luck.
>
> Packard
>
>
> Packard Chan
> Year 4 undergraduate
> Major in Atmospheric Sciences
> School of Physics, Peking University
> Mobile: (86)188-1050-8009
>
> On Fri, Jan 23, 2015 at 4:28 AM, Dennis Shea <shea at ucar.edu> wrote:
>
>> NCL does not have a function for this. (WRF => deivergence
>>
>> I have asked several people associated with WRF for some fortran or C
>> code we could implemet from within NCL. The answer is "none is available".
>>
>> See
>>
>> http://www.ncl.ucar.edu/Applications/ESMF.shtml
>> See Example 29
>>
>> Maybe this would work for you.
>>
>> D
>>
>> On Thu, Jan 22, 2015 at 7:37 AM, Corey Potvin - NOAA Affiliate <
>> corey.potvin at noaa.gov> wrote:
>>
>>> Hi Dennis,
>>>
>>> It's Arakawa-C, non-idealized WRF.
>>>
>>> Corey
>>>
>>> On Thu, Jan 22, 2015 at 8:18 AM, Dennis Shea <shea at ucar.edu> wrote:
>>>
>>>> Off line.
>>>>
>>>> What type of grid do you have?
>>>>
>>>> D
>>>>
>>>> On Thu, Jan 22, 2015 at 6:23 AM, Corey Potvin - NOAA Affiliate <
>>>> corey.potvin at noaa.gov> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Could someone please tell me what (u,v) stencil is used to compute
>>>>> absolute vorticity, or direct me to the relevant script?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Corey
>>>>>
>>>>> --
>>>>> ******************
>>>>> Corey Potvin, Ph.D.
>>>>> Research Scientist, Cooperative Institute for Mesoscale
>>>>> Meteorological Studies and
>>>>> NOAA/National Severe Storms Lab
>>>>> Adjunct Assistant Professor, University of Oklahoma
>>>>> National Weather Center
>>>>> Norman, Oklahoma
>>>>> Office: (405) 325-6674
>>>>> Cell: (405) 206-0485
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> ******************
>>> Corey Potvin, Ph.D.
>>> Research Scientist, Cooperative Institute for Mesoscale Meteorological
>>> Studies and
>>> NOAA/National Severe Storms Lab
>>> Adjunct Assistant Professor, University of Oklahoma
>>> National Weather Center
>>> Norman, Oklahoma
>>> Office: (405) 325-6674
>>> Cell: (405) 206-0485
>>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150123/da2fffa6/attachment-0001.html 
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150123/9b2f1220/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_div.ncl
Type: application/octet-stream
Size: 2913 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150123/9b2f1220/attachment.obj 


More information about the ncl-talk mailing list