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

Md. Jalal Uddin dmjalal90 at gmail.com
Wed Jul 25 13:03:55 MDT 2018


Thanks a lot. It works now.

On Tue, Jul 24, 2018 at 10:32 PM Dennis Shea <shea at ucar.edu> wrote:

> Tha attached uses different data. but is essentially the same thing.
>  No Warning messages.
>
>
>
> On Tue, Jul 24, 2018 at 11:40 AM, Md. Jalal Uddin <dmjalal90 at gmail.com>
> wrote:
>
>> I got the geolocation_circle in the map which is in the attacment.
>> However, I am getting following two warnings:
>> warning:TransformPostDraw: tfPolyDrawList element 1 is invalid
>> warning:TransformPostDraw: tfPolyDrawList element 2 is invalid
>>
>> I tried to solve these problems by reading ncl document, but I did not
>> understand.
>>
>>
>> http://www.ncl.ucar.edu/Document/Graphics/Resources/tf.shtml#tfPolyDrawList
>> http://www.ncl.ucar.edu/Document/HLUs/Classes/View.shtml#NhlTDrawOrder
>>
>> Could you, please, suggest me how I can solve?
>>
>> Best regards,
>> Jalal
>>
>> On Mon, Jul 23, 2018 at 11:54 PM Md. Jalal Uddin <dmjalal90 at gmail.com>
>> wrote:
>>
>>>
>>> I plotted vertical wind shear within 800 radii for a tropical cyclone
>>> (find the figure in the attachment). Now, I want to add geolocation_circle
>>> (the figure in the attachment) in the plot. I am getting following
>>> warnings:
>>>
>>> warning:Argument 0 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>> warning:Argument 1 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>> warning:Argument 0 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>> warning:Argument 1 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>> warning:Argument 0 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>> warning:Argument 1 of the current function or procedure was coerced to
>>> the appropriate type and thus will not change if the function or procedure
>>> modifies its value
>>>
>>> fatal:Subscript out of range, error in subscript #0
>>> fatal:An error occurred reading circle_lon
>>>
>>> Please help.
>>>
>>>
>>> On Sat, Jul 21, 2018 at 9:57 PM Dennis Shea <shea at ucar.edu> wrote:
>>>
>>>> [1] No idea where 'circle_lat and  circle_lon' are from. You will have
>>>> to find these sources.
>>>>
>>>> [2] The 6.5.0 geo_location function is attached. Hopefully it runs
>>>> under 6.3.0.
>>>>       Please read the documentation:
>>>>
>>>> https://www.ncl.ucar.edu/Document/Functions/Contributed/geolocation_circle.shtml
>>>>       I suggest that you learn to use 'gc_inout'
>>>>
>>>> https://www.ncl.ucar.edu/Document/Functions/Built-in/gc_inout.shtml
>>>>
>>>> [3] Upgrade to 6.5.0
>>>>      NCL 6.3.0 is ~3.5 years old
>>>>
>>>> On Fri, Jul 20, 2018 at 9:40 AM, Md. Jalal Uddin <dmjalal90 at gmail.com>
>>>> wrote:
>>>>
>>>>> I am using NCL 6.3 under Linux Fedora. I am getting an error as
>>>>> circle_lat and  circle_lon undefined from the first script (
>>>>> https://www.ncl.ucar.edu/Document/Functions/Contributed/geolocation_circle.shtml).
>>>>> For the second script, I did not find the geolocation_circle.ncl file
>>>>> in the website for loading.
>>>>>
>>>>> How could I solve these problems?
>>>>>
>>>>>
>>>>> On Sat, Jul 21, 2018 at 9:40 AM Md. Jalal Uddin <dmjalal90 at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Thanks a lot.
>>>>>>
>>>>>> On Fri, Jul 20, 2018 at 10:08 PM Dennis Shea <shea at ucar.edu> wrote:
>>>>>>
>>>>>>> Also, the just released NCL 6.5.0 contains:
>>>>>>>
>>>>>>>
>>>>>>> https://www.ncl.ucar.edu/Document/Functions/Contributed/geolocation_circle.shtml
>>>>>>>
>>>>>>> Radii can be specified as degrees or km.
>>>>>>>
>>>>>>> The two examples have some figures to illustrate
>>>>>>>
>>>>>>>
>>>>>>> https://www.ncl.ucar.edu/Applications/Images/geolocation_circle.png
>>>>>>> and
>>>>>>>
>>>>>>> https://www.ncl.ucar.edu/Applications/Images/geolocation_circle_2.png
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 20, 2018 at 7:35 AM, Carl Schreck <cjschrec at ncsu.edu>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 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
>>>>>>>> <https://maps.google.com/?q=151+Patton+Ave,+Asheville,+NC+28801&entry=gmail&source=g>
>>>>>>>> e: cjschrec at ncsu.edu
>>>>>>>> o: +1 828 257 3140
>>>>>>>> c: +1 828 484 1702
>>>>>>>> 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/>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *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
>>>>>
>>>>
>>>>
>>>
>>> --
>>> *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
>>>
>>
>>
>> --
>> *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
>>
>
>

-- 
*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180725/a270ba73/attachment.html>


More information about the ncl-talk mailing list