Skip to content

Releases: KNMI/adaguc-server

2.7.6 - Fix legend display with Log scale

12 Jul 09:50
95e7d11
Compare
Choose a tag to compare
  • Legend with Log scale did not show labels

Quantize product times on ingest

11 Jul 10:38
0cf3ee9
Compare
Choose a tag to compare

This change make sit possible for ADAGUC to apply quantizemthod/quantizeperiod attributes to product times on ingest (instead of only on TIME= request values as it was originally).
This makes it possible to quantize for example NOAA GOES16 product times, which is useful because GOES16 product times can vary a few seconds.

Should be enabled by configurig the time dimension, for example like this:
<Dimension name="time" quantizeperiod="PT10M" quantizemethod="round">time</Dimension>
quantizemethod can be low, high or round (round is the default).

Behaviour was also fixed for quantizemethod="high": if a value is exactly on a quantizeperiod step, it is not rounded up. (For example with quantizemethod="high" quantizeperiod=PT10M the timestamp 2022-07-08T12:00:00Z yields 2022-07-08T12:00:00Z

Continuous Legend graphic supports inverted min and max

06 Jul 14:00
2a866b2
Compare
Choose a tag to compare
  • Continuous Legend graphic supports inverted min and max

  • Legend graphic code split and refactored

Points can now be rendered with customizable and scalable symbols

06 Apr 13:37
d00aa44
Compare
Choose a tag to compare

Version 2.7.1 2022-04-06

  • Points can now be rendered with customizable and scalable symbols
  • The time dimension for a layer in a GetCapabilities document can now be set based on the modification time of the file by configuring a dimension using: <Dimension default="filetimedate">time</Dimension>
  <Symbol name="triangle" coordinates="[[-1, -1], [1, -1], [0.0, 1], [-1, -1]]"/>
  <Symbol name="square" coordinates="[[-1, -1], [1, -1], [1, 1], [-1, 1], [-1, -1]]"/>
  
  <Style name="age_magnitude">
    
    <Legend fixed="true" tickinterval="100000">magnitude</Legend>
    <RenderMethod>point</RenderMethod>
    <Min>0</Min>
    <Max>2000000</Max>
    <NameMapping name="point" title="Seismic events with age and magnitude" abstract="The seismic events are colored according to age and the size of the disc is based on Magnitude"/>
    <Point min="2592000" max="1000000000000" pointstyle="radiusandvalue" symbol="triangle" textformat=" " plotstationid="false"  fillcolor="#CCCCCC" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="604800" max="2592000" pointstyle="radiusandvalue" symbol="square" textformat=" " plotstationid="false"  fillcolor="#FFFFFFFF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="86400" max="604800" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FFFF00FF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="3600" max="86400" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FF9900FF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="0" max="3600" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FF0000" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <LegendGraphic value="{ADAGUC_DATASET_DIR}/beslegend.png"/>
  </Style>


  <Layer type="database">
    <Title>magnitude</Title>
    <FilePath filter="^.*\.csv$">/data/adaguc-autowms/BES/usgs_earthquakes-bla.csv</FilePath>
    <Variable>age</Variable>
    <Variable>magnitude</Variable>
    <Styles>age_magnitude</Styles>
  </Layer>

Gives

image

Points can now be rendered with customizable and scalable symbols

06 Apr 12:23
7cd91bb
Compare
Choose a tag to compare

Version 2.7.1 2022-04-06

  • Points can now be rendered with customizable and scalable symbols
  • The time dimension for a layer in a GetCapabilities document can now be set based on the modification time of the file by configuring a dimension using: <Dimension default="filetimedate">time</Dimension>
  <Symbol name="triangle" coordinates="[[-1, -1], [1, -1], [0.0, 1], [-1, -1]]"/>
  <Symbol name="square" coordinates="[[-1, -1], [1, -1], [1, 1], [-1, 1], [-1, -1]]"/>
  
  <Style name="age_magnitude">
    
    <Legend fixed="true" tickinterval="100000">magnitude</Legend>
    <RenderMethod>point</RenderMethod>
    <Min>0</Min>
    <Max>2000000</Max>
    <NameMapping name="point" title="Seismic events with age and magnitude" abstract="The seismic events are colored according to age and the size of the disc is based on Magnitude"/>
    <Point min="2592000" max="1000000000000" pointstyle="radiusandvalue" symbol="triangle" textformat=" " plotstationid="false"  fillcolor="#CCCCCC" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="604800" max="2592000" pointstyle="radiusandvalue" symbol="square" textformat=" " plotstationid="false"  fillcolor="#FFFFFFFF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="86400" max="604800" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FFFF00FF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="3600" max="86400" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FF9900FF" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <Point min="0" max="3600" pointstyle="radiusandvalue" textformat=" " plotstationid="false"  fillcolor="#FF0000" discradius="2.5" textradius="0" dot="false" fontsize="14" textcolor="#FFFFFF"/>
    <LegendGraphic value="{ADAGUC_DATASET_DIR}/beslegend.png"/>
  </Style>


  <Layer type="database">
    <Title>magnitude</Title>
    <FilePath filter="^.*\.csv$">/data/adaguc-autowms/BES/usgs_earthquakes-bla.csv</FilePath>
    <Variable>age</Variable>
    <Variable>magnitude</Variable>
    <Styles>age_magnitude</Styles>
  </Layer>

Gives

image

Support for pointstyle radiusandvalue

21 Mar 11:04
88c79d0
Compare
Choose a tag to compare

image

Automate docker build and push to dockerhub

08 Feb 07:50
aa5e267
Compare
Choose a tag to compare

Automate docker build and push to dockerhub

2.6.5 Hillshading enabled

24 Dec 15:38
3516bf1
Compare
Choose a tag to compare
Merge pull request #194 from KNMI/265

Version 2.6.5

2.6.4 - Autotiling option

23 Dec 14:39
Compare
Choose a tag to compare

The adaguc-server now has an option to create tiles during file ingestion with updatedb. Set the autotile="true" option in the TileSettings element of the layer.

 <Layer type="database">
    <Name>testdata</Name>
    <Title>Tiled wcstest_lonlat.nc</Title>
    <FilePath>{ADAGUC_PATH}/data/datasets/wcstest_lonlat.nc</FilePath>
    <Variable>testdata</Variable>
    <RenderMethod>nearest</RenderMethod>
    <TileSettings tilewidthpx="90" 
                  tileheightpx="90" 
                  tilecellsizex="1"
                  tilecellsizey="1"
                  left="-180" right="180"  bottom="-90" top="90"
                  tileprojection="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
                  minlevel="1"
                  maxlevel="3"
                  debug="false"
                  autotile="true"
                  tilepath="{ADAGUC_TMP}/tiling"/>
    <Styles>testdata</Styles>
   </Layer>

2.5.11 - Correct rendering of IPCC data on North and South pole projections

12 Jul 12:59
fcb41a1
Compare
Choose a tag to compare
Merge pull request #166 from KNMI/fix-postproc-hdf5-data

Fix postproc hdf5 data