Ouranosinc / PAVICS-frontend

PAVICS Frontend Platform
MIT License
6 stars 2 forks source link

Scale bar not respecting process data output #118

Open Zeitsperre opened 6 years ago

Zeitsperre commented 6 years ago

It seems that processed data output (from a regional subset) is not respecting the scalebar colour intervals. Example from CRIM internal production server:

screenshot from 2018-05-16 15-08-50

screenshot from 2018-05-16 15-08-31

Performing a point inspection suggests that the data output is indeed correct (same values for pixels in common), but it's impossible to style the processed data output. Data inputs seem to respect the scale bar intervals. I'm opening a new ticket since this issue differs from #109 in that even if an appropriate min/max is set for the data output, there is no change in the presentation.

Zvax commented 6 years ago

this is quite interesting. it seems that the layer displayed is a spatial mask? here is the getMap request generated:

https://outarde.crim.ca/twitcher/ows/proxy/ncWMS2/wms?REQUEST=GetMap&LAYERS=outputs/wps_outputs/flyingpigeon/09c13288-593c-11e8-9c6c-0242ac120007/pr_Amon_CanESM2_historical_r1i1p1_185001-200512_USA_aKVu7l.nc/ocgis_spatial_mask

The other requests seem to have the variable name instead at the end. Furthermore, there is only one color whereas different points values have different values. Not sure what's happening here.

Zeitsperre commented 6 years ago

All that was performed was a regional subset. Not sure why it would only returning a spatial mask if it requires NetCDF DataInputs. As I mentioned, on inspection the pixels seem to also have correct data values. Mysterious.