Addfiles and DODS

From: Maurice McHugh (mmchug4 AT lsu.edu)
Date: Fri Aug 26 2005 - 08:34:30 MDT


Hi Folks,

Can anyone give me some examples of how to read a variable across
several files accessed via DODS?

Traditionally I read a variable off multiple locally stored files like this:

files = systemfunc ("ls *.nc")
fall = addfiles (files, "r")

I am wondering how I can recreate this list (the "files" variable) to
store my filenames in. Can I just create an array of strings, with each
string containing the filenames? I have just being trying this and it
does not seem to work.

The files are below:

http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis2.dailyavgs/surface/tmax.2m.gauss.1995.nc
http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis2.dailyavgs/surface/tmax.2m.gauss.1996.nc
http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/ncep.reanalysis2.dailyavgs/surface/tmax.2m.gauss.1997.nc

Many thanks!

Maurice

-- 

Maurice McHugh

mmchug4 'at' lsu.edu

Assistant Professor Department of Geography and Anthropology 227 Howe-Russell Geoscience Complex Louisiana State University Phone:(225)578-0476 Baton Rouge LA 70803 Fax: (225)578-4420

_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Tue Aug 30 2005 - 14:12:02 MDT