[Thread Prev][Thread Next][Index]
Re: [ferret_users] using REPEAT with dods URLs
Stephanie,
try this
repeat/RANGE=1:2/NAME=m (use "http://dodsserver/sst_`m`.nc
<http://dodsserver/sst_X.nc>"; show d)
Xuebin
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
--
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
* Xuebin Zhang (PhD) *
* Scripps Institution of Oceanography *
* University of California, San Diego *
* 9500 Gilman Drive #0230 *
* La Jolla, CA 92093-0230 *
* Tel: (858)822-4413 *
* E-mail: xbzhang@xxxxxxxx *
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement