Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SHEF coding manual is provided by the US National Weather Service online and can be downloaded from the SHEF Information page.

Example configuration

An example of the output SHEF export configuration file:

Code Blocknoformat
languagexml
ZCZC TSfmap
TTAA00 KPDR 191544
:
: options=fmap  
: output=/tmp/dumpshef.fmap.prdutil_pun.20081119.154408
:
: FMAP_TIME_SERIES
:
: Wed Nov 19 15:44:03 GMT 2008 by fmcgough
: model period #+6 *+10 day(s)
:
.E WKMW1U   20081119 Z DH12/DC200811191544/DUE/PPQFL/DIH01
.E1 /     0.000/     0.000/     0.000/     0.030
.E2 /     0.240/     1.100/     0.160/     0.040
.E3 /     0.280/     1.330/     0.650/     0.680
.E4 /     0.020/     0.010/     0.000/     0.000
.E5 /     0.000/     0.000/     0.000/     0.000
.E6 /     0.000/     0.000/     0.000/     0.000
.E7 /     0.000/     0.000/     0.000/     0.000
.E8 /     0.000/     0.000/     0.000/     0.100
.E9 /     0.100/     0.060/     0.040/     0.020
.E10 /     0.000/     0.000/     0.000/     0.000
.E WKMW1L   20081119 Z DH18/DC200811191544/DUE/PPQFL/DIH06
.E1 /     0.000/     0.000/     0.000/     0.020
.E2 /     0.190/     0.850/     0.120/     0.030
.E3 /     0.210/     1.030/     0.510/     0.530
.E4 /     0.010/     0.010/     0.000/     0.000
.E5 /     0.000/     0.000/     0.000/     0.000
.E6 /     0.000/     0.000/     0.000/     0.000
.E7 /     0.000/     0.000/     0.000/     0.000
.E8 /     0.000/     0.000/     0.000/     0.080
.E9 /     0.080/     0.050/     0.030/     0.010
.E10 /     0.000/     0.000/     0.000/     0.000
<timeSeriesExportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
					 xsi:schemaLocation="http://www.wldelft.nl/fews http://chps1/schemas/timeSeriesExportRun.xsd">
	<export>
		<general>
			<exportType>SHEF</exportType>
			<folder>$EXPORT_FOLDER_RVF$</folder>
			<exportFileName>
				<name>_mis_chps_shef_export.</name>
				<prefix>
					<timeZeroFormattingString>yyyyMMddHH</timeZeroFormattingString>
				</prefix>
				<suffix>
					<currentTimeFormattingString>yyyyMMddHHmmss</currentTimeFormattingString>
				</suffix>
			</exportFileName>
			<idMapId>IdExportSHEF_RVF</idMapId>
			<unitConversionsId>ExportSHEF</unitConversionsId>
			<exportMissingValue>-999</exportMissingValue>
			<omitMissingValues>false</omitMissingValues>
		</general>
		<properties>
   			<string key="format" value="E"/>
		</properties>
		<timeSeriesSet>
			<moduleInstanceId>H2Q_DRCM7_DRCM7_DRCM7_Forecast</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>STG</parameterId>
			<locationId>DRCM7</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="6"/>
			<relativeViewPeriod unit="day" start="-5" startOverrulable="false" end="0" endOverrulable="false"/>
			<readWriteMode>read only</readWriteMode>
		</timeSeriesSet>
		<timeSeriesSet>
			<moduleInstanceId>STAGEQ_DRCM7_SSTG_Forecast</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>SSTG</parameterId>
			<locationId>DRCM7</locationId>    
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="6"/>
			<relativeViewPeriod unit="day" start="-1" startOverrulable="false" end="14" endOverrulable="false"/>
			<readWriteMode>read only</readWriteMode>
		</timeSeriesSet>
	</export>
</timeSeriesExportRun>


 Java source code

ShefTimeSeriesSerializer.java