[ncl-talk] Problem with NCL
Dennis Shea
shea at ucar.edu
Fri Oct 21 13:10:32 MDT 2016
Well, as I noted before, I just don't get what you are requesting.The
question(s) are ambiguously worded.
Please do *not* start a separate thread. That gets confusing.
==
; absolute path
dir_wrf = "/media/mughal/Seagate/ECMWF_WRF_RUNS2/"
do n=6,9
print("==============")
dirPath = dir_wrf + "run"+n + "/"
print("dirPath="+dirPath)
fils =: systemfunc("cd "+dirPath+" ; ls wrfout_d04*)
; if you run into a problem here, it is a path issue.
print(fils)
print("---")
fullPath = dirPath+fils
print(fullPath)
print("---")
wrf = addfiles(fullPath, "r")
;
end do
As noted by Barry., the following should be preceded by /
media/mughal/Seagate/ECMWF_WRF_RUNS2/run6/wrfout_d04*
media/mughal/Seagate/ECMWF_WRF_RUNS2/run7/wrfout_d04*
media/mughal/Seagate/ECMWF_WRF_RUNS2/run8/wrfout_d04*
media/mughal/Seagate/ECMWF_WRF_RUNS2/run6/wrfout_d04*
On Fri, Oct 21, 2016 at 8:45 AM, Muhammad Omer Mughal <
m.mughal1 at postgrad.curtin.edu.au> wrote:
> Hi Everyone
>
>
> I posted a problem a couple of days ago. Barry was kind enough to help me
> chasing this problem. I received the following email from him a few moments
> ago
>
>
> One more quick thing:
>
> I think you can confirm that if you ls -ltr the directory you showed me
> you will see the files within.
>
> If this is correct, you can let ncl-talk know that the program finds the
> directories but not the files within.
>
> Barry
>
>
> I therefore did ls -ltr and the files are shown so do you guys also think
> that the program finds the directories but not the files within. Can you
> please help me to sort the problem . Dennis was intially helping me with
> the problem . Dennis can you please recommend something here I
> would appreciate your help.
>
>
>
> 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 <m.lynch at curtin.edu.au>
> Web | http://curtin.edu.au
>
> Curtin University is a trademark of Curtin University of Technology.
> CRICOS Provider Code 00301J (WA), 02637B (NSW)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161021/4031ab94/attachment.html
More information about the ncl-talk
mailing list