[ncl-talk] NCL wrf_contour use for multiple files
Bill Ladwig
ladwig at ucar.edu
Tue Jun 14 16:21:11 MDT 2016
Hi Jade,
Can you do an "ncdump -h wrf_file" or an ncl_filedump and report back the
number of times for each file? With WRF, sometimes the last file has less
times than the other files. In this case, it might be only 1. With a
tend_int greater than 1, you might be jumping past the last time. Without
seeing the data, it's hard to say.
Bill
On Tue, Jun 14, 2016 at 2:53 PM, Wang,Yu <wangyu8722 at ufl.edu> wrote:
> 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
>
>
> _______________________________________________
> 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/20160614/886d1a80/attachment.html
More information about the ncl-talk
mailing list