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

Rick Brownrigg brownrig at ucar.edu
Wed Jul 18 09:11:01 MDT 2018


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


More information about the ncl-talk mailing list