[ncl-talk] NCL wrf_contour use for multiple files
Wang,Yu
wangyu8722 at ufl.edu
Tue Jun 14 14:53:47 MDT 2016
Dear ncl_talk and wrfhelp,
Hope everything goes well with everyone.
I am having a problem with ncl when I wanted to plot hourly precipitation tendencies multiple files. I used the example from the wrf website as below
http://www2.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/PRECIP/wrf_Precip_multi_files.ncl. All I did is to change the input file. I have 2 domain 1 files, including 6 hours with 30 mins interval in each file. The script works perfectly when it was processing the first file as below:
(0) Working on time: 2005-08-25_01:00:00
(0) Working on time: 2005-08-25_02:00:00
(0) Working on time: 2005-08-25_03:00:00
(0) Working on time: 2005-08-25_04:00:00
(0) Working on time: 2005-08-25_05:00:00
But when it get to calculate the next hour which should use both files, the script starts to have trouble and give me an error of
fatal:ListSelect: Index out of range
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 89 in file wrf_Precip_multi_files.ncl
Is this because of my output file or there is something I should change in the script?
Hope some one can provide some help. I would really appreciate any help. Thank you so much.
Best,
Jade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160614/d2ec8c02/attachment.html
More information about the ncl-talk
mailing list