Hello,

GeoServer 2.9.1 and most other recent versions seem to lose some netCDF
(netcdf-extension) and GRIB (grib-extension) metadata on variables when the
data is retrieved as netCDF (netcdf-out-extension).  Note that I am using
netCDF terminology throughout this email.

For example, in the gs-netcdf-out module (master/today)
WCSNetCDFTest::testRapNativeGribRotatedPole() reads in the rap-native.grib2
file and writes it out as netCDF.  I've attached the CDL of the input and
output for each, and the most important information that is missing from
the Temperature_surface variable in the output is:

   - The "coordinates" attribute
   - Grib_* attributes (useful to some consumers)
   - The "long_name" attribute
   - And it appears all attributes on variables other than "units",
   "_FillValue", and a few others

Global attributes (such as "Originating_or_generating_Center") are also
missing and important, but these can be configured for inclusion through
the GeoServer web UI.

I am familiar with the netCDF Java API and happy to dig in to the code and
submit a patch, if appropriate, but I am a new developer to GeoServer and
it is unclear to me how these attributes on the variable might best be
passed along to the NetCDFOutputManager.  Setting GridCoverage2D
"properties" might be a candidate but I want to check with those more
familiar with the codebase to be sure.

Do you have any suggestions or cautions for adding this capability to
GeoTools/GeoServer?

Thanks,
Aaron

Attachment: rap-native-input.cdl
Description: Binary data

Attachment: rap-native-output.cdl
Description: Binary data

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to