[ncl-talk] Error- wrf model output wind plot
Gaurav Tiwari
gaurav16 at iiserb.ac.in
Sat Dec 2 04:45:52 MST 2017
Hi Dennis,
I done few changes what you suggested but still I am getting some
error.
Current error is attached below
fatal:VectorFieldInitialize: dimensions of vfUDataArray and vfVDataArray
are inconsistent
fatal:Unable to initialize layer-Can't Create
fatal:Unable to access object with id:-4
fatal:Unable to access object with id:-4
warning:Unable to add DataItem "(null)" to DataList "vcVectorFieldData"
fatal:CompileDataList:DataList has no valid members
Kindly let me know some ideas to plot wrf wind at different different
pressure levels.
-Gaurav
********************************************************************
*Gaurav Tiwari*
Research Scholar
Department of Earth and Environmental Sciences
Indian Institute of Science Education and Research Bhopal
(IISER B)
Bhopal- 462066, Madhya Pradesh
Mob: +91-7471112407
LinkedIn
<https://www.linkedin.com/in/gaurav-tiwari-bb36357a?trk=hp-identity-name>
Research gate <https://www.researchgate.net/profile/Gaurav_Tiwari5>
On Tue, Nov 28, 2017 at 9:13 PM, Dennis Shea <shea at ucar.edu> wrote:
>
> u10 = wrf_user_getvar(f, "U10",it)
> printVarSummary(u10) ; ===> [south_north | ?] x [west_east | ?]
>
>
> ---
> u = wrf_user_getvar(f, "U",it)
> printVarSummary(u) ; ===> [bottom_top | ?] x [south_north | ?] x
> [west_east_stag | ?]
>
> ---
>
> function gsn_csm_vector (
> wks [1] : graphic,
> u [*][*] : numeric, <=== 2-dimensions
> v [*][*] : numeric, <=== 2-dimensions
> res [1] : logical
> )
>
> kl = 5
> vector = gsn_csm_vector(wks,u(kl,:,:),v(kl,:,:),vec_res)
>
> On Mon, Nov 27, 2017 at 11:09 PM, Gaurav Tiwari <gaurav16 at iiserb.ac.in>
> wrote:
>
>> Dear Mary,
>>
>> I am trying to plot WRF model output wind at different different
>> atmospheric pressure levels, but I am facing an error
>>
>> atal:Number of dimensions in parameter (1) of (gsn_csm_vector) is (3),
>> (2) dimensions were expected
>> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 42 in
>> file Zwind.ncl
>>
>>
>> The same script is working for U10, V10 but not for U,V.
>>
>>
>> --Gaurav
>>
>>
>> _______________________________________________
>> 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/20171202/34a4c556/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zwind.ncl
Type: application/octet-stream
Size: 1906 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171202/34a4c556/attachment.obj>
More information about the ncl-talk
mailing list