Skip to content

Releases: KNMI/adaguc-server

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

Improved contourlines and text rounding in legend and contours

04 Dec 11:01
b44f5d9
Compare
Choose a tag to compare

Auto textformatting in the Legend for ShadeInterval is now improved but can also be set in the the textformatting property of Legend.

Adaguc can be used from within python3

18 Nov 12:10
623efec
Compare
Choose a tag to compare