Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legend shows without ticks/labels #210

Open
ernstdevreede opened this issue Mar 18, 2022 · 0 comments
Open

Legend shows without ticks/labels #210

ernstdevreede opened this issue Mar 18, 2022 · 0 comments

Comments

@ernstdevreede
Copy link
Collaborator

With the config for SAT.xml, legends show up without labels and tick marks.
The unit shows up correctly though.

image

<?xml version="1.0" encoding="UTF-8" ?>
<Configuration>
  <!-- 
  See https://dev.knmi.nl/projects/adagucserver/wiki/Dataset, for details
  This file can be included by using the adaguc.dataset.cgi?service=wms&DATASET=testdata& key value pair in the URL 
  -->
  <!-- Styles -->
  <Legend name="gray" type="colorRange">
    <palette index="0"   red="0"   green="0"   blue="0"/>
    <palette index="240" red="255" green="255"   blue="255"/>
  </Legend>
  <Legend name="invgray" type="colorRange">
    <palette index="0" red="255" green="255"   blue="255"/>
    <palette index="240"   red="0"   green="0"   blue="0"/>
  </Legend>
  <Style name="gray">
    <Legend>gray</Legend>
    <Min>313.15</Min>
    <Max>193.15</Max>
    <RenderMethod>nearest,bilinear</RenderMethod>
  </Style>

 <Layer type="database">
    <Name>GOES16-C12</Name>
    <Title>goes16-c12</Title>
    <Variable>CMI</Variable>
    <FilePath filter="^OR_ABI-L2-CMIPF-M6C12_G16.*\.nc$">/data/adaguc-data/SAT</FilePath>
    <Dimension name="t">time</Dimension>
    <Styles>gray</Styles>
  </Layer>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant