There is a certain WCS layer that I'd like to save it to my local computer for analysis.
According to GDAL WCS driver draft:
"Accessing a WCS server is accomplished by creating a local service description xml file looking something like the following, with the coverage server url, and the name of the coverage to access. It is important that there be no spaces or other content before the element.
<WCS_GDAL>
<ServiceURL>http://laits.gmu.edu/cgi-bin/NWGISS/NWGISS?</ServiceURL>
<CoverageName>AUTUMN.hdf</CoverageName>
</WCS_GDAL>
I tried to create the xml file but I was unsuccessful.
Does anyone has any experience about extracting WCS layers? Are there any pointers (sites, tutorials, tips) on how to create the xml file?
EDIT:
The xml file im using to grab the first layer for a specific time is the following:
<WCS_GDAL>
<ServiceURL>http://dmcsee.org/cgi-bin/mapserv?map=/var/www/tmp/dmcsee_wms/dmcsee_wcs.map</ServiceURL>
<Version>1.1.1</Version>
<CoverageName>SPI6</CoverageName>
<supportedCRSs>EPSG:4326</supportedCRSs>
<PreferredFormat>gtiff</PreferredFormat>
<GetCoverageExtra>&BBOX=10.0,31.995,48.005,50.0&time=19900101</GetCoverageExtra>
</WCS_GDAL>
But for somereason returns an error
gdalinfo wcs.xmlreturn? I found that OWSLib (geopython.github.com/OWSLib) was very useful for accessing WCS'. – dmci Nov 15 '12 at 7:59