[gdal-dev] HowTo open NetCDF SUBDATASET and write to new file

Roger André randre at gmail.com
Mon Sep 15 12:13:19 EDT 2008


Hi List,

I'm would like to use the Python bindings to open a specific SUBDATASET in a
NetCDF file and read the contents.  I read in
http://www.gdal.org/gdal_datamodel.html, under the "SUBDATASETS domain"
section, that I should be able to pass the "_NAME" parameter into GDALOpen()
in order to do this, but I'm not exactly sure how.  Could someone pass me a
couple lines of Python that show how this is done?

Thanks in advance.

Roger
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080915/788c2d8c/attachment.html


More information about the gdal-dev mailing list