Hello,
I am trying to let THREDDS aggregate our HIRLAM model runs with a
datasetFmrc.
I'm using TDS4.0 (because I need NetCDF-java 4.0).
The files are one file per time step, filenames are
"LAMH_D11_200902170600_00300_AB" and they are in directory
"/home/vreedede/data/models/HIRLAM".
The aggregation fails on getting
"thredds/catalog/fmrc/KNMI/HIRLAM/D11/catalog.html" with a
NullPointerException in ucar.nc2.ncml.AggregationFmrcSingle.makeDatasets
line 153
<datasetFmrc name="D11" path="fmrc/KNMI/HIRLAM/D11"
serviceName="both">
<metadata inherited="true">
<authority>nl.knmi</authority>
<dataType>Grid</dataType>
<dataFormat>GRIB-1</dataFormat>
<documentation type="rights">KNMI</documentation>
<documentation xlink:href="http://hirlam.knmi.nl"
xlink:title="HIRLAM D11 Model documentation"></documentation>
<documentation xlink:href="http://hirlam.knmi.nl"
xlink:title="HIRLAM D11 Model documentation"></documentation>
<timeCoverage>
<end>present</end>
<duration>2 days</duration>
</timeCoverage>
</metadata>
<netcdf
xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"
enhance="true">
<aggregation dimName="run" type="forecastModelRunSingleCollection"
timeUnitsChange="true" recheckEvery="10 min">
<!-- example filename LAMH_D11_200902170600_02700_AB -->
<scanFmrc location="/home/vreedede/data/models/HIRLAM/"
regExp="LAMH_D11.*"
runDateMatcher="#LAMH_D11_#yyyyMMddHH"
forecastOffsetMatcher="HHH#00_AB#"
subdirs="false"
olderThan="5 min" />
</aggregation>
</netcdf>
</datasetFmrc>
Is my ncml wrong?
Greetings Ernst de Vreede