<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Emily:<br>
<br>
The files in the URL below are served via ftp, so this is not really
a GrADS issue. Instead, you can use "wget" to retrieve all the
files, then "ncrcat" to concatenate them all together. For example,<br>
<br>
wget -r -A.nc
<a class="moz-txt-link-freetext" href="ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis.dailyavgs/surface/">ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis.dailyavgs/surface/</a><br>
<br>
will retrieve all the files on that page that end with ".nc". Next,<br>
<br>
ncrcat -h air.sig995.*.nc one_big_file.nc<br>
<br>
will cat all the individual files into one big file. "ncrcat" is
part of the netCDF Operator (NCO) toolkit; more info at
<a class="moz-txt-link-freetext" href="http://nco.sourceforge.net/">http://nco.sourceforge.net/</a><br>
<br>
Jim<br>
<br>
<div class="moz-cite-prefix">On 7/9/13 7:09 AM, Emily Wilson wrote:<br>
</div>
<blockquote
cite="mid:CAGCDMAk+6VDGu0fOYwrt56qp8GoiHTmt2S_yZYqSxXsy5OyT3w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hello All,<br>
<br>
</div>
I am wanting to write a GrADS script in emacs that downloads a
bunch of NetCDF files from a website and compresses them into
one large file. The website is<br>
<a moz-do-not-send="true"
href="http://www.esrl.noaa.gov/psd/cgi-bin/db_search/DBListFiles.pl?did=33&tid=38147&vid=668">http://www.esrl.noaa.gov/psd/cgi-bin/db_search/DBListFiles.pl?did=33&tid=38147&vid=668</a>
and I want to download all of the NetCDF files on this page.
What commands can I use to do this task? If this is not
possible would it be possible to format a script so that from
the webpage, each file is read individually and specific data
is pulled in each file, wrote or saved to a master file then
the same thing is done for the next file and so on?<br>
</div>
Thanks for the help in advance,<br clear="all">
<div>
<div>
<div>
<div>
<div dir="ltr"><span style="color:rgb(106,168,79)"><b><br>
Emily P. Wilson, Intern</b></span><br>
<span style="color:rgb(61,133,198)">Research and
Conservation Department<br>
Denver Botanic Gardens<br>
1007 York St.<br>
Denver, CO 80206<br>
720-865-3593</span></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>