NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] batch convert raster to netCDF

Hallo June,

i can recommend using gdal (gdal.org) for creating the single netcdf files from each single arcinfo grid,
and than use CDO for merge them in one single files.
I did that for ~1000 files no problems appeared... (I did not find out how to set the date correctly with gdal - so i used CDO for that) (http://www.mpimet.mpg.de/fileadmin/software/cdo/)

hannes




At 03:55 PM 9/12/2008, June Yeung wrote:
Hi all,
I have over 20,000 raster files that I need to convert to netCDF so that
I can display them in GrADS.  Does anyone have a script to do this?  I
know that I can batch convert raster to netCDF using ArcGIS, but ArcGIS
has a very annoying feature which involves having the user click on a
little "+" sign to keep adding rows for each file that he/she would like
to convert.  There must be a faster approach, I would think?
Any help would be greatly appreciated!
Thanks so much,
June

--
Office: Equad E-223 (609-258-4727)
Lab:    Equad C-329 (609-258-6383)
U.S. Mobile: 609-423-5338

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/

Hannes Isaak Reuter
Institute for Environment and Sustainability - Land Management and Natural Hazards Unit - European Commission - DG Joint Research Centre
TP 280, Via Fermi 2749, I - 21027 Ispra (VA), Italy
tel +39-0332-78.5535, fax +39-0332-78.6394, Cell:+39-3479720381, e-mail: hannes.reuter@xxxxxx
www: http://eusoils.jrc.it/
"The views expressed are purely those of the writer and may not in any circumstances be regarded as stating an official position of the European Commission."



  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: