Reading-eScience-Centre / edal-java

Environmental Data Abstraction Layer libraries
Other
38 stars 30 forks source link

Is there support for NetCDF4 Groups? #110

Open acrosby opened 6 years ago

acrosby commented 6 years ago

Would love to be able to visualize netcdf4 files that have groups in them (effectively independent datasets all together in a single file) in ncWMS2. Is this possible now? I couldn't find any documentation around it, and a test file I have doesn't seem to work (no errors), but nothing listed in Godiva, and the links on the "Front Page" do return errors that specify that the layer does not exist. Seems like it must be pretty close to working if it isn't already supported.

jonblower commented 6 years ago

ncWMS will only recognise datasets that conform to certain conventions, like Climate and Forecast. (Actually it delegates this to the Unidata Java-NetCDF libraries, which understand a range of formats and conventions.) I'm not aware that any of these conventions allow for the use of groups in NetCDF4 files, so I think it's unlikely that your data will be compatible.

You probably won't get any errors because ncWMS2 is not recognising any compatible datasets, so it doesn't attempt to load them.