Does GeoServer support custom dimensions that are non-numeric?
A customer wants to express several sets of data using string dimensions. For
example, Icing model data with a dimension of icing_severity with values of
{"Low", "Moderate", "Heavy", "Severe"}. The data in the netcdf file is still
represented in terms of t, z, y, x. The WMS/WCS interfaces need to support
icing_severity custom dimension. The custom dimension is handled by custom
code to populate the db column.
I am able to successfully ingest the product. WMS GetCapabilities response
contains the custom dimension with the available values shown as expected. WCS
DescribeCoverage has expected content as well.
I start to have issues when trying GetCoverage requests. The error is receive
is: "java.lang.IllegalArgumentException: illegal dataType: String not
supported in netcdf-3 illegal dataType: String not supported in netcdf-3".
This error happens even if I request netcdf4 classic format.
Netcdf4 does support the String data type, but the netcdf4 classic model that
GeoServer leverages does not.
I have tried to leverage postgresql database column types of text, varchar and
char. All result in the same error being provided. It seems that behind the
scenes the type of the database column is being mapped to a String.
When satisfying the WCS request, I believe GeoServer is trying to create a
dimension or variable of type string which is not supported by the netcdf3 data
model.
Anybody know if GeoServer has support for string based custom dimensions for
WCS / WMS which support NetCDF outputs?
I'm currently using GeoSever 2.10.4 on a RedHad Linux system.
Jerry
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users