Replies: 2 comments 2 replies
-
This may be (distantly) related to issue #133 Unsupported file format error in get coverage, although in my case the unsupported file format was that the xml exception report was also returned as the .tif fie. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I sent a detailed query to the usgs.gov customer service email address and the specific usgs contractor named in the metadata. These data and services are new enough that I expect that she is still working there (and perhaps actively adding more datasets to their data services), and will respond. Thank you for having your functions display the full composed url of the GET or POST! That allowed me to provide exactly what worked (getCapabilities and DescribeCoverage, and getCoverage for a different one of their services), and what threw the xml exception (which google didn't find anything about). I also manually tested by removing the subsetting on time &subset=time(%221985-01-01T00:00:00%22), and that failed with the exact same exception. As soon as I hear anything back, I will test it and update here. |
Beta Was this translation helpful? Give feedback.
-
I am not clear if this is my ignorance, a problem with this specific OGC data service, or something about getting a set of temporal coverages via getCoverageStack(), but I'm still floundering trying to pull a stack of annual rasters. I have read all of the discussions tagged as OGC WCS, which were helpful but did not solve my problem.
This data service provides rasters of land cover classification for each year from 1985-2023. I'm guessing at the serviceVersion from the xml metadata: xmlns:ows="http://www.opengis.net/ows/2.0" but have tried not just 2.0.0, but 2.0.1, and 1.0.0.
I can successfully use getCoverage() to pull single rasters from their other data services that vend single rasters, which also use epsg:5070, so that crs alone is not the problem.
Reproducible example:
The above code fails with an error that it cannot open the tiff file.
R error message:
The returned tiff file is identical to the returned xml file:
After all this, I hope this can serve as another example or case study for the WCS vignette.
Beta Was this translation helpful? Give feedback.
All reactions