WCS 2.0 NetCDF output fails if only spatial dimensions are present

Description

If there are no non-spatial dimensions, a WCS 2.0 request for NetCDF fails with:

Environment

None

Activity

Show:
Ben Caradoc-Davies
June 9, 2016, 10:01 PM
Ben Caradoc-Davies
June 4, 2016, 1:41 AM

The purpose of this Jira issue is to record this fix in the release change log.

Ben Caradoc-Davies
June 4, 2016, 1:39 AM
Edited

The fix and unit test coverage for this issue are included in:
https://github.com/geoserver/geoserver/pull/1631

The fix is a simple null guard in WCSDimensionsSubsetHelper:
https://github.com/geoserver/geoserver/pull/1631/files#diff-42a60e620576d93e71d74eb20f3161e3

I considered making a separate commit for this issue but the unit test coverage is in the rotated pole coverage (comment the null guard and see the test fail). We can see this fix as a nice side effect of adding unit test coverage for rotated pole projection support .

Fixed

Assignee

Ben Caradoc-Davies

Reporter

Ben Caradoc-Davies

Fix versions

Affects versions