Overview

The AifsMLHazard import function (<importType>AifsMLHazard</importType>) imports forecast time series with comments from specific XML files. The AifsMLHazard format is a very specific XML format developed at the Bureau of Meteorology in Australia. Files with this format are produced in the home made Content Reviewer (WET) software that is used to generate official flow forecasts.

The new AifsMLHazard import type has functionality to import the warning (type=river-basin) and watch (type=flood-watch-area) information. The enumerated warning severity (BLWMIN, MIN, MOD, MAJ and CAN) need to be converted to numerical values in the FEWS database. When the warning and watch information is imported FEWS knows for each catchment/area the status. These status values are stored as non-equidistant values in the database for the catchment/area locationsets

There is an XML schema available on the Bureau web site: http://www.bom.gov.au/weather/schema/v1.5/product.xsd

The time series parser looks for the following elements in the AiflML file.

Example

Example files can be obtained from the Bureau of Meteorology or generated from the XML schema. An extract of a Aifs

<product version="1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.bom.gov.au/schema/v1.5/product.xsd">
	<amoc>
...
		<identifier>IDQ20805</identifier>
		<issue-time-utc>2016-01-05T23:16:53Z</issue-time-utc>
		<issue-time-local tz="EST">2016-01-06T09:16:53+10:00</issue-time-local>
		<sent-time>2016-01-05T23:16:53Z</sent-time>
		<expiry-time>2016-01-06T06:30:00Z</expiry-time>
		<validity-bgn-time-local tz="EST">2016-01-06T12:00:00+10:00</validity-bgn-time-local>
		<validity-end-time-local tz="EST">2016-01-06T16:29:59+10:00</validity-end-time-local>
		<status>O</status>
		<service>HFW</service>
		<sub-service>WFL</sub-service>
		<product-type>W</product-type>
		<phase>NEW</phase>
	</amoc>
	<warning>
		<warning-info>
			<text type="warning_title">Initial Minor Flood Warning for the Lower Brisbane River</text>
			<text type="warning_subtitle">downstream of Wivenhoe Dam</text>
			<text type="priority">PRIORITY: The Bureau and Emergency Services would appreciate this message being broadcast regularly.</text>
			<text type="warning_advice">##</text>
			<text type="warning_advice_contact">##</text>
			<text type="warning_next_issue">The next warning will be issued by 12:30 pm EST on Wednesday 06 January 2016.</text>
			<text type="product_footer">This advice is also available by dialling 1300 659 219. Warning, rainfall and river information are available at www.bom.gov.au/qld/flood. The latest weather forecast is available at www.bom.gov.au/qld/forecasts.</text>
		</warning-info>
		<area aac="QLD_RS030" description="Brisbane River at Moggill" type="river-site" parent-aac="QLD_RC097">
			<!--===================-->
			<!--NON-HAZARD ELEMENTS-->
			<!--===================-->
			<!--locale[QLD_RS030]/period[variable]-->
			<!--non-warning-info-elements-exist='yes'-->
			<!--locale[QLD_RS030]/period[variable_1]-->
			<!--non-warning-info-elements-exist='yes'-->
			<forecast-period start-time-local="2016-01-06T09:16:39+10:00" end-time-local="2016-01-06T09:16:39+10:00" start-time-utc="2016-01-05T23:16:39Z" end-time-utc="2016-01-05T23:16:39Z">
				<text type="river_level_prediction">FloodClass[FFWDELIM][FFWDELIM][FFWDELIM][FFWDELIM]Minor[FFWDELIM][HYFS]10.00,May exceed the minor flood level (10.00 m) Thursday afternoon</text>
				<text type="hydrograph_type">Exceed</text>
				<element type="warning_likelihood">Medium</element>
				<element type="time">PartDay[FFWDELIM]1970-01-01 00:00:00[FFWDELIM]2016-01-07 09:09:00[FFWDELIM]1970-01-01 00:00:00[FFWDELIM]Afternoon[FFWDELIM][HYFS]2016-01-07T15:00:00+10:00</element>
			</forecast-period>
		</area>
	</warning>
</product>



Java source code

 

 
  • No labels