-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from KNMI/fix-postproc-hdf5-data
Fix postproc hdf5 data
- Loading branch information
Showing
10 changed files
with
182 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ USER root | |
LABEL maintainer="[email protected]" | ||
|
||
# Version should be same as in Definitions.h | ||
LABEL version="2.5.11" | ||
LABEL version="2.5.12" | ||
|
||
######### First stage (build) ############ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Configuration> | ||
|
||
<WMS> | ||
<Title>RADNL_OPER_R___25PCPRR_L3_WMS</Title> | ||
<Abstract>Radar precipitation measurements above the Netherlands, on a 1.0x1.0 km grid, measurements are available in a five minute time interval. The intensity is in kg/m2/hour (mm/hour). The dataset is created from KNMI RAD_NL25_PCP_NA files. For interoperability, the original unit reflectivity in DBZ is converted to precipitation flux in kg/m2/h. The conversion from dbZ to kg/m2/h is applied with the formula R = 10^((PixelValue -109)/32).</Abstract> | ||
<RootLayer> | ||
<Title>RADNL_OPER_R___25PCPRR_L3_WMS</Title> | ||
<Abstract></Abstract> | ||
</RootLayer> | ||
</WMS> | ||
|
||
<WCS> | ||
<Title>RADNL_OPER_R___25PCPRR_L3_WCS</Title> | ||
<Label>wcsLabel</Label> | ||
<WCSFormat name="netcdf" driver="ADAGUCNetCDF" mimetype="Content-Type:application/netcdf" options=""/> | ||
<WCSFormat name="NetCDF3" title="GDAL NetCDF3" driver="ADAGUC" mimetype="Content-Type:text/plain" options="FORCENC3=TRUE"/> | ||
<WCSFormat name="NetCDF4" driver="ADAGUC" mimetype="Content-Type:text/plain"/> | ||
</WCS> | ||
|
||
|
||
<Legend name="KNMIRadarPalette_mmh" type="interval"> | ||
<palette min="0" max="38" red="255" green="255" blue="255"/> | ||
<palette min="38" max="80" red="170" green="170" blue="170"/> | ||
<palette min="80" max="118" red="85" green="85" blue="85"/> | ||
<palette min="118" max="160" red="255" green="128" blue="128"/> | ||
<palette min="160" max="198" red="255" green="0" blue="0"/> | ||
<palette min="198" max="255" red="0" green="0" blue="0"/> | ||
</Legend> | ||
|
||
<Style name="radar"> | ||
<Legend>KNMIRadarPalette_mmh</Legend> | ||
<ValueRange min=".09" max="1000000"/> | ||
<RenderMethod>nearest</RenderMethod> | ||
<Min>0.1</Min> | ||
<Max>100</Max> | ||
<Log>10</Log> | ||
</Style> | ||
|
||
<!-- Layers --> | ||
<Layer type="database" hidden="false"> | ||
<Name>RAD_NL25_PCP_CM</Name> | ||
<Title>Precipitation Radar NL</Title> | ||
<Variable>image1.image_data</Variable> | ||
<!-- RAD_NL25_PCP_CM_202102170000.h5 --> | ||
<FilePath filter="^RAD_NL25_PCP_CM_.*\.h5$">{ADAGUC_PATH}/data/datasets/test/</FilePath> | ||
<Dimension name="time" units="ISO8601" interval="PT5M" default="max">time</Dimension> | ||
<Styles>radar</Styles> | ||
<DataPostProc algorithm="dbztorr" units="mm/hr"/> | ||
</Layer> | ||
</Configuration> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/expectedoutputs/TestWMS/test_WMSGetFeatureInfo_timeseries_KNMIHDF5_json.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"name":"RAD_NL25_PCP_CM","standard_name":"image1.image_data","units":"mm/hr","point":{"SRS":"EPSG:4326","coords":"6.163147,51.837904"},"dims":"time","data":{"2021-06-22T20:00:00Z":"5.225240"}}] |