[ncl-talk] Defining directories

Muhammad Omer Mughal m.mughal1 at postgrad.curtin.edu.au
Wed Oct 26 01:23:39 MDT 2016


Hi Bary


I am in the same sort of problem.  I told you before when I try to run the attached script, it is unable to find wrfout_d04 files in all folders

run6

run7

run 8 and

run9


I tried to be as clear as possible in NCL help but I may not have explained properly. If you understand my problem please reply me. I see the following errors when  I run the script.


Variable: dirWRF
Type: string
Total Size: 32 bytes
            4 values
Number of Dimensions: 1
Dimensions and sizes:    [4]
Coordinates:
(0)    /media/mughal/Seagate/ECMWF_WRF_RUNS2/run6
(1)    /media/mughal/Seagate/ECMWF_WRF_RUNS2/run7
(2)    /media/mughal/Seagate/ECMWF_WRF_RUNS2/run8
(3)    /media/mughal/Seagate/ECMWF_WRF_RUNS2/run9
fatal:["FileSupport.c":2859]:_NclVerifyFile: Requested file </media/mughal/Seagate/ECMWF_WRF_RUNS2/run6wrfout_d04*> or </media/mughal/Seagate/ECMWF_WRF_RUNS2/run6wrfout_d> does not exist


Even when I change the script wrf_script_r4 to wrf_script_r5 recommended by Dennis I still am not able to solve the problem. I would appreciate if you would be able to help me out


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: ncl-talk-bounces at ucar.edu <ncl-talk-bounces at ucar.edu> on behalf of Barry Lynn <barry.h.lynn at gmail.com>
Sent: Wednesday, 26 October 2016 2:48:25 PM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] Defining directories

Hi:

I'd like to define multiple directories.  I assume that I am almost "there.

I am getting an error I don't understand.

(0) dirWRF(n) = /data1/wrf/01_23_2016/GEFS/GEFS_00
fatal:["NclVar.c":1390]:Assignment type mismatch, right hand side can't be coerced to type of left hand side
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 54 in file define_dir.ncl

I know that this file exists.

/data1/wrf/01_23_2016/GEFS/GEFS_00/wrfout_d02_2016-01-23_00:00:00

But, I cannot execute the line (see error above):

filename = addfiles(dirWRF(n)+"/"+"wrfout_d02_2016-01-23_00:00:00", "r")

Thank you.


--
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161026/6a584898/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_script_r4
Type: application/octet-stream
Size: 1384 bytes
Desc: wrf_script_r4
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161026/6a584898/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wrf_script_r5.txt
Url: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161026/6a584898/attachment.txt 


More information about the ncl-talk mailing list