Closed el95149 closed 6 years ago
Layers in ncWMS must to conform to the CF conventions, but your time coordinate does not (see here for details, but in brief your midnight
needs to be a referenceable datetime). Hence it's only picking up the layer which does not depend on time.
Thanks for the quick response. Indeed, that was the problem, we addressed it already!
And while we're at it, a similar things happens with the following layer:
05 Apr 19:12:50 WARN [netcdf.NetCDFGeoreferenceManager] - Unsupported axis: int model_level_number(model_level_number=20); :standard_name = "model_level_number"; :long_name = "model_level_number"; :units = "1"; :_ChunkSizes = 20; // int
Any idea on how to correct this one? What kind of 'units' should we set? Or, should we remove the 'units' definition altogether?
Once again, thanks.
For a z axis, you need one of:
positive
attribute specifying whether units increase or decrease with heightaxis
attribute with the value Z
If I were you I'd remove the units and add the axis
attribute. That should work, although that code is part of a 3rd party library and I haven't checked. If it doesn't work, adding the positive
attribute certainly will.
Alright, will do and get back to you as soon as I have something concrete.
@guygriffiths Alright, managed to get it fixed, following your guidelines.
Turns out the declaration needed all the following attributes, for ncWMS to recognize and expose layers involving 'model_level_number'.
int model_level_number(model_level_number=20); :standard_name = "model_level_number"; :long_name = "model_level_number"; :positive = "up"; :axis = "Z"; :units = "1"; :_ChunkSizes = 20; // int
Hope it helps someone else in the future. Once again, thanks.
Hello, we have the following layers in a NetCDF file, as depicted by Panoply:
However, when importing the NetCDF in ncWMS (v2.4.0) the only layer imported is the last one 'surface_altitude'. All other layers are completely ignored by ncWMS (no WMS capabilities for them, not included in Godiva interface etc). It's as if they don't even exist in the file. No errors are thrown in the Tomcat logs.
Any help would be really appreciated.