[gdal-dev] GTiff stack to NetCDF

Signell, Richard rsignell at usgs.gov
Tue Sep 3 07:55:30 PDT 2013


David,
If you post your question on the GIS stackexchange group
http://gis.stackexchange.com/
I will provide an example code that should be helpful.

-Rich

On Tue, Sep 3, 2013 at 10:15 AM, Etienne Tourigny
<etourigny.dev at gmail.com> wrote:
> what you want is probably outside the scope of gdal. It would require some
> clever metadata management so that gdal_translate puts them in a single
> file...
>
> I would advise you convert them all to netcdf using gdal_translate and then
> use python-netcdf4 (not the one from numpy/scipy) to stack them in the
> temporal dimension.
>
>
> On Mon, Sep 2, 2013 at 7:09 PM, David Shean <dshean at gmail.com> wrote:
>>
>> Hi list,
>> I'm trying to package a timeseries of GTiff rasters with identical
>> projection/extent/resolution as a single NetCDF file for distribution.  I've
>> spent the past hour consulting the online doc and playing with
>> gdal_translate, gdalbuildvrt and gdalwarp without any success.
>>
>> Is there an easy way to do this using existing gdal command line
>> utilities?  I figured I'd ask before resorting to a custom solution using
>> the NetCDF Python API.
>>
>> Thanks.
>> -David
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
Dr. Richard P. Signell   (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598


More information about the gdal-dev mailing list