Hello NCL users,
I came through a requirement to remotely access a set of data files. For
that I wrote the following script.
.....................................
.....................................
.....................................
print("Enter the season starting month as an integer value:")
m1 = stringtointeger(systemfunc("read var; echo $var"))
print(m1)
mms = sprinti("%2.2i",m1)
print("starting month="+mms)
print("Enter the season ending month as an integer value:")
mn = stringtointeger(systemfunc("read var; echo $var"))
print(mn)
mme = sprinti("%2.2i",mn)
print("ending month="+mme)
fnames = ""
do m = m1,mn,1
mm = sprinti("%2.2i",m)
print("mm="+mm)
fnames =fnames + systemfunc("sftp uid@ipaddress:/path/time_mean.*" + mm +
".nc")
end do
file1= addfiles(fnames, "r")
...............................
..............................
..............................
For this script I got an error message:
fatal:Number of dimensions on right hand side do not match number of
dimension in left hand side
fatal:Execute: Error occurred at or near line 22 in file climsftp.ncl
Can anyone point out the reason for the error ?
Thanking you in advance
Gibies George,CSIR-RF,
Climate and Global Modelling Division,
Indian Institute of Tropical Meteorology,
Dr. Homi Bhabha Road,
NCL (P. O.), Pashan,
Pune 411008, India.
http://sites.google.com/site/gibiesge/
Think about the environment. Please don't print this e-mail unless it is
necessary.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Jul 10 05:14:54 2010
This archive was generated by hypermail 2.1.8 : Mon Jul 19 2010 - 09:39:02 MDT