KNMI / adaguc-server

ADAGUC is a geographical information system to visualize netCDF files via the web. The software consists of a server side C++ application and a client side JavaScript application. The software provides several features to access and visualize data over the web, it uses OGC standards for data dissemination.
Apache License 2.0
26 stars 27 forks source link

BUG: Configuring a databasetable in adaguc-server does not seem to work anymore #408

Open maartenplieger opened 6 days ago

maartenplieger commented 6 days ago

The following xml file does not seem to work anymore. See attached HDF5 files in second message as well.

When you remove the DataBaseTable, the layer starts to work again.

If you configure a database table, the layer stops working.


<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <Include location="/data/adaguc-datasets/includes/StandardStyles_RADAR.xml" />

  <Environment name="ADAGUCENV_RETENTIONPERIOD" default="P7D" />
  <Environment name="ADAGUCENV_ENABLECLEANUP" default="true" />
  <Settings enablecleanupsystem="{ADAGUCENV_ENABLECLEANUP}" cache_age_volatileresources="60" cache_age_cacheableresources="36000"/>

  <Layer type="database">
    <Name force="true">3d_composite_10</Name>
    <Title>3d composite dBZ&gt;-10</Title>
    <Group value="3D_RADAR_COMPOSITE"/>
    <FilePath filter="^3D_RADAR_COMPOSITE.*\.nc$">/data/adaguc-data/RADAR/EWC/3d-radar-composite/</FilePath>
    <Variable>reflectivity</Variable>
    <Dimension name="time" interval="PT5M" units="ISO8601">time</Dimension>
    <Dimension name="z" units="km">z</Dimension>
    <Styles>dBZ_more_than_-10_3D</Styles>
    <DataBaseTable>RADAR_COMPOSITE_3D_2</DataBaseTable>
  </Layer>
  <Layer type="database">
    <Name force="true">3d_composite_0</Name>
    <Title>3d composite dBZ&gt;0</Title>
    <Group value="3D_RADAR_COMPOSITE"/>
    <FilePath filter="^3D_RADAR_COMPOSITE.*\.nc$">/data/adaguc-data/RADAR/EWC/3d-radar-composite/</FilePath>
    <Variable>reflectivity</Variable>
    <Dimension name="time" interval="PT5M" units="ISO8601">time</Dimension>
    <Dimension name="z" units="km">z</Dimension>
    <Styles>dBZ_more_than_0_3D</Styles>
    <DataBaseTable>RADAR_COMPOSITE_3D_2</DataBaseTable>
  </Layer>

  <!-- End of configuration /-->
</Configuration>
maartenplieger commented 6 days ago

3D_RADAR_COMPOSITE_20240528000.zip