My goal is to retrieve something like a multiband raster from geoserver where each band has data for a year. I have an image mosaic layer in geoserver where I can retrieve individual years using
&SUBSET=time("2011-01-01T00:00:00.000Z") to get years 2010 and 2011 respectively as explained in the accepted answer of this stack. I have over 100 years to retrieve and want to get them all in one request.
This site explains that you can request a range on the time dimension (specifically they do it for a netcdf:
As explained in the NetCDF output Format for WCS 2.0.1 requests, a NetCDF output format has been developed to write down a NetCDF file with the proper contents coming from a multidimensional output request. Lets do a GetCoverage request involving trimming on these dimensions: latitude, longitude, elevation and time, by specifying these ranges of values:
In particular they use
&subset=http://www.opengis.net/def/axis/OGC/0/time("2008-11-01T00:00:00.000Z","2008-11-07T00:00:00.000Z") to specify a time range
When I construct the following query to get years 2005-2010 it only returns one year's raster:
How do I write this request, or is it even supported for something like a geotiff?