[ncl-talk] Vertical wind shear calculation within 400 km radius of TC

Carl Schreck cjschrec at ncsu.edu
Fri Jul 20 07:35:28 MDT 2018


Here is code that I used for something similar. It calculates the radius
around a storm (starting at line 85). Of course, you first have to read the
storm location. IBTrACS <https://www.ncdc.noaa.gov/ibtracs/> has great
resources for that.
https://k3.cicsnc.org/carl/carl-ncl-tools/blob/master/filter/remove_tc_davis.ncl

On Fri, Jul 20, 2018 at 9:30 AM Md. Jalal Uddin <dmjalal90 at gmail.com> wrote:

> Hi,
>
> I already calculated and plotted vertical wind shear for 850-200 hPa
> level. Please find this script in the attachment. Now, I want to calculate
> the vertical wind shear within 400 km radius of a Tropical cyclone. Could
> anyone give me the formula or idea? Then, I can modify my code.
>
> Best regards,
> Jalal
>
> On Wed, Jul 18, 2018 at 11:11 PM Rick Brownrigg <brownrig at ucar.edu> wrote:
>
>> Hi,
>>
>> Unfortunately, the script you sent does not align with the line numbers
>> of the error messages -- line 47 is a blank line.  In any case, the error
>> message is pretty self-explanatory -- you are making reference to a 3D
>> variable as though it were a 2D variable. You might place a few strategic
>> "printVarSummary()" statements for the variables involved to make sure your
>> variables are what you think they are.
>>
>> Hope that helps...
>> Rick
>>
>> On Tue, Jul 17, 2018 at 5:14 PM, Md. Jalal Uddin <dmjalal90 at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I wanted to calculate mean vertical wind shear for each pressure level
>>> (950-100mb). I used u and v wind component from the NCEP Climate Forecast
>>> System Reanalysis (CFSR) 6-hourly Products.
>>>
>>> I am getting the following errors:
>>> fatal:Number of subscripts do not match number of dimensions of
>>> variable,(2) Subscripts used, (3) Subscripts expected
>>> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 41 in
>>> file test_vws_eachlevel.ncl
>>>
>>> Number of subscripts do not match number of dimensions of variable,(2)
>>> Subscripts used, (3) Subscripts expected
>>> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 47 in
>>> file test_vws_eachlevel.ncl
>>>
>>> Please help.
>>>
>>> Cheers,
>>> Jalal
>>> --
>>> *Md. Jalal Uddin*
>>> MSc in Applied Meteorology (English Language)
>>> Nanjing University of Information, Science and Technology, China
>>> Jasmine Jiangsu Government Scholar
>>> Cell: +8613260859092
>>> Office: WMO RMTC building in middle campus
>>>
>>> *AND *
>>> B.Sc. in Disaster Management (Hons.)
>>> Patuakhali Science and Technology University, Bangladesh.
>>> Cell: +8801792052662, +8801838613203
>>> Email: dmjalal90 at gmail.com
>>> Web: www.dmjalal90.weebly.com
>>> Facebook: jalal.hossen.39
>>> LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
>>> Twitter: dmjalal90
>>> Skype: dmjalal90
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
> --
> *Md. Jalal Uddin*
> MSc in Applied Meteorology (English Language)
> Nanjing University of Information, Science and Technology, China
> Jasmine Jiangsu Government Scholar
> Cell: +8613260859092
> Office: WMO RMTC building in middle campus
>
> *AND *
> B.Sc. in Disaster Management (Hons.)
> Patuakhali Science and Technology University, Bangladesh.
> Cell: +8801792052662, +8801838613203
> Email: dmjalal90 at gmail.com
> Web: www.dmjalal90.weebly.com
> Facebook: jalal.hossen.39
> LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
> Twitter: dmjalal90
> Skype: dmjalal90
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


-- 

<https://ncics.org/> *Carl J. Schreck III, PhD*
*Research Scholar*
North Carolina State University <http://ncsu.edu/>
North Carolina Institute for Climate Studies (NCICS) <https://ncics.org/>
151 Patton Ave, Asheville, NC 28801
e: cjschrec at ncsu.edu
o: +1 828 257 3140 <javascript:void(0);>
c: +1 828 484 1702 <javascript:void(0);>
Publications
<http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
ncics.org/mjo
CycloneCenter.org <https://www.cyclonecenter.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180720/2d77bfcb/attachment.html>


More information about the ncl-talk mailing list