[ncl-talk] Adding multiple WRF output files to a script
Muhammad Omer Mughal
m.mughal1 at postgrad.curtin.edu.au
Mon Aug 29 06:35:28 MDT 2016
Hi Mary
Thanks for the reply. Kindly note intially ntimes was not defined due to error in the line
ntimes = dimsizes(ntimes)
so I changed it to
ntimes = dimsizes(times)
After that I get the error the detail of which is listed in the attached file.
Muhammad Omer Mughal
MSc BSc Mechanical Engineering
PhD Research Scholar
Remote Sensing and Satellite Research Group
Department of Imaging and Applied Physics
Curtin University
Curtin University
Tel | +61 8 9266 7962
Fax | +61 8 9266 2377
Mobile | 0470 237 525
Email | m.mughal1 at postgrad.curtin.edu.au<mailto:m.lynch at curtin.edu.au>
Web | http://curtin.edu.au<http://curtin.edu.au/>
Curtin University is a trademark of Curtin University of Technology.
CRICOS Provider Code 00301J (WA), 02637B (NSW)
________________________________
From: Mary Haley <haley at ucar.edu>
Sent: Saturday, 27 August 2016 3:22:53 AM
To: Muhammad Omer Mughal
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] Adding multiple WRF output files to a script
Dear Muhammad,
The script you provided wouldn't run as-is, because you are referencing "times", but never setting it.
Also, you are calling "addfiles" inside a do loop across the file names, but addfiles is meant to be used on an array of files.
In the future, it would help if you provide the exact error message, and the full script, so we can see what line number the script is failing on.
See the attached wrf_script_mod which is a modification of your file. It's likely not going to run, but hopefully it will help you get started in using addfiles correctly.
--Mary
On Fri, Aug 26, 2016 at 4:08 AM, Muhammad Omer Mughal <m.mughal1 at postgrad.curtin.edu.au<mailto:m.mughal1 at postgrad.curtin.edu.au>> wrote:
Hi
I am trying to add multiple wrfoutput files in the attached script but I get an error of mismatch dimensions. Can some one help please
Muhammad Omer Mughal
MSc BSc Mechanical Engineering
PhD Research Scholar
Remote Sensing and Satellite Research Group
Department of Imaging and Applied Physics
Curtin University
Curtin University
Tel | +61 8 9266 7962
Fax | +61 8 9266 2377
Mobile | 0470 237 525
Email | m.mughal1 at postgrad.curtin.edu.au<mailto:m.lynch at curtin.edu.au>
Web | http://curtin.edu.au<http://curtin.edu.au/>
Curtin University is a trademark of Curtin University of Technology.
CRICOS Provider Code 00301J (WA), 02637B (NSW)
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto: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/20160829/fb704b40/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output
Type: application/octet-stream
Size: 76377 bytes
Desc: output
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160829/fb704b40/attachment.obj
More information about the ncl-talk
mailing list