Hi list. I have a netcdf store that contains multiple variables. I am trying to serve it as a coverage view, publishing 3 variables out of a total 7. Now the issue comes when trying to draw contour lines for 1 of the variables in view. In addition to the contours that should be there, geoserver also renders some additional funky contours that I have no idea where they come from and I believe should not be there. Below is a snippet from my SLD. If I remove the other 2 variables from my coverage view, everything seems to be ok. It looks like geoserver does not respect band parameter and uses data from other 2 bands also to render contours (just guessing here). Don't see any errors in logs.
<Transformation> <ogc:Function name="ras:Contour"> <ogc:Function name="parameter"> <ogc:Literal>data</ogc:Literal> </ogc:Function> <ogc:Function name="parameter"> <ogc:Literal>band</ogc:Literal> <ogc:Literal>0</ogc:Literal> </ogc:Function> <ogc:Function name="parameter"> <ogc:Literal>levels</ogc:Literal> <ogc:Literal>0.5</ogc:Literal> <ogc:Literal>1</ogc:Literal> <ogc:Literal>1.5</ogc:Literal> <ogc:Literal>2</ogc:Literal> <ogc:Literal>2.5</ogc:Literal> <ogc:Literal>3</ogc:Literal> <ogc:Literal>3.5</ogc:Literal> <ogc:Literal>4</ogc:Literal> <ogc:Literal>4.5</ogc:Literal> <ogc:Literal>5</ogc:Literal> </ogc:Function> </ogc:Function> </Transformation> Some screenshots: https://drive.google.com/file/d/1heaKCnozG60EBrx-tuJaV5Dxow1FoRhc/view?usp=sharing https://drive.google.com/file/d/1pfMHjmjhGLhHqGV171UxZn7F6cbdnqKK/view?usp=sharing https://drive.google.com/file/d/1gizFNsbXlXgOOko2fxpdZRro26LwiEPD/view?usp=sharing A related question for the coverage view. While using ncwms extension and the GetTimeSeries request to extract data on map click, the request returns data only for the first band in coverage view, while I was assuming I would get for all 3 bands. Is this expected? I've built the extension myself to match the geoserver version. Here's the decoded request: http://localhost:8088/geoserver/wms?REQUEST=GetTimeSeries&SERVICE=WMS&STYLES=&TRANSPARENT=true&VERSION=1.3.0&FORMAT=image/png&BBOX=21.733703613281254,58.676937672586924,22.787017822265625,59.26026554911028&HEIGHT=824&WIDTH=767&TIME=2022-09-13T12:00:00.000Z/2022-09-14T03:00:00.000Z&LAYERS=test_ws:dmi_waves&QUERY_LAYERS=test_ws:dmi_waves&INFO_FORMAT=text/csv&I=206&J=446 Geoserver version: 2.19.2 Java: openjdk version "1.8.0_332" OS: macOS 12.5.1
_______________________________________________ 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 If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users