wrapit and system

From: Michael Notaro <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 14 2010 - 11:53:26 MDT

In my NCL script, I use wrapit inside a do loop.
The fortran code writes to a bunch of *.out files.
Once it's done, I use the system command to
move the *.out files somewhere else.

But the files never get moved and no error is produced.
What am I missing here?

do ipt=0,Npts-1
     OFFLINELPJ::lpj(Nyrs,Nmns,Tyrs,lat(ipt),lon(ipt),soilcode
(ipt),inco2(:),ndtooned(tmp_mn(ipt,:,:)),ndtooned(pre_mn
(ipt,:,:)),ndtooned(cld_mn(ipt,:,:)),ndtooned(wet_mn(ipt,:,:)))
end do

system("mv /data/notaro/lpj_wicci_"+case+"/OUTPUT/*.out /data/notaro/
lpj_wicci_"+case+"/"+models(imod)+"/realiz"+(iset+1)+"/OUTPUT/")

Michael
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 14 11:52:33 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 16 2010 - 16:21:29 MDT