[ncl-talk] Defining directories

Barry Lynn barry.h.lynn at gmail.com
Wed Oct 26 00:48:25 MDT 2016


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/e9ccbcab/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: define_dir.ncl
Type: application/octet-stream
Size: 1917 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161026/e9ccbcab/attachment.obj 


More information about the ncl-talk mailing list