Professional Documents
Culture Documents
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
09ReportModule
08ErrorCorrectionModule(ARMA)
05ConfiguringtheavailableDelftFEWSmodules
10PerformanceIndicatorModule
ReportModuleConfiguration
Configuringformattingofreports
declarations
defineGlobal
<item>Format
templateDir
reportRootsDir
reportRootsSubDir
sendToLocalFileSystem
temporary
Configuringcontentofreports
report
InputVariable
FileResource
Chart
Summary
Table
Status
Template
OutputSubDir
OutputFileName
DefineLocal
Charts
Templatetag
Configurationaspects
Chartattributes
Charttimeseries
Spatialplotsnapshots
Configurationaspects
snapshot
Summary
Templatetag
Creatingasummary
Configuringasummary
Detailedexplanation
UseofoptionalsettingsinmapFormatandoverlayFormat
Clickablemap
Hyperlinks
Reportsection
Tables
Templatetag
htmlTable
Declarationssection
ReportSection
Detailedexplanation
thresholdsCrossingsTable
Declarationssection
Reportsection
thresholdCrossingCountsTable
Declarationssection
Reportsection
flagCountsTable
Declarationssection
Reportsection
flagSourceCountsTable
Declarationssection
Reportsection
maximumStatusTable
Declarationssection
ReportsSection
DetailedExplanation:Twotablesintoone
DetailedExplanation:Widevariationoftables
Someexamples
mergedPrecipitationTable
DeclarationSection
Reportsection
SystemStatusTables
liveSystemStatus
ReportSection
exportStatustable
DeclarationsSection
ReportSection
importStatustable
DeclarationsSection
ReportSection
scheduledWorkflowStatustable
DeclarationsSection
ReportSection
completedWorkflowStatustable
DeclarationsSection
ReportSection
currentForecastStatustable
DeclarationsSection
ReportSection
logMessageListingtable
DeclarationsSection
ReportSection
forecastHistorytable
DeclarationsSection
ReportSection
AnimatedGIF
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
1/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Reportsection
SchematicStatusDisplayReports
AnimationinAviformat
AnimationinanimatedGifformat
SnapshotsinPngformat
SnapshotsinSvgformat
rowPerLocationHtmlTable
GeneratePDFfromHTMLreport
Improvedreportconfiguration
Tagsinreporttemplate
UsingColoursinTables
CSSTableStyles
ReportModuleConfiguration
TheroleofthereportmoduleistogeneratereportsoftheforecastresultsinaformthatcaneasilybedisplayedwithoutusingDELFTFEWSonawebserver.Reportsthatare
producedbyDELFTFEWSservetwopurposes:
provisionofdetailed,specificinformationtoe.g.forecastingdutyofficers,areaofficers
provisionofgeneral,overviewreports
Reportsareusedtopresenttheforecastresultdatainafixed,userdefined,format.Theformatofareportcanbeeasilycustomizedbyauserandstoredinatemplate.
SomefunctionsoftheDELFTFEWSusethereportcomponenttopresenttheresults.Forexamplethecriticalconditionlookuptablesdefinedinforexamplecoastalforecasting
onlyproduceindextimeseries.Withoutpostprocessingoftheseindices,ausercanneverseewhatishappeninginhiscoastalsystem.Thereportcomponentwillthereforealso
beusedtointerprettheindicesandtransformtheseintoinformationthatausercanunderstand.TheValueAttributeMaps(seeRegionalConfiguration)definehowtheseindicesare
tobetransformedtounderstandablestringsand/oricons.
Reportsgeneratedcanbeexporteddirectlytothefilesystem(forviewingthroughthewebserver)ortheycanbestoredinthedatabase.Thereportexportmodulemaythenbe
usedtoexportingselectedreportswhenrequiredtothewebserver.
Thereporttemplateusestagsasplaceholderstoidentifythelocationofobjectsinthereport.Inthefollowingtabletheavailabletagsaredescribed.AppendixDgivesanoverview
ofavailabletags.AppendixDalsogivesdetailsonhowdefineddeclarationsaretobeusedinthereportsallowinglayoutoftablesetc.tobedefined.
Whenavailableasconfigurationonthefilesystem,thenameoftheXMLfileforconfiguringaninstanceofthecorrelationmodulecalledforexampleReport_Coastal_Forecastmay
be:
Report_Coastal_Forecast1.00default.xml
Report_Coastal_Forecast
FilenamefortheReport_Coastal_Forecastconfiguration.
1.00
Versionnumber
default
Flagtoindicatetheversionisthedefaultconfiguration(otherwiseomitted).
Figure89ElementsoftheReportsconfiguration
Configuringformattingofreports
declarations
Rootelementfordeclaringvariablesandformatstobeusedinmakingthereport.DetailsonhowthesearetobeconfiguredisgiveninAppendixD.
Figure90Elementsofthedeclarationsconfiguration
defineGlobal
TheDefineGlobalelementcanbeusedtoentersomeinformationthatisvalidforallreports.MultipleDefineGlobalelementsmaybedefined,aslongastheIDattributeiskept
unique.
RelatedTAG:$DEFINITION(definitionId)$
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
2/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
<item>Format
Formattinginstructionsforaspecificiteminthereport.SeeAppendixDfordetails.
templateDir
Rootdirectoryofthedirectorycontainingreporttemplates.
reportRootsDir
Rootdirectorytowhichtheallreportsaretobeexported.Thisdirectoryistypicallytherootdirectoryofthewebserver
Note:Aglobal.propertiestagmaybeusefultodefinethisdirectory
reportRootsSubDir
Rootdirectorytowhichthecurrentreportsaretobeexported.ThisdirectoryisrelativetothereportsRootsDir
sendToLocalFileSystem
Booleanoptiontodetermineifreportsaretobewrittentothefilesystemoncreation.IfsettofalsereportswillbestoredintheReportstableinthedatabase,pendingexport
throughtheReportExportmodule.
temporary
Whentemporarythereportsareonlyavailableforthereportexportmoduleexecutedinthesamerun.Thereportsarenotsavedtothedatabasebutinsteadtoatempfilethatis
deletedattheendoftherun
Configuringcontentofreports
report
Rootelementfordefiningthedatatobeincludedinthereport.
Figure91ElementsoftheReportconfiguration
InputVariable
InputtimeseriesSetsforthereport.AlltimeSeriesSetsthatareusedinthereportmustbedefinedhere,bothforcartsandfortables.SeeTransformationModulefordetailson
defininganinputVariableelement.
FileResource
Referencetoanexternalfilethatmustbecopiedwiththereport.Thefilewillbecopiedtothesamelocationasthereport,withthecorrectfilenameinsertedattheplaceofthetag.
Thiscanbeusedforcopyingimages.
RelatedTAG:$FILERESOURCE(resourceId)$
Chart
IntheChartelementthevariableId'stobeusedforoneormorechartsaredefined.TheChartIDthatisdefinedisreferencedintheTAG.
RelatedTAG:$CHART(chartId)$
Summary
IntheSummaryelementthevariableId'sarespecifiedthatareusedtocreatethesummaryinformation.TheOverlayFormatoftheSummaryFormatdetermineswhatisshownon
themap.
RelatedTAG:$SUMMARY(summaryId)$
Table
IntheTableelementthevariableId'sarespecifiedthatareusedtocreateatable.TheTableFormatcontrolshowthetableisformatted,i.e.therowandcolumninformationandhow
thedataisdisplayedinthemap.
RelatedTAG:$TABLE(tableId)$
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
3/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Status
TheStatuselementlinksaStatusIDthatisreferencedintheSTATUSTAGtoaStatusFormatID.
RelatedTAG:$STATUS(statusId)$
Template
Templatefilenametobeusedforthereport.
OutputSubDir
Optionaloutputsubdirectoryforthisreport.
IfsingleLocationistrue,thenoutputSubDircancontainlocationattributeids,e.g."H_(BASIN)",wheretagsbetween"@"signsrefertolocationattributesthataredefinedinthe
locationSetsconfigfile.Thesetagswillbereplacedwiththecorrespondingattributevaluesofthelocationofthereport.Thesevaluescanbedifferentfordifferentlocations.See22
LocationsandattributesdefinedinCSVfiles,ShapeDBFfilesorexternaltablesformoreinformation.Ifrequiredtousea"@"signinthiselementwithoutusinglocationAttributes,
thenneedtoaddanextraescapecharacter"@"beforeeach"@"sign.Inotherwords"@@"isreplacedwithasingle"@"sign.
OutputFileName
Outputfilenameforthisreport.
Thefollowingtagscanbeusedtocustomizethefileoutputname:
%LOCATIONID%
%TIMESERIES_POSTFIX(dateFormatId)%
%CURRENTTIME(dateFormatId)%
%TIMEZERO(reportVariableIddateFormatId)%
%TIMESTEP(dateFormatId)%(onlysupportedforspatialPlotSnapshotssnapshotfileNames).
%LOCATIONID%
IfsingleLocationistrue,thencanusetag%LOCATIONID%here,whichwillbereplacedwiththeidofthelocationofthereport.IfsingleLocationistrue,andthe%LOCATIONID%
tagisnotpresent,thena"_"signandtheidofthelocationofthereportwillbeinsertedautomaticallyjustbeforethe"."signinthefilename.
Additionally,ifsingleLocationistrue,thenoutputFileNamecancontainlocationattributeids,e.g."H_(BASIN)",wheretagsbetween"@"signsrefertolocationattributesthatare
definedinthelocationSetsconfigfile.Thesetagswillbereplacedwiththecorrespondingattributevaluesofthelocationofthereport.Thesevaluescanbedifferentfordifferent
locations.See22LocationsandattributesdefinedinCSVfiles,ShapeDBFfilesorexternaltablesformoreinformation.Ifrequiredtousea"@"signinthiselementwithoutusing
locationAttributes,thenneedtoaddanextraescapecharacter"@"beforeeach"@"sign.Inotherwords"@@"isreplacedwithasingle"@"sign.
%TIMESERIES_POSTFIX(dateFormatId)%
TheTIMESERIES_POSTFIXtagwillbereplacedbytheminimumdateoftheconfiguredtimeSeriesinthereport.IfnotimeSerieshavebeenconfigured,thesystemdatewillbe
used.AnoptionaldateFormatidcanbespecified.Forexample:%TIMESERIES_POSTFIX(dateFormatId)%wheredateFormatIdistheidofadateFormatasspecifiedinthe
reportsdeclarations.IfnodateFormatIdispassed,thedefaultdateformatddmmyyyymwillbeused.
%CURRENTTIME(dateFormatId)%
TheCURRENTTIMEtagwillbereplacedbythecurrentsystemtime.AnoptionaldateFormatidcanbespecified(seeTIMESERIES_POSTFIX).
%TIMEZERO(reportVariableIddateFormatId)%
TheTIMEZEROtagwillbereplacedbytheminimumT0ofthetimeSeriesconfiguredbythereportVariableId.Ifnoparameterisconfigured,T0ofthetaskrunwillbeused.The
reportVariableIdisoptional.
AnoptionaldateFormatidcanbespecified(seeTIMESERIES_POSTFIX).
N.B.:Becarefulinspecifyingdateformatsthatarecompatiblewiththefilesystem.Forexampleand:inthedateformatwillnotbecompatiblewiththewindowsfilesystem.
%TIMESTEP(dateFormatId)%
TheTIMESTEPtagwillbereplacedbythetimestepofaspatialPlotSnapshotssnapshot.AnoptionaldateFormatidcanbespecified.Forexample
<snapshotid="Waterlevel_0">
<relativeTimeunit="hour"value="0"/>
<fileName>Report.EAM.Waterlevel.FC_%TIMESTEP(df1)%</fileName>
</snapshot>
DefineLocal
TheDefineLocalelementcanbeusedtoentersomeinformationthatisvalidforasinglereport.MultipleDefineLocalelementsmaybedefined,aslongastheIDattributeiskept
unique.
AspecialcaseoftheDefineLocalattributeiswhentheDefineLocalIDisthesameasapreviouslyDefineGlobalID.InthiscasetheDefineLocaloverridesthesettingofthe
DefineGlobal.Thisisvalidonlyforthereportbeingconfigured,notforanyotherconfiguredreportsinthesameconfigurationfile.
RelatedTAG:$DEFINITION(definitionId)$
Thetemplatefunctiontag$DEFINITION(defineLocalId)$willbereplacedwiththevalueofthedefineLocalelementwiththecorrespondingid.
IfsingleLocationistrue,thenthevalueofadefineLocalelementcancontainlocationattributeids,e.g."H_(BASIN)",wheretagsbetween"@"signsrefertolocationattributesthat
aredefinedinthelocationSetsconfigfile.Thesetagswillbereplacedwiththecorrespondingattributevaluesofthelocationofthereport.Thesevaluescanbedifferentfordifferent
locations.See22LocationsandattributesdefinedinCSVfiles,ShapeDBFfilesorexternaltablesformoreinformation.Ifrequiredtousea"@"signinthiselementwithoutusing
locationAttributes,thenneedtoaddanextraescapecharacter"@"beforeeach"@"sign.Inotherwords"@@"isreplacedwithasingle"@"sign.
Charts
Chartscanbeusedforvisualizingtimeseries.ThechartswhichcanbeaddedtohtmlreportslookmoreorlessthesameasintheTimeSeriesDisplay.Theconfigurationissimular
todisplaygroups.Chartsarebeingcreatedas(individual)*.pngfiles.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
4/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure92Exampleofachart(*.pngfile)
Templatetag
IntheChartelementthevariableId'stobeusedforoneormorechartsaredefined.TheChartIDthatisdefinedisreferencedintheTAG.
RelatedTAG:$CHART(chartId)$
Configurationaspects
Chartshouldbeconfiguredaccordingthefollowingschemadefinition.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
5/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure93ChartdefinitionaccordingtheChartComplexType(reports.xsd).
Itispossibletohavetwoyaxisvisibleinthesameplot.Thiscanbedonebyhavingmultipletimeserieswheresomeareassignedtotheleftyaxisandsometotherightyaxis,or
byhavingatimeseriesontheleftyaxiswithanassignedratingcurveontherightyaxis.Soeverytimeseriesplot(alsoinreports)willhaveamandatoryleftyaxistowhicha
timeseriesisassignedandanoptionalrightyaxistowhichatimeseriesorratingcurveisassigned.
Thedisplayofthresholdlinesaresupportedforoneyaxis.Buttherecanbethresholdlinesforeithertheleftortherightyaxis,butnotboth.Notethatfurtherconstraintsonwhat
thresholdsaredisplayedispossibleinthereportsschema.
MultipleTimeSeriesplots
Toassignatimeseriestotheleftorrightyaxisusethe<axis>element.Thiselementisoptionalandleavingitoutwillassignit(default)totheleftaxis.Pleasenotethatatleast
onetimeseriesshouldbeontheleftaxis(byeithersettings<axis>left</axis>orleavingtheelementoutandusingthedefault).
Belowaretwoexamplesofaconfigandtheresultingplot.
<chartid="Example7"formatId="chartFormat2"width="500"height="306">
<timeSeriespreferredColor="green"lineStyle="solid;thick"axis="right"visibleInLegend="true"label="Gemessen">series1</timeSeries
<timeSeriespreferredColor="red"lineStyle="solid;thick"axis="right"visibleInLegend="true"label="COSMO2">series2</timeSeries>
<timeSeriespreferredColor="orange"lineStyle="solid;thick"axis="left"visibleInLegend="true"label="COSMO7">series3</timeSeries>
<timeSeriespreferredColor="violet"lineStyle="solid;thick"axis="left"visibleInLegend="true"label="ECMWF">series4</timeSeries>
<fileName>Example7</fileName>
</chart>
Stage/dischargeplots
Whenadischargeisdisplayed,itispossibletoshowthestageontherightaxis.Itisnotpossibletoconfigurethisratingontheleftaxis(andthetimeseriesontherightaxis),since
aplothastohaveatleastonetimeseriesontheleftaxis.
Therightaxisisthennotalinearaxisbuttheticksontherightaxisarecalculatedfromthedischargeticksontheleftaxis.
Itisalsopossibletodisplaythestageandshowthedischargeontherightaxis.Theexamplebelowshowsadisplaywhichplotsseveraldischargetimeseries.
Theleftaxisisalinearaxiswithticksforthedischarge.Therightaxisisanonlinearaxis.
Theticksontherightaxisarecalculatedfromthevalueofthedischargeontheleftaxisbyusingaratingcurve.
Belowanconfigurationandresultingplot
<chartid="Example4"formatId="chartFormat1"width="900"height="300">
<rightAxis>
<ratingCurve>
<ratingCurveId>location1</ratingCurveId>
<reverse>true</reverse>
</ratingCurve>
</rightAxis>
<timeSeriesaxis="left"preferredColor="blue"markerStyle="none"lineStyle="solid;thick"label="geenverwachting"visibleInLegend="true"
<fileName>Example4</fileName>
</chart>
<chartid="Example8"formatId="chartFormat1"width="900"height="300">
<rightAxis>
<ratingCurve>
<ratingCurveId>location1</ratingCurveId>
<reverse>true</reverse>
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
6/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
</ratingCurve>
</rightAxis>
<timeSeriesaxis="both"preferredColor="blue"markerStyle="none"lineStyle="solid;thick"label="geenverwachting"visibleInLegend="true"
<timeSeriesaxis="left"preferredColor="black"markerStyle="circle"lineStyle="solid;thick"label="meetwaarde"markerSize="3">series2</
<fileName>Example8</fileName>
</chart>
Foraddingacharttoareportthefollowingaspectsareimportanttoconfigure:
Chartattributes
Charttimeseries
Chartattributes
Todisplaythechartthefollowingattributesneedtobedefined:
Id:uniqueidentifierforthischart(uniqueinthisreport)
formatId:referringtotheformatofthischart(indeclarationsectionofthereport)
height:anintegervaluefortheheightofthechartinpixels
width:anintegervalueforthewidthofthechartinpixels
Charttimeseries
Todisplaylines,dotsetc.ofacertaintimeseries,thereferencetothistimeseries(variableId)shouldbementioned.
Figure94chartdeclarationinthereportsection
Spatialplotsnapshots
Griddedtimeseriescanbevisualizedinareportbymeansofsnapshots.Thesnapshotisanimagedepictingthetimeseriesspatially.
Configurationaspects
Spatialplotsnapshotsareconfiguredaccordingtothefollowingschemadefinition(sharedTypes.xsd)
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
7/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
snapshot
ThesnapshotisdefinedasarelativetimeintervalfromT0.Optionallyafilenamemaybespecifiedforthesnapshotwhichisusedtosavethesnapshotonthefilesystem.If
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
8/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
omittedthefilenameisgeneratedbythereportmodule.
Summary
Asummaryisa(background)mapwhichcanbeaddedtoareport.Ontopofthismap,iconscanbedisplayed.Theiconsindicatethelocationorthe(warning)statusofthe
monitoringorforecastingpoint.Byaddingspecifichtmlfunctionalitytothereporttemplate(s),mapscanbeusedtonavigatethroughthereportsaswell.Clickableareasand
locationscanbedistinguishedhere.Themapitself(asafile)canbeanyimagefile.Fordisplayingmapsinhtmlreportsthefollowingformatsareadvised:*.png,*.jpgor*.gif.
Templatetag
IntheSummaryelementthevariableId'sarespecifiedthatareusedtocreatethesummaryinformation.TheOverlayFormatoftheSummaryFormatdetermineswhatisshownon
themap.
RelatedTAG:$SUMMARY(summaryId)$
Creatingasummary
Themapitselfisanexistingfileandcanbecreatedinseveralways.Animageprocessingsoftwarepackage(likePaintShopPro)cancreatea'screendump'fromthemapsection
ofTheFEWSExplorer.TheFEWSExploreritselfhassomehiddenfeatureswhichcanbeusedaswell.The[F12]buttoncanbeusedfor:
Copycurrentmaptoa.pngfile([F12]+L)
Copycurrentmapextenttotheclipboard([F12]+K)
The*.pngfileisnamed"currentmap.png"andcanbefoundinthe/bindirectoryofyoursystem.Themapextent(rectanglecontainingrealworldcoordinates)canbepastedintoany
applicationbychoosingEditPasteor[Ctrl]+V.Thesefourcoordinatesdescribingtheextentofyourmappictureinworldcoordinatesareneededinthedeclarationssectionofthe
reportModuleConfigFilewhereyoudeclarethissummary.
Remark:Everytimeyouusetheabovementioned[F12]features,thepngfileinthe/bindirectoryandtheclipboardisoverwritten!Inmakingseriesofmapsyoushould
copy/renameyourpngfileafterusingthisoption.Youshouldalsopastethemapextentinatexteditororspreadsheetdirectlybeforerepeatingtheoperationswithanothermap
extentintheFEWSExplorer.
Configuringasummary
Declarationsection
InthedeclarationssectionofthereportModuleConfigFile,thesummaryFormatneedstobedeclared.Thefollowingelementsshouldbespecified(seefigure).
Id:uniqueidentifier(asreferencetothissummary)
Map
oImage
file:relativereference/pathtotheimagefile
width:widthoftheimagefileinpixels
height:heightoftheimagefileinpixels
ox0:horizontalmargin/shiftofthemaponthehtmlpage
oy0:verticalmarginshiftofthemaponthehtmlpage
oleftLongitude:leftsideofthemapinrealworldcoordinates
orightLongitude:rightsideofthemapinrealworldcoordinates
obottomLatitude:bottomsideofthemapinrealworldcoordinates
otopLatitude:topsideofthemapinrealworldcoordinates
omapFormat:detailsforpositioningandbehaviourofthemap
ooverlayFormat:detailsforpositioningandbehaviouroficonsonthemap
Figure95Summaryformatinthedeclarationssection
Detailedexplanation
Filedetailslikewidthandheightcanberetrievedusingimageprocessingsoftware.
Thex0andy0elementsaremargins/shiftsofthepositionofthemapcomparedtotheleftupperpointofthereport(e.g.anA4sheet).Thisleftupperpointis(0,0).Thex0/y0
refertotheleftupperpointoftheimage.
ThemapFormatisusedforpositioningthemaponthepage(relativetoallothercontent)andthereforitisplacedinasocalled[DIV]tag.Thistypeofhtmltagputs
everythingwhichisconfiguredwithinthattaginthatpositiononthepage.Thefollowingtableexplainsthereferencesofthenumberinthisformat:
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
9/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Position
Type
Variable
number
Absolutexpositionofmapimage.
number
Absoluteypositionofmapimage.
number
Imagewidth.
number
Imageheight
number
Imagefilename.
5(optional)
number
Referencetoaclickablemap(#clickmapbydefault)
TheoverlayFormatisusedforpositioninglocationand/orwarningiconsonthemapbasedon:
Themapitself(definedinmapFormat)
XandYcoordinatesoftherequiredlocationsfromtheLocations.xml
Notethatincaseofnumbersbiggerthan999,itcanbethattheoutputmaycontainunwantedcommas,e.g.width1274isprintedinthereportsas1,274.Inordertoavoid
this,itisrecommendedtouse
{<position>,number,#}
insteadof
{<position>,number}
.
NotethatwhenprovidingasinglequotewithinasnippetofjavascriptofOverlayFormatinaformatfieldofthereportXMLconfigurationandthereportappearstobemissing
thissinglequotecharacter,thiscanbefixedbyaddingtheadditionalescapecharacterintheformofanadditionalsinglequote.Amoreverbosealternativeistoput
''or&apos&apos.
Position
Type
Variable
number
Absolutexpositionofstatusicon.
number
Absoluteypositionofstatusicon.
string
Imagefilename.
string
Statusdescription.
string
Locationname.
5(optional)
string
Htmllinkforopeningaindividualhtmlpage(forecastlocation.html)
ThemapFormatandoverlayFormatelementsareconfiguredinhtmllanguageinwhichsomepartsneedstobedynamicallyfilledin.Theresultwillbevalidhtml.Themapitselfis
placedasthebottom'layer'usingthe<DIV>tagattributes(index="0")inthemapFormat.ObjectsdefinedintheoverlayFormataregivenhigherindicestoplacethem'ontopofthe
map'andwillalwaysbevisible(locationicons,warningicons).
UseofoptionalsettingsinmapFormatandoverlayFormat
Inbothformats,anoptionalitemcanbespecified.
Clickablemap
Aclickablemapisanimageonahtmlpagecontaining'hotspots'wherethecursorchangefromthenormal'arrow'toa'pointingfinger'duringamouseoverevent.Thesehotspots
cancontainhyperlinkstootherpages.
mapFormat
<divstyle="TOP:{1,number,#}px;
LEFT:{0,number,#}px;
position:absolute;Zindex:0">
<imgborder="0"src="{4}"
width="{2,number,#}"height="{3,number,#}"
usemap="{5}">
</div>
Whenaddingthestring"usemap="{5}"tothemapFormat(seeabove)theoutcomeinthehtmlpagewillbe(printedinbold).
Thepartdescribingthehotspotsforthismaparedefinedinthe[map]tag.Inthisexamplebelow,threeareasare'clickable'.Everyhotspotslinkstoanotherhtmlpageinthesetof
reports.
<imgborder="0"src="northeast.png"width="503"height="595"*usemap="#clickmap"*>
<!Heretheclickablemapstarts:SHOULDBEINTHETEMPLATE>
<mapname="clickmap">
<areaalt="NorthumbriaArea"href="northumbria/area_status.html"shape="polygon"coords="138,...,...,34">
<areaalt="DalesArea"href="dales/area_status.html"shape="polygon"coords="266,...,...,285">
<areaalt="RidingsArea"href="ridings/area_status.html"shape="polygon"coords="359,...,...,379">
</map>
Toavoidhotspotsonamap,donotincludethe"usemap="{5}"inthemapFormat.
Hyperlinks
HyperlinkscanbeaddedtotheoverlayFormat.Byusingthefollowingoption,hyperlinkstoindividualreportswillbeaddedautomatically.Theywillhaveafixed(nonconfigurable)
name,"forecastlocation.html"andassumingitislocatedinadirectorywiththesamenameasthelocationIdcomparedtowherethisreportwiththemapislocatedinthedirectory
structure.
overlayFormat
<divstyle="TOP:{1,number,#}px;
LEFT:{0,number,#}px;
position:absolute;Zindex:1">
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
10/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
<ahref="{5}">
<imgborder="0"src="{2}"title="{4}:{3}">
</a>
</div>\n
Whenaddinghref="{5}"totheoverlayFormat(atthatlocation)ahyperlinkisbeingaddedtotheiconplacedonthemap.Inhtmlitwilllooklikethis.
<!map>
<divstyle="TOP:160px;LEFT:5px;position:absolute;Zindex:0">
<imgborder="0"src="derwent.png"width="503"height="578"usemap="#clickmap">
</div>
<!icons>
<divstyle="TOP:467px;LEFT:427px;position:absolute;Zindex:1">
<ahref="BOYNTN1/forecastlocation.html"><imgborder="0"src="fluvial_site_data.gif"
title="Boyntn1:Nothresholdexceeded"></a>
</div>
ThezindexofaiconisdeterminedbytheseverityofthethresholdWarningLevelthathasbeencrossed,meaningthatthelocationswiththehighestcrossedthresholdWarningLevel
willalwaysbevisible(andnotpotentiallyhiddenbehindothericons).Also,future/predictedcrossingshaveahigherzindexthenpast/observedcrossings.TheexactZindexfora
historicalcrossingisequaltotheseveritylevel.Foraforecastcrossingit'sequaltothemaximumconfiguredseveritylevelplustheseveritylevel.
TheoverlayFormatelementcanalsocontainlocationattributeids,e.g."(BASIN)",wheretagsbetween"@"signsrefertolocationattributesthataredefinedinthelocationSets
configfile.Thesetagswillbereplacedwiththecorrespondingattributevaluesforeachlocation.Thesevaluescanbedifferentfordifferentlocations.See22Locationsand
attributesdefinedinCSVfiles,ShapeDBFfilesorexternaltablesformoreinformation.Ifrequiredtousea"@"signinthiselementwithoutusinglocationAttributes,thenneedto
addanextraescapecharacter"@"beforeeach"@"sign.Inotherwords"@@"isreplacedwithasingle"@"sign.
Reportsection
Asummarycanbeaddedtoareportconfigurationasshownbelow.
Figure96Summaryconfigurationinthereportssection
Thefollowingelementsneedtobedefined.
Id:identifierreferringtothetaginthetemplate.Inthiscasethecorrespondingtemplatewillcontain$SUMMARY(statusAreaMap)$
formatId:identifierreferringtotheuniqueidentifierofthismapinthedeclarationssection.
timeSeries:referencetoaninputVariable(declaredinthereportorinthedeclarationssection).
mapId:referencetoavalueAttributeMap
Tables
Tablesareavailableindifferenttypes.Thesimilaritybetweenthemisthattheyarereferencedwiththesametemplatetag.
Templatetag
IntheTableelementthevariableId'sarespecifiedthatareusedtocreateatable.TheTableFormatcontrolshowthetableisformatted,i.e.therowandcolumninformationandhow
thedataisdisplayedinthemap.
RelatedTAG:$TABLE(tableId)$
Thefollowingtabletypesareavailabe:
1.table:originaltable
2.htmlTable:newstyletablewithsamefunctionalityas'table'
3.thresholdsCrossingsTable:tablecontainingnumbers(count)ofthresholdcrossings.
4.maximumStatusTable:tablecontaining(coloured)indicatingthresholdcrossingsovertime.
5.mergedPrecipitationTable:tablecontaining(merged)precipitationfiguresinspecifictimeintervals
6.systemStatusTable:tablecontainingsystem(management)information
7.rowPerLocationHtmlTable:tablewitharowperlocation
Tables2to6havereferencestocascadingstylesheets.Belowthedifferenttablesareexplained.
htmlTable
ThehtmlTableisthesuccessorofthetabledescribedearlier.TheconfigurationofthishtmlTableiseasierandmorereadable.
Declarationssection
Inthedeclarationssectionsaformatofatableneedstobedefined.Inthefigurebelow,aformatofahtmlTableisconfigured.
Figure97DeclarationofahtmlTableFormat
Thefollowingelementsneedstobedefined:
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
11/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
id:uniqueidentifier(asreferencetothistable)
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
column:indicateswhat(ofoneormoreTimeseries)shouldbeshowninthecolumns(optionsare:location,time,date,locationcritical,parameter,parameters,choice,
allSeries)
row:indicateswhat(ofoneormoreTimeseries)shouldbeshownintherows(optionsare:location,time,date,locationcritical,parameter,parameters,choice,allSeries)
relativeWholePeriod:definitionofamovingperiodintimetobedisplayed(intheexampleabove24hoursbeforethedaycontainingT0oftheforecastand24aftertheday
containingT0oftheforecast(intotal3days)
topLeftText:definitionofthetexttobedisplayedintheupperleftcellofthetable
cellFormat:formatofthecellcontainingthevalues
topFormat:Formatofthecolumnheaders:"0,number,0.00"foranumber,"0,date,dd/MMM"foradate.
Incombinationwith<column>location</column>,thetopFormatspecifieswhatshouldbewrittenintheheaderofthecolumn:"1"forlocationname,"2"forparameter
name,"3"forparameterunit(N.B.usecurlybracketsinplaceofthequotationmarks).Example:<topFormat>{1}{2}({3})</topFormat>
Incombinationwith<column>parameters</column>or<column>allSeries</column>,thetopFormatelementcanbeusedtospecifyacustomcolumnheaderforeach
datacolumn.ForatablewithonedatacolumnjustspecifythecustomcolumnheaderinthetopFormatelement.Foratablewithmultipledatacolumns,specify
multiplecustomcolumnheaders(oneforeachcolumn),separatedby"#"symbols,inthetopFormatelement.E.g."header1#header2#header3".Forparametersthe
headerscanalsouse"0"fortheparameternameand"1"fortheunitname.Thefollowingexampleshowsaconfigurationforatablewith2datacolumnswherethe
parameternameandvaluearedisplayedintheheader:<topFormat>{0}{1}#{0}{1}</topFormat>
Tousedefaultheadersinsteadofcustomcolumnheaders,leavethetopFormatelementcompletelyempty.Ifcustomcolumnheadersareused,thenthereshouldbe
asmanycustomcolumnheadersasdatacolumnsinthetable,otherwiseawarningisloggedanddefaultcolumnheadersareusedinstead
leftFormat:formatofthemostleftcolumn
missingValueText:definitionofthemissingvaluecharacter.Choicesare:"","#",""or""
nullValueText:definitionofthenullvalue(NAN)indicator.Choicesare:"","","999","nodata"
scrollable:Usethistosplitthetableintotwoparts,onefortheheaderrow(s)andoneforthedatarows.ThedatarowpartreferstothetableStyleforthistablewith
"_scrollable"appended.Thiscanbeusedtomakethedatarowsscrollablewhiletheheaderrow(s)remainfixed.Forthistoworkthereferredstyleneedstobedefinedinthe
reporttables.cssfile.
tableBackgroundColors:OverridebackgroundcolorsinaHTMLreportforcertainhoursintheweek.Workssimilarto:02TimeSeriesDisplayConfiguration
(tableBackgroundColors)
ReportSection
InthereportitselfthereferencetoatableFormatandthedeclarationofthecontentshouldtakeplace.Theschemaprescribesasfollows:
Figure98DeclarationandreferenceofahtmlTableinareport
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag(inthiscase:$TABLE(table1)$)
formatId:referencetotheformatofthistable(tooneofthehtmlTableFormatsinthedeclarationssection)
timeSeries:referencetoaninputVariable(declaredinthereportorinthedeclarationssection).
cellFormat:additiontotableStyleXclassforaddingspecificstylestothecontentofthecell
Remark:htmlTablescancontainmorethanonetimeseries.ByaddingdifferentcellFormatstotheseries(seepictureabove)differentstylescanbeattachedfordisplayinthetable.
Inthiswayyoucandistinguishthetwotimeseriesinthetable!
Detailedexplanation
ThechoiceofaddingacertaintableStyletoatablesuppliesyouwiththeopportunitytoinfluencethelooksandstyleofthetable,itsborders,backgroundandcontent.Bysetting
thetableStyleanumberofstyleclassesarebeinggeneratedinthehtmlpages.Bydeclaringtheseclassesinastylesheet(*.css)andascribeacertainfontfamily,fontsize,border
color,backgroundcoloretc.youareableto'polish'thelooksofyourreports.IfatableStyleclassisnotmentionedinastylesheet,itisbeingdisplayedusingdefaultsettings.
ThefollowingclassesaregeneratedautomaticallyandareaddedafterthetableStyleXinwhichXstandforanintegerintherange1to10.
class
description
specificfor
_beforeT0
date/timeindicationbeforetimezero(TO)oftheforecast
timecolumn(mostleftcolumn)
_firstAfterT0
date/timeindicationofthefirstoccurrenceaftertimezero(T0)oftheforecast
timecolumn(mostleftcolumn)
_afterT0
date/timeindicationaftertimezero(TO)oftheforecast
timecolumn(mostleftcolumn)
_data
defaultindicationofdatacontentofacell
datacells
_anyString
userdefinedcellFormat
datacells
_datamax
additiontocurrentstyleifvalueismaximumofthatseries(_data_datamaxor_anyString_datamax)
datacells
_leftcol
defaultindicationofarowheader
_header
defaultindicationofacolumnheader
_threshold_n
indicationofthresholdlevel(n=0,1,2,...)
thresholdtables(colouringofbackgrounds)
thresholdsCrossingsTable
Notice:thethresholdCrossingsCountTable(seefurtherbelow)isanewerversionofthistypeoftable
AthresholdCrossingsTableisatableinwhichthenumberofthresholdsforeachlevelarecounted.Thenumbergiveninthetablesuggestswiththe'worst'casesituation.Whena
timeseriescrossesanumberofthresholdsinaforecast,onlythe'worst'thresholdcrossingsarecounted.AnexampleofathresholdsCrossingsTableisgivenbelow.
Figure99ExampleofathresholdCrossingTable(NERegion)
Declarationssection
Inthedeclarationsectionsthelayoutofthetableneedstobedefined.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
12/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure100DeclarationofathresholdsCrossingsTable
Thefollowingelementsneedstobedefined:
id:uniqueidentifier(asreferencetothistable)
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
thresholdsCrossingsCounterHeaderText:Stringtobedisplayedinthetableheader
thresholdsCrossingsTableUpCrossingsHeaderText:notinuseanymore:canbeleftblank.
thresholdsCrossingsTableDownCrossingsHeaderText:notinuseanymore:canbeleftblank.
cellFormat:anystringbut"_thresholds"isrecommended:styleclassofthetableheaderincombinationwiththetypeId(rangealwaysstartswitha0)
topFormatnotinuseanymore,canbeleftblank
colWidth:widthofacolumninpixels
missingThresholdsText:Choiceformissingthreshold.Choicesare:"","#",""or""
noThresholdsCrossed:definitionofthenullvalue(NAN)indicator.Choicesare:"","","999","nodata"
countIndividualThresholds:trueifindividualthresholdcrossingsmustbecountedfalse(=default)ifperlocationonlytheworstcasemustbecounted
thresholdTypes:arrayofthresholds,assumingalogicalorder
otypeId:textualindicationofcorrespondingthresholdlevel
oname:indicationofthetexttoappearincolumnheaders
Reportsection
AthresholdsCrossingsTableshouldbedefinedinthereportaswell.E.g.thistableneedstobe'filled'withitscorrespondingtimeseries.
Figure101DeclarationofathresholdsCrossingsTableinareport
Thefollowingelementsneedstobedefined:
id:identifiertothetemplatetag(inthiscase:$TABLE(table1)$)
formatId:referencetotheformatofthistable(tooneofthethresholdsCrossingsTableinthedeclarationssection)
mergeLocations:booleanindicator.Truemeans:treatalllocationsofmentionedtimeseriestogetherforcombinedassessment.Falsemeans:extractindividualtimeseriesso
thateveryrowindicatesonelocation(timeseries)
Choicebetween
otable>thiscanbeusedtodisplayatable'in'anotherone.
otableRow
formatId:referencetothethresholdsCrossingsTableformat
id:identifier(mainlyforownuse/comment)
timeSeries:
mapId:referencetoavalueAttributeMap
Text:referencetoaninputVariable(declaredinthereportorinthedeclarationssection).
Sincethistypeoftableisatableinwhichyoucanaggregatedata(whichmeanscombinetimeseries)thefollowingoptionisavailable:mergeLocations.
thresholdCrossingCountsTable
AthresholdCrossingsCountsTabledisplaysthresholdcrossingcountsdependingonwhichthresholdshavebeencrossedwithinagiventimeperiod.The
thresholdCrossingCountsTableisanewversionofthethresholdsCrossingsTable.AthresholdCrossingCountsTablehasthesamelayoutasathresholdCrossingCountsTabinthe
thresholdOverviewDisplayforconsistency.
Declarationssection
InthedeclarationsectionsthelayoutofthetableneedstobedefinedinathresholdCrossingCountsTableFormat.
Thefollowingoptionsareavailable:
id:identifierofthistableformat.
thresholdGroupId:idofathresholdGroupthatisdefinedinthethresholdsconfigurationfile.ThistabledisplaysallthresholdsinthespecifiedthresholdGroup.
relativePeriod:Relativetimeperiodforthistable.ThetimeperiodisrelativetotimeZero.Arelativeperiodcanbee.g.3to+3hoursore.g.+3to+6hours(relativeto
timeZero).
countAllActiveThresholds:Iftrue,thenthistablecountsallthresholdsthatareactive(allthresholdsthathavebeencrossed).Iffalse,thenforagivenlocationthistableonly
takesintoaccounttheactivethresholdwiththemostseverewarninglevel.Defaultisfalse.
countWarningAreas:Iftrue,thenthistablecountswarningareas,asfollows.ItispossibletodefinewarningareasforalevelThresholdValueinthethresholdValueSets
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
13/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
configurationfile.IfacrossedlevelThresholdValuehaswarningareasdefined,thenthenumberofwarningareasiscountedforthatlevelThresholdValue.Ifacrossed
levelThresholdValuehasnowarningareasdefined,thenacountof1isusedforthatlevelThresholdValue.Ifthisoptionisfalse,thenforeachcrossedlevelThresholdValuea
countof1isused(i.e.thewarningareasareignored).Defaultistrue.
noThresholdsDefinedText:Ifspecified,thenthistextisshownincellsthatcorrespondtodataforwhichnothresholdsaredefined.Defaultisemptyspace.
noDataAvailableText:Ifspecified,thenthistextisshownincellsforwhichnodataisavailable.Defaultis"n/a".
crossingCountZeroText:Ifspecified,thenthistextisshownincellsforwhichtherearenothresholdcrossings.Defaultis"".
tableHeaderText:Stringtobedisplayedinthetableheader.TherelativeperiodandthresholdGroupnamewillbeappendedtothisstring.
columnWidth:Thewidthofthecolumnsinthetable.
tableStyle:ThetableStyletouseforthistable.TheavailabletableStylesaredefinedinthereporttables.cssfile.
cellFormat:ThecellFormattouseforthistable.TheavailablecellFormatsfortheconfiguredtableStylearedefinedinthereporttables.cssfile.
scrollableTable:Usethistosplitthetableintotwoparts,onefortheheaderrow(s)andoneforthedatarows.ThedatarowpartreferstothetableStyleforthistablewith
"_scrollable"appended.Thiscanbeusedtomakethedatarowsscrollablewhiletheheaderrow(s)remainfixed.Forthistoworkthereferredstyleneedstobedefinedinthe
reporttables.cssfile.
Reportsection
InthereportssectiondefineathresholdCrossingCountsTable.
Thefollowingoptionsareavailable:
id:identifierforthetemplatetag(inthiscase:$TABLE(table1)$)
formatId:referencetotheformatofthistable(tooneofthethresholdCrossingCountsTableFormatsinthedeclarationssection)
mergeLocations:booleanindicator.Truemeans:treatalllocationsofmentionedtimeseriestogetherforcombinedassessment.Falsemeans:extractindividualtimeseriesso
thateveryrowindicatesonelocation(timeseries)
Choicebetween
otimeSeries
otable>thiscanbeusedtodisplayatablewithinanotherone.
otableRow
flagCountsTable
FlagCountsTableisavailablesinceDelftFEWSrelease2011.01.AFlagCountsTabledisplaysflagcountsdependingontheflagsofthevaluesinatimeserieswithinagiventime
period.
ExampleofaflagCountsTable
Declarationssection
InthedeclarationsectionthelayoutofthetableneedstobedefinedinaflagCountsTableFormat.
Thefollowingoptionsareavailable:
id:identifierofthistableformat.
tableStyle:ThetableStyletouseforthistable.TheavailabletableStylesaredefinedinthereporttables.cssfile.
hyperlinkUrl:OptionalURL.Ifspecified,thenthelocationnameforeachtimeserieswillbeahyperlinkthatreferstothisURL.Itispossibletoinsertthefollowingtags:
!LOCATION_ID!,!LOCATION_NAME!,!PARAMETER_ID!and!PARAMETER_NAME!.The!LOCATION_ID!tagwillbereplacedwiththelocationidforthetimeseries.
The!LOCATION_NAME!tagwillbereplacedwiththelocationnameforthetimeseries.The!PARAMETER_ID!tagwillbereplacedwiththeparameteridforthetime
series.The!PARAMETER_NAME!tagwillbereplacedwiththeparameternameforthetimeseries.Thiscane.g.beusedtolinkeachrowinthisFlagCountsTabletoa
page(orananchorwithinapage)thatcontainsaFlagSourceCountsTablewithmoredetailedinformationaboutthetimeseriesforthatrow.
scrollableTable:Usethistosplitthetableintotwoparts,onefortheheaderrow(s)andoneforthedatarows.ThedatarowpartreferstothetableStyleforthistablewith
"_scrollable"appended.Thiscanbeusedtomakethedatarowsscrollablewhiletheheaderrow(s)remainfixed.Forthistoworkthereferredstyleneedstobedefinedinthe
reporttables.cssfile.
Configurationexample:
<flagCountsTableFormatid="flagCountsTableFormat">
<tableStyle>tableStyle1</tableStyle>
<hyperlinkUrl>report.html#!LOCATION_NAME!_!PARAMETER_NAME!</hyperlinkUrl>
</flagCountsTableFormat>
Reportsection
InthereportssectiondefineaflagCountsTable.
Thefollowingoptionsareavailable:
id:IdentifierforthisFlagCountsTablethatisusedinthereporttemplatehtmlfileinthetabletag(e.g:$TABLE(table1)$).
formatId:TheidoftheFlagCountsTableFormattouseforthisFlagCountsTable.
inputVariableId:OneormoreidsofinputVariablesthataredefinedatthestartofthisreport.ForeachtimeseriesintheinputVariable(s),therewillbeonerowinthetablewith
thelocation,parameterandflagcountsforthattimeseries.ForagiventimeseriesthisusesonlythedatawithintherelativeViewPeriodthatisdefinedforthattimeseriesin
thetimeSeriesSet.IfatimeSeriesSetcontainsmultipletimeseries(e.g.alocationSet),thenforeachtimeseriesinthetimeSeriesSetaseparaterowiscreated.
Configurationexample:
<flagCountsTableid="flagCountsTable"formatId="flagCountsTableFormat">
<inputVariableId>Cowbeech</inputVariableId>
<inputVariableId>Romsey</inputVariableId>
<inputVariableId>CrosslandsDrive</inputVariableId>
</flagCountsTable>
flagSourceCountsTable
FlagSourceCountsTableisavailablesinceDelftFEWSrelease2011.01.AFlagSourceCountsTabledisplayscountsofflagsourcesdependingontheflagsourcesofthevaluesina
timeserieswithinagiventimeperiod.Theflagsourceforavaluecontainsthereasonwhythatvaluegotacertainflag.Forexampleifavaluewasrejectedbya"hardmax"
validationrule,thenitgetsflagunreliableandflagsource"hardmax".
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
14/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
ExampleofaflagSourceCountsTable
Declarationssection
InthedeclarationsectionthelayoutofthetableneedstobedefinedinaflagSourceCountsTableFormat.
Thefollowingoptionsareavailable:
id:identifierofthistableformat.
tableStyle:ThetableStyletouseforthistable.TheavailabletableStylesaredefinedinthereporttables.cssfile.
scrollableTable:Usethistosplitthetableintotwoparts,onefortheheaderrow(s)andoneforthedatarows.ThedatarowpartreferstothetableStyleforthistablewith
"_scrollable"appended.Thiscanbeusedtomakethedatarowsscrollablewhiletheheaderrow(s)remainfixed.Forthistoworkthereferredstyleneedstobedefinedinthe
reporttables.cssfile.
Configurationexample:
<flagSourceCountsTableFormatid="flagSourceCountsTableFormat">
<tableStyle>tableStyle1</tableStyle>
</flagSourceCountsTableFormat>
Reportsection
InthereportssectiondefineaflagSourceCountsTable.
Thefollowingoptionsareavailable:
id:IdentifierforthisFlagSourceCountsTablethatisusedinthereporttemplatehtmlfileinthetabletag(e.g:$TABLE(table1)$).
formatId:TheidoftheFlagSourceCountsTableFormattouseforthisFlagSourceCountsTable.
inputVariableId:TheidofaninputVariablethatisdefinedatthestartofthisreport.ThetimeseriesofthisinputVariableisusedforthistable.Thistableshowsforeach
validationrule(hardmax,hardmin,rateofchange,etc.)thenumberofvaluesthatwererejectedbecauseofthatvalidationrule.Thisusesonlythedatawithinthe
relativeViewPeriodthatisdefinedforthetimeseriesinthetimeSeriesSet.IfthetimeSeriesSetcontainsmultipletimeseries(e.g.alocationSet),thenanerrormessageis
given.
Configurationexample:
<flagSourceCountsTableid="flagSourceCountsTable1"formatId="flagSourceCountsTableFormat">
<inputVariableId>Cowbeech</inputVariableId>
</flagSourceCountsTable>
maximumStatusTable
AmaximumStatusTableindicates,bycolouring,whencertainthresholdlevelsarecrossed.Inthistypeoftable,therowsshouldbedefinedindividuallyandcancontainmorethan
oneseries.Thebooleanvalue'mergLocation'playsanimportantroleincombiningthelocationsortreatthemindividually.
Figure102ExampleofamaximumStatusTable(NERegion)
Declarationssection
Inthedeclarationsectionsthelayoutofthetableneedstobedefined.
Figure103DeclarationofmaximumStatusTable
Thefollowingelementsneedstobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
mainHeaderText:atextualstringwhichisdisplayedinthetableheader
timeStepsInTable:integernumberoftimestepstobedisplayedinthetable.ThisshouldbederivedfromtherelativeViewPeriodofthecorrespondingtimeSeriestoadd:
timeStepsAggregation:integernumberoftimestepstobeaggregated(=takentogether).Worststatusisbeingdisplayed.
timeHeaderInterval:integernumberforaggregatingtheheadersofthecellsornot.Number'1'means'noaggregation'soeverycolumnhasgotitsownheader.
timeHeaderDisplayMinutes:booleanvalueforhavingtheminutesdisplayed
colWidth:integervalueforthewidthofthecells
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
15/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
showAsSingleColumn:booleanvaluefordisplayingthetimeseriesintoonecolumnonly(true).Ifsetto'true'thelastvalueofthetimeseriesisconsidered.
ReportsSection
Inthereportitselfthenecessarytimeseriesneedstobeassignedtothetable.
Figure104DeclarationofamaximumStatusTableinareport
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag(inthiscase:$TABLE(table1)$)
formatId:referencetotheformatofthistable(tooneofthemaximumStatusTablesinthedeclarationssection)
mergeLocations:booleanindicator.Truemeans:treatalllocationsofmentionedtimeseriestogetherforcombinedassessment.Falsemeans:extractindividualtimeseriesso
thateveryrowindicatesonelocation(timeseries)
table:addindividualmaximumStatusTableshereforacorrectvisualisation(seedetailedexplanation:'twotablesintoone').Inmostcases2:firstforobservedvalues,
secondforforecasttable.
Foreachtable:
formatId:referencetotheformatofthistable(tooneofthemaximumStatusTablesinthedeclarationssection)
id:identifier(usedforcommentsonly)
mergeLocations:booleanindicator.Truemeans:treatalllocationsofmentionedtimeseriestogetherforcombinedassessment.Falsemeans:extractindividualtimeseriesso
thateveryrowindicatesonelocation(timeseries)
tableRow:(1ormore)
oformatId:referencetothethresholdsCrossingsTableformat
oid:identifier(mainlyforownuse/comment)
otimeSeries:(1ormore)
mapId:referencetoavalueAttributeMap
Text:referencetoaninputVariable(declaredinthereportorinthedeclarationssection).
DetailedExplanation:Twotablesintoone
Infact,themaximumStatusTableisdesignedasvisualisedbelow.Tocreateanicelyalignedtablethe'twotimeseriestables'(theonewiththe'observed'valuesandtheonewith
theforecastseries)areputinindividualcellsoftheoutertable.Sotheoutertableonlyconsistoftwocells.Theleftcellcontainstheobservedtable,therightcellcontainsthe
forecasttable.Theoutertableitselfneedstobedeclaredaswell!!Thereportdeclaration(seeabove)canbeinspectedtoseethisoneinpractice.
DetailedExplanation:Widevariationoftables
ThevariationfordisplayingmaximumStatusinformationiswide.ThecombinationofrelativeViewPeriod(lengthofforecastseries),timestepandthedesiretoaggregatetimesteps
canallbeimplemented.Thecalculationshouldbecorrect.Ifnot,severalmessageswillbeshown.
Someexamples
Source:12hrsof15mindata
Display:maximumStatuswith15minutedata,timeheaderbythehour(withminutes)
Configuration
value
explanation
timeStepsInTable
48
(12*4=48timesteps)
timeStepsAggregation
eachcolumnrepresent1timestep
timeHeaderInterval
4columnshaveamergedheader(hour)
timeHeaderDisplayMinutes
true
minuteindication
Result:tablewith48timecolumnswith12aggregatedheadersvisualisingthehourwithaminuteindication(likeinfirstfigureofthissection)
Source:6hrsof15mindata
Display:maximumStatuswithhourlydata(nominuteindication)
Configuration
value
explanation
timeStepsInTable
24
(6*4=24timesteps)
timeStepsAggregation
4*15minaggregateto1hour
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
16/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
timeHeaderInterval
eachhour'column'hasitsownheader
timeHeaderDisplayMinutes
false
nominuteindicationinheader
Result:tablewith6(time)columnsindicatingthe'worst'statusofthathour.
ExamplethresholdsCrossingsTable/maximumStatusTable
InaconfigurationthefollowingtimeSeries/InputVariablesexist:
Name
Parameter
LocationSet
Locations
Catchment1_Waterlevel_Obs
H.obs
Catchment1_Locs
Loc1
Loc2
Loc3
Catchment1_Waterlevel_For
H.simulated
Catchment1_Locs
Loc1
Loc2
Loc3
Catchment2_Waterlevel_Obs
H.obs
Catchment2_Locs
Loc4
Loc5
Loc6
Catchment2_Waterlevel_For
H.simulated
Catchment2_Locs
Loc4
Loc5
Loc6
ThegeographicalhierarchyisthatArea1contains2Catchments(Catchment1andCatchment2)
TheRegionoverviewshouldbeconfiguredthatallcatchmentsbelongingtothatareaare'put'intoonerowwhichisdescribingthestatusofthatarea.Thisisvalidforboththe
observedastheforecasttimeseries.The'mergeLocations'variableshouldbeputto'true'becausealllocationsshouldbemerged(combined).
TheAreaoverviewshouldbeconfiguredinsuchwaythatallcatchmentsareinseparaterows.Thisisvalidforboththeobservedastheforecasttimeseries.The'mergeLocations'
variableshouldbeputto'true'becausealllocationsshouldbemerged(combined).
TheCatchmentoverviewformstheexceptionhere.WithmergeLocationssetto'False',thecorrespondinglocationSetisextractedintotheindividuallocationsandsoeverylocation
hasgotitsownrow.
Forthetwotablesforwhichthisisvalid,thelastexampledoesnotgivemuchadditionalvalueforathresholdsCrossingsTable.Theneachrow(whichisequaltoonelocatation)will
havea'1'inoneofthecells.AmaximumStatusTablesuppliesmorevaluebecauseitwillindicatewhenthis(maximum)thresholdwillbereached.
Seebelowmentioned(simplified)figures.
mergedPrecipitationTable
AmergedPrecipitationTablecontainsbothobservedrainfallaswellasforecastrainfall,preferablyinP.mergedtimeseries.Datacanbevisualisedinconfigurabletimeintervals
comparedtoT0andwillappearinseparatecolumns.Additionally,asinglecolumncanbeaddedtovisualiseanyparameter(e.g.CWI).Anexamplecanbefoundbelow(without
extracolumn).Intheexamplebelow,actuallytwotablesareplottednexttoeachother.Thelefttable(withnames)containsthehistoricaldate.Theoneontherighthandside
containstheforecasttimeseriesandhasnonamecolumn.Atablelikethishastwoheaderrowstobedefinedbytheuser.
Figure105ExampleofamergedPrecipitationTable(NERegion)
DeclarationSection
Inthedeclarationsectionthelayoutofthetableneedstobedefined.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
17/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure106mergedPrecipitationTableconfigurationinthedeclarationssection
Thefollowingelementsneedtobedefined.
id:uniqueidentifier(asreferencetothistable)
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
headerRow1Text:texttobedisplayedintableheader(firstline)
headerRow2Text:texttobedisplayedintableheader(secondline)
dataColumns:definitionofindividualcolumnwithatimeintervalforaggregatingprecipitation.Eachcolumnshouldcontain:
columnHeader:texttobedisplayedincolumnheader(firstline)
unitHeadertexttobedisplayedincolumnheader(secondline)
relativeViewPeriod:periodtoaggregatethedata
unit:unittoaggregate.Choices:day/hour/minute/second/week
start:startofinterval(intimeunit)comparedtoT0
end:endofinterval(intimeunit)comparedtoT0
nameColumnWidth:integervalueofwidthofthenamecolumn(mostleftcolumn(ifpresent))
dataColumnWidth:integervalueofwidthofthedatacolumns
suppressNameColumnbooleanvalueforsettingthenamecolumnvisibleornot.Thiscolumn,whenvisible,isfilledwiththe(full)locationnameofthetimeserieswhichis
visualisedinthistable.
Reportsection
Inthereportsectionthecontent(timeseries)are'attached'tothistable.
Figure107mergedPrecipitationTableinthereportsection.
ThemergedPrecipitationTableinthereportsectionis(very)easytodefine.Theruleofthe'outertable'isvalidhereaswell.Toalignthehistoricalandtheforecasttablenicely,the
outertablecontainsbothP.mergedtables.
Thefollowingelementsneedtobedefined:
id:identifier(referencetothetemplatetag)
formatId:referencetotheformatofthistable(tooneofthemergedPrecipitationTablesinthedeclarationssection)
table:
id:identifier(usedforcommentsonly)
formatId:referencetotheformatofthistable(tooneofthemergedPrecipitationTablesinthedeclarationssection)
timeSeries:referencetoaninputVariable.
SystemStatusTables
SystemStatusTablesdisplayinformationaboutthestatusandbehaviouroftheFEWSsystemitself(likeintheSystemmonitor).
SystemStatysTablescomeindifferenttypes:
liveSystemStatus:informationaboutlivesystem:MCandFSS('s)
exportStatus:informationaboutexportedfiles/reports
importStatus:informationaboutfilesimported
scheduledWorkflowStatus:informationabout(next)scheduledworkflows
completedWorkflowStatus:informationaboutnumberofworkflowscompletedinlast24hrs.
currentForecastStatus:informationaboutwhichworkflowsaresettoCURRENT
logMessageListinglistoflogmessages(basedonaquery)
forecastHistory:historicoverviewofforecasts.
Inmosttablesitispossibletoadd'benchmark'datatocomparetheactualandthedesired/requiredsituation.Theconfigurationofsuchatablerequiresthedefinitionofthis
benchmarkvalue.Suchatablecontainsa'Item',"Benchmark'anda'Status'column.
Besidesa'benchmark'(somethingtocomparetheactualstatuswith)additionalfields(columnsfromthedatabase)canbeincludedinthetable.Aspecificbooleanvalue
(showOutputFieldsOnly)canbeusedtoeitherincludeorexcludethesebenchmarkcolumns.Inmosttablesthisbooleanissetto'False'becausemosttablescontainbothstatus
informationaswellasadditional(meta)information.Seefigurebelow.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
18/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure108AsystemStatusTableisdividedintoastatuspartandanextraOutputFieldspart.
Eachtypewillbebrieflyexplained:
Globalvariables
NoticethatforthesystemStatusreportstheglobalvariable"REPORTS_LEFTCOLMCID"shouldbeincludedintheglobalproperties.IncaseofadualMC,also
"REPORTS_RIGHTCOLMCID"shouldbeincluded.
liveSystemStatus
AliveSystemStatusTabledisplaysinformationaboutthestatusandbehaviourofthelivesystemcomponents(MasterControllerandForecastingShellServer(s))
Figure109ExampleofaliveSystemStatustable(NERegion)
DeclarationsSection
Figure110ExampleoftheconfigurationofaliveSystemStatustableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
ReportSection
Figure111ExampleoftheconfigurationofaliveSystemStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(liveSystemStatusTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
mcStatusQuery:
itemTextStatus:leftblankwilldisplayMCname
benchmarkTextStatus:benchmarktext
fssStatusQuery:
itemTextStatus:leftblankwilldisplayFSSname
benchmarkTextStatus:benchmarktextforstatus
itemTextSize:textforsizequery
benchmarkTextStatus:benchmarktextforsize
singleRecordQuery
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
19/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
tableName:tablenameinlocaldatastore
inputfieldreferencetocolumnintable(toquery):
recordIdreferencetorecordintable:
statusFieldreferencetocolumnintable(todisplay):
itemText:texttobedisplayed(canbeempty)
benchmarkText:benchmarktext
exportStatustable
AexportStatustabledisplaysinformationaboutthestatusofanumberexportfeaturesofthesystem,suchas:
lastoccurenceofa(export)workflow(byworkflowStatusQuery)
nroffilespresentinanexportdirectory(bylogMessageParseQuery)
transferspeedofexportingfiles(bylogMessageParseQuery)
Figure112ExampleofanexportStatustable(NERegion)
DeclarationsSection
Figure113ExampleoftheconfigurationofanexportStatustableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
ReportSection
++
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
20/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure114ExampleoftheconfigurationofanexportStatustableinthereportsection
Thistableisconstructedusingtwotypesofqueries:
workflowStatusQuery
logMessageParseQuery
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(liveSystemStatusTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
workflowStatusQuery:
workflowId:
itemText:textin'Item'column
benchmarkTextStatus:textinthe'Benchmark'column
selectCompletedWorkflowsOnly:booleanindicatingcompletedorscheduledworkflows
statusField:fieldfromthetaskRunsCompletionstableindicatingwhetheraworkflowhasbeencompletedornot
logMessageParseQuery
itemText:textin'Item'column
benchmarkTextStatus:textinthe'Benchmark'column
logEntryEventCode:eventcodetofilteron
keyword:typical/uniquekeywordtoparsefor
displayWord:integervalueforthewordtodisplay(nthwordinthislogmessage)
importStatustable
AnimportStatustabledisplaysinformationaboutthedatafeedswhichhavebeenimported,howmanyofthemwerereadandhowmanyfailedtobeimported.Thefrequencyofthe
filesimportedcanbe(visually)comparedwithabenchmarkfigure.Seebelowforanexample.
Figure115ExampleofanimportStatustable(NERegion)
DeclarationsSection
Figure116ExampleoftheconfigurationofanimportStatustableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
extraOutputFieldHeader:AdditionalFielddefinitionspecificallyforimportrelatedtopics.Recommendedfieldsare:
Lastfileimported
Nr.offilesread
Nr.offilesfailed
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
Remark:whendefiningextraOutputFieldHeadersitisimportanttomaintainthesameorderinthedeclarationssections(definitionofthefields)andinthereport
section(referencingthecontent)otherwisetheheaderandthecontentwillnotcorrespond.
ReportSection
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
21/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure117ExampleoftheconfigurationofanimportStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(importStatusTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
datafeedStatusQuery
BenchmarkText
id:textualstringcontainthenameofthedatafeed
text:textualstringindicatingthebenchmarkforthisdatafeed
statusField:textualreferencetomainfieldinthedatabasetableImportStatus,lastImportTime
extraOutputField
Text:textualreferencestothefieldsinthedatabasetableImportStatustofillthedefinedExtraOutputFields(Declarationsection).Inthiscaseitisrecommendedto
addhere:
lastFileImported
filesReadCount
filesFailedCount
scheduledWorkflowStatustable
AscheduledWorkflowStatustabledisplaystheworkflowswhicharescheduledtogetherwiththeirrepeattimeandnextduetime.Thefigurebelowillustratesthis.
Figure118ExampleofascheduledworkflowStatustable(NERegion)
DeclarationsSection
Figure119ExampleoftheconfigurationofacompletedWorkflowStatustableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
extraOutputFieldHeader:AdditionalField(s)definitionspecificallyforscheduledworkflowrelatedtopics.Recommendedfieldsare:
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
22/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Workflows
Description
MCId
RepeatTime
NextDueTime
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
Sincethistableisnotreferringtoabenchmark(itisjustreadingtheconfiguration)thevalueforshowOutputFieldsOnlyissettotrue.Onlythesefieldsaredisplayed.
remark:Onereferencetoanexistingworkflowissufficienttoextractallscheduledworkflowsoutofthedatabase,that'swhyitseemsthatthereisonlyonetablerow
configuredhere.Infact,thistablewillbefilledwithALLscheduledworkflowswhenconfiguredasabove.
ReportSection
Figure120ExampleoftheconfigurationofascheduledWorkflowStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(scheduledWorkflowTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
workflowStatusQuery
workflowId:textualreference(casesensitive!)toanexistingworkflowintheconfiguration
itemText:textinthe'Item'Column(canbeleftblankincaseofthisstatusTableSubType)
benchmarkText:textinthe'Benchmark'column(canbeleftblankincaseofthisstatusTableSubType)
selectCompletedWorkflowsOnly:booleanvariable:'true'referstoquerycompletedworkflows(seenexttablesubtype)and'false'referstoqueryscheduledworkflows
(thistype)
statusField:textualreferencetothefieldinthedatabasetableTasks.InthiscasetaskStatus.Incaseofscheduledworkflowsthecolumn'taskRepeatTime'contains
aintegervalueindicatingthatitisarepeatingactivity(workflow)
extraOutputField
Text:textualreferencestothefieldsinthedatabasetableImportStatustofillthedefinedExtraOutputFields(Declarationsection).Inthiscaseitis
recommendedtoaddhere:
workflowId
description
ownerMcId
taskRepeatTime
taskPendingSinceTime
completedWorkflowStatustable
AcompletedWorkflowStatustablecontainsanoverviewofallworkflowscarriedoutinthelast24hours.Anexampleisgivenbelow.
Figure121ExampleofacompletedworkflowStatustable(NERegion)
DeclarationsSection
Figure122ExampleoftheconfigurationofacompletedWorkflowStatustableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
23/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
statusSubHeader:AdditionalField(s)definitionspecificallyforcompletedworkflowrelatedtopics.Recommendedfieldsare:
Nr.ofRuns
Nr.Failed
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
ReportSection
Figure123ExampleoftheconfigurationofacompletedWorkflowStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(scheduledWorkflowTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
workflowStatusQuery
workflowId:textualreference(casesensitive!)toanexistingworkflowintheconfiguration
itemText:textinthe'Item'Column(canbeleftblankincaseofthisstatusTableSubType)
benchmarkText:textinthe'Benchmark'column(canbeleftblankincaseofthisstatusTableSubType)
selectCompletedWorkflowsOnly:booleanvariable:'true'referstoquerycompletedworkflows(thistype)and'false'referstoqueryscheduledworkflows(seeprevious
tablesubtype)
statusField:textualreferencetothefieldinthedatabasetableTaskRuns.InthiscasetaskRunStatus.
currentForecastStatustable
ThecurrentForecastStatustablegivesanoverviewofwhichworkflowsaresettoCURRENT.Thesementionedworkflowsinthistablesarethesameasthemarkedwithagreen
icontheSystemMonitoroftheOperatorClient.Anexampleofthistableisgivenbelow.
Figure124ExampleofacurrentForecastStatustable(NERegion)
DeclarationsSection
Figure125ExampleoftheconfigurationofacurrentForecasttableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
extraOutputFieldHeader:AdditionalField(s)definitionspecificallyforscheduledworkflowrelatedtopics.Recommendedfieldsare:
T0
WhatifScenario
Description
FDO
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.
ReportSection
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
24/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure126ExampleoftheconfigurationofacurrentForecastStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(scheduledWorkflowTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
currentForecastQuery
workflowId:textualreference(casesensitive!)toanexistingworkflowintheconfiguration
itemText:textinthe'Item'Column
benchmarkText:textinthe'Benchmark'column
statusField:textualreference:shouldbe"dispatchTime"!
extraOutputField:textualreferencestospecificTaskRundetails(seefigureabove):
T0
whatIfId
description
FDO
logMessageListingtable
AlogMessageListingtablecontainslogmessageswhichareavailableintheLogBrowsertabintheSystemMonitoroftheOperatorClient.Logmessagesofaspecifictypecanbe
queried.Bymakinguseofacorrectreferencetothecascadingstylesheetthistablecanbesetto'scrollable'Anexampleofsuchatableisgiveninthefigurebelow.
Figure127ExampleofalogMessageListingtable(NERegion)
DeclarationsSection
Figure128ExampleoftheconfigurationofalogMessageListingtableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
extraOutputFieldHeader:AdditionalField(s)definitionspecificallyforscheduledworkflowrelatedtopics.Recommendedfieldsare:
LogCreationTime
LogMessage
TaskrunId
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.ThistableTyperequiresa'true'here.
ReportSection
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
25/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
Figure129ExampleoftheconfigurationofacurrentForecastStatustableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(scheduledWorkflowTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
logMessageQuery
logLevelFilter:textual(casesensitive)referencetooneofthelogmessagelevels.Choicesare:INFO,WARN,ERROR,FATAL.
logEntryEventCode:textual(casesensitive)referencetoaspecifictypeoflogmessage.TheeventCodeisa'filter'toretrievecertaintypesorerrormessages.Inthis
casethe"TaksRun.Completed"eventCodehasbeenused.
statusField:textualreferencetothecorrectfieldintheLogEntriestableinthedatabase(="logLevel")
extraOutputField:textualreferencetootherfieldsintheLogEntriestablewhichfillthecorrespondingcolumns.Inthiscase3additionalcolumnsneedtobefilledwith
information:
logCreationTime(creationtimeofmessage)
logMessage(contentofthelogmessageitself)
taskRunId(referencetothetaskrunthatthrowedthismessage)
forecastHistorytable
AforecastHistorytableprovidesanoverviewofallmostrecentforecastscarriedout.Thenumberofforecaststoincludeisconfigurable.Anexampleofsuchatableisgivenbelow.
Figure130ExampleofaforecastHistorytable(NERegion)
DeclarationsSection
Figure131ExampleoftheconfigurationofaforecastHistorytableinthedeclarationssection
Thefollowingelementsneedtobedefined:
tableStyle:achoiceoftableStylewhichcanbeinfluencedbyusingthecorrespondingclassesinacascadingstylesheet.ChoicesaretableStyle1totableStyle10
id:uniqueidentifier(asreferencetothistable)
statusTableSubType:ChoiceforoneofthesubtypesofsystemStatusTables:Choicesare:liveSystemStatus,exportStatus,importStatus,scheduledWorkflowStatus,
completedWorkflowStatus,currentForecastStatus,logMessageListing,forecastHistory
tableTitle:atextforatitleforthistable
headerRows:integervalueforthenumberofheaderrows
itemHeader:headertextforthe'Item'column
benchmarkHeader:headertextforthe'Benchmark'column
statusHeader:headertextforthe'Status'column
statusHeaderSplit:valueindicatingthenumberofheaderrowsinthestatuscolumn.
extraOutputFieldHeader:AdditionalField(s)definitionspecificallyforscheduledworkflowrelatedtopics.Recommendedfieldsare:
DispatchTime
CompletionTime
T0
Workflow
WhatifScenario
Description
FDO
showOutputFieldsOnly:booleanvaluefordisplayingtheoutputfieldsonly.ThistableTyperequiresa'true'here.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
26/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
ReportSection
+
Figure132ExampleoftheconfigurationofaforecastHistorytableinthereportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($TABLE(scheduledWorkflowTable)$)
formatId:referencetotheformatofthistypeofsystemStatustableinthedeclarationssection)
forecastHistoryQuery
nrOfForecasts:integervaluereferringtothenumberofmostrecentforecasttoincludeinthistable
statusField:textualreferencetothefieldintheTaskRunstableofthedatabase
extraOutputFields:textualreferencestorequiredfields
dispatchTime
completionTime
T0
workflowId
whatIfId
description
fdoName
mcId
fssId
AnimatedGIF
AnanimatedGIFisananimationofagridtimeserieinaGIFimageformat.TheadvantageofthisformatisthatitcaneasilybeaddedtoHTMLpages,withouttheneedtoembed
extracontrols(likewithAVI).
Reportsection
Thefollowingelementsneedtobedefined:
id:identifiertothetemplatetag($ANIMATED_GIF(GIFFILE.gif)$)
name(optional,atthismomentitisnotpossibletodefinethefilename)
timeSeriesSet:Definitionofthetimeseriesettobeanimated
movieFrameDurationMillis:definesthespeedoftheanimation
barLegend:from2012.02itispossibletodisplayabarlegendintheanimation
classBreaks:seeGridDisplay
geomap:seeGridDisplay
width:thewidthoftheimageinpixels
height:theheightoftheimageinpixels
ToexportareportseethereportExportmoduleinstance
SchematicStatusDisplayReports
Since2013_01itispossibletocreatereportsofSchematicStatusDisplaypanelsintheformofanimationsintheformatsAviandanimatedgifaswellassnapshotsintheformof
PngfilesandSvgfiles.
ForthispurposetherewillprobablyalreadybesomeSchematicStatusDisplayconfigurationintheDisplayConfigFilesoftheconfiguration.Inordertocreateareportofa
SchematicStatusDisplaypanel,mostelementsofthisconfigurationcanbecopiedmanuallytothereportsconfigurationfile.ForconfiguringaSchematicStatusDisplaypanel
pleaserefertoSchematicStatusDisplayconfiguration.
AnexampleSchematicStatusDisplaythatcontainsthefollowingconfiguration,
<dateFormatid="DF1">
<timeZone>
<timeZoneName>CET</timeZoneName>
</timeZone>
<dateTimePattern>ddMMyyyy</dateTimePattern>
</dateFormat>
<numberFormatid="NF1">
<pattern>{0,number,##0.00}</pattern>
</numberFormat>
mustbetransferredtothereportdeclarations.Thedefinitionsofthedateformatandnumberformatcannotbecopieddirectlytothereportconfigurationsincetheyhaveaslightly
differentformat.
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
27/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
<?xmlversion="1.0"encoding="UTF8"?>
<reportsxmlns="http://www.wldelft.nl/fews"xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"xsi:schemaLocation="http://www.wldelft.nl/fews
<declarations>
<defineGlobalid="ForecastingRegion">IWPTwentekanalen</defineGlobal>
<dateFormatid="DF1">
<timeZone>
<timeZoneName>CET</timeZoneName>
</timeZone>
<pattern>ddMMyyyy</pattern>
</dateFormat>
<numberFormatid="NF1">{0,number,##0.00}</numberFormat>
...
</declarations>
<report>
...
//AddSsdreportelementshereforgeneratingAvi,Gif,PngorSvg.
...
</report>
</reports>
WhenfirstconfiguringaSchematicStatusDisplaypanelreport,thescadaPanelsectionoftheSchematicStatusDisplayconfigurationcanbecopieddirectlytotheSchematic
StatusDisplayReportsconfiguration.ForSvgoutputtheinteractivesectionswillnotbesupported,soitisrecommendedtoremovethese.
AnimationinAviformat
WiththisfunctionananimationoftheconfiguredperiodcanbegeneratedforasingleSchematicStatusDisplaypanel.Useid$SSD_AVI(myId)$forincludingtheavifileinthe
reports.
schematicStatusDisplayPanelAvi
<schematicStatusDisplayPanelAviid="ssdAvi">
<scadaPanelid="TK"name="Twentekanalen10min">
<svgFile>Twentekanalen.svg</svgFile>
<nodeId>TwentekanalenHydro</nodeId>
...
</scadaPanel>
<width>1024</width>
<height>800</height>
<relativePeriodunit="hour"start="20"end="4"/>
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
28/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
<timeStepunit="second"multiplier="300"/>
<movieFrameDurationMillis>200</movieFrameDurationMillis>
<fileName>SSD_test.avi</fileName>
</schematicStatusDisplayPanelAvi>
AnimationinanimatedGifformat
WiththisfunctionananimationoftheconfiguredperiodcanbegeneratedforasingleSchematicStatusDisplaypanel.Useid$SSD_ANIMATED_GIF(myId)$forincludingthe
animatedgiffileinthereports.
schematicStatusDisplayPanelAnimatedGif
<schematicStatusDisplayPanelAnimatedGifid="ssdGif">
<scadaPanelid="TK"name="Twentekanalen10min">
<svgFile>Twentekanalen.svg</svgFile>
<nodeId>TwentekanalenHydro</nodeId>
...
</scadaPanel>
<width>1024</width>
<height>800</height>
<relativePeriodunit="hour"start="20"end="4"/>
<timeStepunit="second"multiplier="300"/>
<movieFrameDurationMillis>200</movieFrameDurationMillis>
<fileName>SSD_test.gif</fileName>
</schematicStatusDisplayPanelAnimatedGif>
SnapshotsinPngformat
WiththisfunctiononeormorepngimagescanbegeneratedofasingleSchematicStatusDisplaypanel.Useid$SSD_PNG(myId)$forincludingthepngfilesinthereports.
schematicStatusDisplayPanelSnapshotsPng
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
29/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
SampledemonstratinguseofcreatingpngsnapshotsthatincludesSchematicStatusDisplaytransformations:
<schematicStatusDisplayPanelSnapshotsPng>
<variable>
...
</variable>
<transformationid="UserSimpleTransformation">
<user>
<simple>
<expression>Waterstanden_10min*100</expression>
<outputVariable>
<variableId>Waterstanden_10min_times_100</variableId>
</outputVariable>
</simple>
</user>
</transformation>
<scadaPanelid="TK"name="Twentekanalen10min">
....
</scadaPanel>
<width>1024</width>
<height>800</height>
<snapshotid="ssd1">
<relativeTimeunit="hour"value="4"/>
<fileName>SSD_test1.png</fileName>
</snapshot>
<snapshotid="ssd2">
<relativeTimeunit="hour"value="3"/>
<fileName>SSD_test2.png</fileName>
</snapshot>
</schematicStatusDisplayPanelSnapshotsPng>
SnapshotsinSvgformat
WiththisfunctiononeormoresvgimagescanbegeneratedofasingleSchematicStatusDisplaypanel.Useid$SSD_SVG(myId)$forincludingthesvgfilesinthereports.
TheinteractivepartsoftheSchematicStatusDisplaysuchasLeftSingleClickActionandLeftDoubleClickActionthatcanbeconfiguredwhentheSchematicStatusDisplayis
runinDelftFEWSarenotsupportedwhenexportedas.svgreportanditisrecommendedtoremovetheseinteractivesectionswhereappropriate.
schematicStatusDisplayPanelSnapshotsSvg
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
30/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
<schematicStatusDisplayPanelSnapshotsSvg>
<scadaPanelid="TK"name="Twentekanalen10min">
....
</scadaPanel>
<width>1024</width>
<height>800</height>
<snapshotid="ssd1">
<relativeTimeunit="hour"value="4"/>
<fileName>SSD_test4.svg</fileName>
</snapshot>
<snapshotid="ssd2">
<relativeTimeunit="hour"value="3"/>
<fileName>SSD_test5.svg</fileName>
</snapshot>
</schematicStatusDisplayPanelSnapshotsSvg>
rowPerLocationHtmlTable
Thistableisagenerictabletypeandcontainsforeachconfiguredlocationonerowwithseveralcolumns.Thedatadisplayedinaparticularcolumnareresultofthefunctionthatis
configuredforthatcolumn.
Foreachcolumnthefollowingelementscanbeconfigured:
header:texttodisplayinthecolumnheader,
format:formattouseforthiscolumn.Itreferstothestylesthatareavailableinthehtmltemplatefile
width:widthofthecolumn
function:functionthatdetermines/computesthevaluedisplayedinthecolumn.
Thefunctions
Theexistingreportfunctions,thatarealsousedinhtmltemplates,canbeconfiguredinthecolumns.
ForexampleMAXVALUE(variableIdnumberFormat)orLASTVALUETIME(variableIddateFormat).
Furthermorethefollowingfunctionsareavailable:
1.LOCATIONATTRIBUTE(attribute<variableId><format>)
Argumentattributereferstothelocationattributes.Theattributesdifferperregion.
Theotherargumentsareoptional.Forexample,useargument'format'iftheattributeisanumber.VariableIdcanbeomitted:(areanumberFormat1)
Thereare3attributeswithafixname:id,nameandshortname.Theseattributereferalwaystothelocationid,nameandshortnameasconfiguredinthelocations.xml.
Theattributesarenotcasesensitive.
2.PARAMETERATTRIBUTE(attributevariableId<format>)
Argumentattributereferstotheparameterattributes.Theattributesdifferperregion.
Theargumentformatisoptional.Forexample,useargument'format'iftheattributeisanumber.
Thereare4attributeswithafixname:id,name,shortnameandunit.Theseattributesreferalwaystotheparameterid,name,shortnameandunitasconfiguredinthe
parameters.xml.
Theattributesarenotcasesensitive.
3.THRESHOLDCROSSING(keyvariableId<format>)
Theargument'key'specifieswhichthresholdcrossinginformationshouldbegiven.Presentlythefollowingkeyscanbeused:
FIRST_THRESHOLDNAME:nameofthefirstlevelthresholdthathasbeencrossed
FIRST_VALUE:valueofthefirstcrossing
FIRST_DATETIME:date/timeofthefirstcrossing
FIRST_DATE:dateofthefirstcrossing
FIRST_TIME:timeofthefirstcrossing
MAX_THRESHOLDNAME:nameofthehighestlevelthresholdthathasbeencrossed
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
31/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
MAX_VALUE:valueofthemaximumcrossing
MAX_DATETIMEdate/timeofthemaximumcrossing
MAX_DATE:dateofthemaximumcrossing
MAX_TIME:timeofthemaximumcrossing
Pleasenote:
IfyouconfigureanyTHRESHOLDCROSSINGfunctioninacolumn,thenonlythelocationswiththresholdcrossingwillbeprintedbydefault.
So,iftherearenocrossingsatall,thetableisempty.Ifalllocationsshouldalwaysbepresentinthetable,useoptiononlyWriteRowsWithCrossedThresholds=false
4.STATISTICS(statisticalfunctionvariableIdnumberFormatId)
Theargument'statisticalfunction'specifieswhichstatisticalfunctionshouldbeevaluated.Presentlythefollowingfunctionscanbeused:COUNT,KURTOSIS,MEAN,MEDIAN,
MIN,RMSQ,RSQUARED,SKEWNESS,STANDARD_DEVIATION,SUM,VARIANCE
TherowPerLocationHtmlTablecanbeconfigureddirectlyin<report>section,orinthe<declarations>sectionandrefferedfromthe<report>section.
Exampleoftheconfigurationin<report>section:
<report>
<locationSetId>AllLocations</locationSetId>
<rowPerLocationHtmlTableid="tableA"tableStyle="tableStyle3">
<column>
<header>Locatieid</header>
<format>_data</format>
<function>LOCATIONATTRIBUTE(id)</function>
</column>
<column>
<header>Locatiename</header>
<format>_data</format>
<width>200</width>
<function>LOCATIONATTRIBUTE(name)</function>
</column>
<column>
<header>Eenheid</header>
<format>_data</format>
<function>PARAMETERATTRIBUTE(UNIT;Qobserved)</function>
</column>
<column>
<header>Datum1eoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(FIRST_DATE;Qobserved;dateFormatThreshold)</function>
</column>
<column>
<header>Tijdstip1eoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(FIRST_TIME;Qobserved;timeFormatThreshold)</function>
</column>
<column>
<header>Waarde1eoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(FIRST_VALUE;Qobserved;numberFormatThreshold)</function>
</column>
<column>
<header>Datummaximaleoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(MAX_DATE;Qobserved;dateFormatThreshold)</function>
</column>
<column>
<header>Tijdstipmaximaleoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(MAX_TIME;Qobserved;timeFormatThreshold)</function>
</column>
<column>
<header>Waardemaximaleoverschrijding</header>
<format>_data</format>
<function>THRESHOLDCROSSING(MAX_VALUE;Qobserved;numberFormatThreshold)</function>
</column>
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
32/33
29/06/2016
09ReportModuleDELFTFEWSDocumentationDeltaresPublicWiki
</rowPerLocationHtmlTable>
<template>ReportRowPerLocationTable.html</template>
<outputFileName>tableA.html</outputFileName>
</report>
Exampleoftheconfigurationin<declarations>section:
<declarations>
<rowPerLocationHtmlTableFormatid="rowPerLocationFormat1"tableStyle="tableStyle3">
<column>
<header>Naam</header>
<format>_data_yellow</format>
<function>LOCATIONATTRIBUTE(shortname)</function>
</column>
<column>
<header>Tijdmaximaleoverschrijding</header>
<function>THRESHOLDCROSSING(MAX_DATETIME;Qobserved;dateFormat1)</function>
</column>
<column>
<header>Waardemaximaleoverschrijding(m3/s)</header>
<function>THRESHOLDCROSSING(MAX_VALUE;Qobserved;numberFormat1)</function>
</column>
<column>
<header>Tijdmaximalewaterstand</header>
<function>MAXTIME(Hobserved;dateFormat1)</function>
</column>
<column>
<header>Maximalewaterstand(m)</header>
<function>MAXVALUE(Hobserved;numberFormat1)</function>
</column>
</rowPerLocationHtmlTableFormat>
</declarations>
https://publicwiki.deltares.nl/display/FEWSDOC/09+Report+Module#id09ReportModulehtmlTable
33/33