[ncl-talk] Error while plotting winds from WRF dataset
swati shewale
shewaleswati16 at gmail.com
Mon Nov 13 21:06:03 MST 2017
Dear All,
I wish to plot winds at 850 hpa but facing error as below. Tried it several
ways like plotted separately by taking single file at a time, doing this it
works fine. while doing panel plot, third file shows some weird error as
mismatch array (If I handle third file separately, it does not show any
error). I have uploaded 3 datafiles via NCL ftp, these are WRF files
renamed as 13_aug_2014.nc, 14_aug_2014.nc <http://13_aug_2014.nc>, 15_aug_
2014.nc <http://13_aug_2014.nc> (concanated using ncrcat). Please have a
look at it and suggest me modification I need to carry out in the script.
I have attached script. In the script, all the three files e.g. a0,a1,a2 (I
have repeated same files again as a3,a4,a5) have same structure except
time.
fatal:Dimension size mismatch, dimension (0) of left hand side reference
does not have the same size as the right hand side reference after
subscripting.
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245 in
file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 50 in file
wind_climatology_850hpa_all_files.ncl
fatal:Dimension size mismatch, dimension (0) of left hand side reference
does not have the same size as the right hand side reference after
subscripting.
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245 in
file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 51 in file
wind_climatology_850hpa_all_files.ncl
fatal:Undefined identifier: (uu2) is undefined, can't continue
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 53 in file
wind_climatology_850hpa_all_files.ncl
fatal:Undefined identifier: (vv2) is undefined, can't continue
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 54 in file
wind_climatology_850hpa_all_files.ncl
fatal:Variable (u_plane2) is undefined
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 55 in file
wind_climatology_850hpa_all_files.ncl
fatal:Dimension size mismatch, dimension (0) of left hand side reference
does not have the same size as the right hand side reference after
subscripting.
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245 in
file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 83 in file
wind_climatology_850hpa_all_files.ncl
fatal:Dimension size mismatch, dimension (0) of left hand side reference
does not have the same size as the right hand side reference after
subscripting.
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245 in
file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 84 in file
wind_climatology_850hpa_all_files.ncl
fatal:Undefined identifier: (uu5) is undefined, can't continue
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 86 in file
wind_climatology_850hpa_all_files.ncl
fatal:Undefined identifier: (vv5) is undefined, can't continue
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 87 in file
wind_climatology_850hpa_all_files.ncl
fatal:Variable (u_plane5) is undefined
fatal:["Execute.c":8567]:Execute: Error occurred at or near line 88 in file
wind_climatology_850hpa_all_files.ncl
On Fri, Nov 10, 2017 at 10:54 AM, swati shewale <shewaleswati16 at gmail.com>
wrote:
> Dear All,
>
> Thank you Sir. It is working now. Sorry for inconvenience. from my side
> am going through various scripts coming under vector form. Actually after
> trying hard, If am unable to resolve the issue, then only approaches to NCL
> user. Anyway, I have uploaded the files as well as script, if find it easy
> to go through, Please suggest.
>
> On Fri, Nov 10, 2017 at 10:04 AM, Dennis Shea <shea at ucar.edu> wrote:
>
>> offline here
>>
>>
>> I do not have any answer. I am not involved with systems or ftp.
>>
>> ---
>>
>> Possibly, after cd to the 'incoming' directory, the 'put' is trying to create a directory on the ftp site.
>> Perhaps something named:
>>
>> /ftp/incoming/home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_data/3rd_domain
>>
>> or ????
>>
>> /ftp/incoming/home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_data/3rd_domain/try
>>
>>
>> ========
>>
>> Maybe, you should cd to the directory with the data files
>>
>> %> cd /home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_data/3rd_domain
>>
>> or
>>
>> %> cd /home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_data/3rd_domain/try
>>
>>
>> then, from that directory, try the ftp
>>
>> ftp ftp.cgd.ucar.edu
>> anonymous*<enter your email address for the password>*
>> cd incoming
>> put 13_aug_2014.nc
>> . . .*continue with 'put' commands until all desired files are uploaded*. . .
>> quit
>>
>>
>> =======
>>
>> FYI: There may be major changes in ncl support. People are sending many complicated scripts
>> which take considerable time on our part to understand. Sometimes *hours* ... even *days*.
>>
>> The NCL team wants to help but is not paid to answer NCL questions.
>>
>> In fact, some people just keep sending is poorly written scripts that we ust spend time
>>
>> cleaning up.
>>
>> It is frustrating.
>>
>> D
>>
>>
>>
>>
>>
>> On Thu, Nov 9, 2017 at 8:54 PM, swati shewale <shewaleswati16 at gmail.com>
>> wrote:
>>
>>> Dear Dennis,
>>>
>>> All the three files, I want to sent has a size of 3.4 GB (total). As per
>>> your suggestion, I tried to upload it still facing same issue.
>>>
>>> On Thu, Nov 9, 2017 at 8:39 PM, Dennis Shea <shea at ucar.edu> wrote:
>>>
>>>> How big is the file?
>>>>
>>>> The ftp area is only 24% full. Please try again.
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Nov 9, 2017, at 5:32 AM, swati shewale <shewaleswati16 at gmail.com>
>>>> wrote:
>>>>
>>>> Dear All,
>>>>
>>>> Using below link, I followed the steps for uploading datafiles.
>>>>
>>>> https://www.ncl.ucar.edu/ftp_files.shtml
>>>>
>>>> It shows error as follow
>>>>
>>>> ftp> cd incoming
>>>> 250 Directory successfully changed.
>>>>
>>>> ftp> put /home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_d
>>>> ata/3rd_domain/13_aug_2014.nc
>>>> local: /home/swati/work/analysis/2_cities/Patna/14aug2014/wrf_out_d
>>>> ata/3rd_domain/13_aug_2014.nc remote: /home/swati/work/analysis/2_ci
>>>> ties/Patna/14aug2014/wrf_out_data/3rd_domain/13_aug_2014.nc
>>>>
>>>> 227 Entering Passive Mode (128,117,23,220,192,16).
>>>> 553 Could not create file.
>>>>
>>>> Please let me know further steps to do. Thanks in advance.
>>>>
>>>>
>>>>
>>>> On Thu, Nov 9, 2017 at 5:25 PM, swati shewale <shewaleswati16 at gmail.com
>>>> > wrote:
>>>>
>>>>> Dear All,
>>>>>
>>>>> I wish to plot winds at 850 hpa but facing error as below. Tried it
>>>>> several ways like plotted separately by taking single file at a time, doing
>>>>> this it works fine. while doing panel plot, third file shows some weird
>>>>> error as mismatch array. I wish to send the dataset files, total 3 files
>>>>> have size around 3.5 GB. Is it possible to send the dataset. Please give me
>>>>> some insight. I have attached script.
>>>>>
>>>>> In the script, all the three files e.g. a0,a1,a2 (I have repeated same
>>>>> files again as a3,a4,a5) have same structure except time. once I send the
>>>>> data files (I used ncrcat command to concanate all the files), you can see
>>>>> no of files (using ncdump -h command) get concanated (at the bottom)
>>>>>
>>>>>
>>>>> fatal:Dimension size mismatch, dimension (0) of left hand side
>>>>> reference does not have the same size as the right hand side reference
>>>>> after subscripting.
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245
>>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>>>>>
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 50
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Dimension size mismatch, dimension (0) of left hand side
>>>>> reference does not have the same size as the right hand side reference
>>>>> after subscripting.
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245
>>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>>>>>
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 51
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Undefined identifier: (uu2) is undefined, can't continue
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 53
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Undefined identifier: (vv2) is undefined, can't continue
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 54
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Variable (u_plane2) is undefined
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 55
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Dimension size mismatch, dimension (0) of left hand side
>>>>> reference does not have the same size as the right hand side reference
>>>>> after subscripting.
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245
>>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>>>>>
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 83
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Dimension size mismatch, dimension (0) of left hand side
>>>>> reference does not have the same size as the right hand side reference
>>>>> after subscripting.
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 245
>>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>>>>>
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 84
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Undefined identifier: (uu5) is undefined, can't continue
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 86
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Undefined identifier: (vv5) is undefined, can't continue
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 87
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>> fatal:Variable (u_plane5) is undefined
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 88
>>>>> in file wind_climatology_850hpa_all_files.ncl
>>>>>
>>>>>
>>>> _______________________________________________
>>>> 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/20171114/44494bc3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wind_climatology_850hpa_all_files.ncl
Type: application/octet-stream
Size: 11853 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171114/44494bc3/attachment.obj>
More information about the ncl-talk
mailing list