Skip to content

Unspecified image with WCS #127

Answered by eblondel
swood-ecology asked this question in OGC WCS
Discussion options

You must be logged in to vote

I could make it work using version 2.0.1 of the WCS service. One note when using version 2 the separator between the namespace and the layer name is not : but a double underscoe __. Layer name would be GLEAM3__a_prod.

I realized this server fails 1 out of 2 attempts to get coverage. Don't be surprised if the first request fails, in general the 2d works. I suspect they have a load balancer that delegates request to one service instance that is down behind, which would explain why 1 request out of 2 is failing.

See this code

require(ows4R)

# Create WCS Client
WCS <- WCSClient$new(
  url="https://io.apps.fao.org/geoserver/wcs", 
  serviceVersion="2.0.1", 
  logger="INFO"
)

# Get capabilities

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@swood-ecology
Comment options

@eblondel
Comment options

@eblondel
Comment options

Answer selected by swood-ecology
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment