[Thread Prev][Thread Next][Index]

[ferret_users] data count



Using FERRET command how can I have the number of data in a folder with *.nc extension? There are 12 sub-folders in the folder. I want to use the files belongs to in each of them.
  I use the following command:

repeat/range=1:12/name=ll ( ;\
LET a = {"dummy", SPAWN:"/2013.0`ll`/ls *.nc"} ;\
LET nfiles = `a,RETURN=IEND` ;\
repeat/range=1:`nfile`/name=dd ( let dummy=a[i=`dd`]; use `dummy`; sh da; can da/all) ;\)

but not giving any result,
output is:
**ERROR: command syntax: unpaired quotation marks, grave accent or brackets

Please help any one..
thanks is adv..
Gopal

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement