NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] how to call WCS GetCoverage request?

On Fri, May 20, 2011 at 11:21 AM, John Caron <caron@xxxxxxxxxxxxxxxx> wrote:

>  On 5/12/2011 6:43 PM, John Maurer wrote:
>
> Hi all,
> I'm struggling with my first attempt to download a GeoTIFF using WCS from
> TDS. I know this requires a GetCoverage request, but I get a "File not
> found" error no matter what I've tried so far. GetCapabilities and
> DescribeCoverage work, and I already have WCS allow=true and
> allowRemote=true in threddsConfig.xml. The TDS logs do not say much of
> anything. Is there something else I need to "turn on" before GetCoverage
> will work?
>
> GetCapabilities (works):
>
>    -
>    
> http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS&version=1.0.0&request=GetCapabilities
>
>
> DescribeCoverage (works):
>
>    -
>    
> http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS&version=1.0.0&request=DescribeCoverage&coverage=water_temp
>
>
> GetCoverage (all give "File not found" error):
>
>    -
>    
> http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS&version=1.0.0&request=GetCoverage&FORMAT=GeoTIFF&COVERAGE=water_temp&CRS=EPSG:4326&BBOX=127.529296875,-15.623036831528252,277.3828125,59.80063426102869&WIDTH=1705&HEIGHT=1034&TIME=2011-05-13T00:00:00Z&ELEVATION=0
>    -
>    
> http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS&version=1.0.0&request=GetCoverage
>    -
>    
> http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS
>
> Ideas? Wrong syntax? A bug?
> Thanks!,
> John Maurer
> Pacific Islands Ocean Observing System (PacIOOS)
> University of Hawaii at Manoa
>
>
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>
>
>
> ok, if you can manage to see the actual *&#^# message that gets returned
> (eg use control-U in firefox or chrome)  :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ServiceExceptionReport 
> xmlns="http://www.opengis.net/ogc";<http://www.opengis.net/ogc>version="1.2.0">
>   <ServiceException code="InvalidParameterValue" locator="CRS">Request CRS
> [EPSG:4326] not allowed [OGC:CRS84].</ServiceException>
> </ServiceExceptionReport>
>
> anyway, removing 
> &CRS=EPSG:4326<http://oos.soest.hawaii.edu/thredds/wcs/pacioos/ncom/global/NCOM_Global_Ocean_Model_best.ncd?service=WCS&version=1.0.0&request=GetCoverage&FORMAT=GeoTIFF&COVERAGE=water_temp&CRS=EPSG:4326&BBOX=127.529296875,-15.623036831528252,277.3828125,59.80063426102869&WIDTH=1705&HEIGHT=1034&TIME=2011-05-13T00:00:00Z&ELEVATION=0>returns
>  a decent looking file.
>
> we dont actually allow any coordinate transformations, so you can have any
> color you want as long as its black.
>


Ah-ha! OK, THANKS! I can now get a GeoTIFF, so I'm off and running. This
particular one appears to have some dateline wrap-around issues, but I'll
have to see if I can dodge that somehow or not...
Cheers,
John Maurer
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: