On Fri, 7 Sep 2007, Bryan K Woods wrote:
> Hi everyone,
> I have a DEM that originally came in UDF format on multiple CD's but I have
> since combined into one GeoTIFF. Right now I am trying to figure out how to
> load this data into NCL. Does anyone know any utilities that would allow me to
> convert this data into a format that NCL can read? For example, is there any
> software that can convert GeoTIFFs to NetCDF? As an alternative, are there
> programs that can produce NetCDF that can read other types of raster data?
> Thanks
> Bryan
Hi Bryan,
I believe GDAL can do it.
For example:
$ gdal_translate n0r_0.tif -of netCDF out.nc
$ ncdump -h out.nc
netcdf out {
dimensions:
x = 6000 ;
y = 2600 ;
variables:
byte Band1(y, x) ;
Band1:long_name = "GDAL Band Number 1" ;
// global attributes:
:Conventions = "CF-1.0" ;
}
It doesn't appear to have kept the geo-referenced information tho...
daryl
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 07 2007 - 13:25:23 MDT
This archive was generated by hypermail 2.2.0 : Tue Sep 11 2007 - 10:34:39 MDT