[Thread Prev][Thread Next][Index]

Re: [ferret_users] using REPEAT with dods URLs



Hi Stephanie,

Use two backquotes, like this:

repeat/RANGE=1:2/NAME=m (use "http://dodsserver/sst_`m`.nc";)

Andrew

On Wed, 18 Nov 2009, Henson S.A. wrote:



Hello everyone,

I'm trying to access multiple files held on a DODS server.  The file names are all the same, except for a number at the end, e.g.
http://dodsserver/sst_1.nc
http://dodsserver/sst_2.nc
etc.

I am trying to use the REPEAT function to read them in one at a time and perform an operation on them.  So far I have,
repeat/RANGE=1:2/NAME=m (use "http://dodsserver/sst_X.nc"; show d)
What do I put where the X is to make ferret open the files in sequence? I've tried replacing X with $m, 'm' etc. to no avail.

Thank you!
Stephanie





[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement