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

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

Open
maartenplieger opened this issue Oct 1, 2024 · 1 comment

Comments

@maartenplieger
Copy link
Member

maartenplieger commented Oct 1, 2024

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
Copy link
Member Author

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