SSHP Data Transfer. Description Data Source at RFC Destination table at WFO in IHFS DB SAC-SMA state variables



Similar documents
Bulk Downloader. Call Recording: Bulk Downloader

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

JobScheduler Web Services Executing JobScheduler commands

My IC Customizer: Descriptors of Skins and Webapps for third party User Guide

Grandstream Networks, Inc. XML Configuration File Generator User Guide

JOINUS AG. PowerPay Checkout. Magento Module User Manual. Support:

Enterprise Content Management System Monitor. How to deploy the JMX monitor application in WebSphere ND clustered environments. Revision 1.

Dove User Guide Copyright Virgil Trasca

FioranoMQ 9. High Availability Guide

Listeners. Formats. Free Form. Formatted

Rocoto. HWRF Python Scripts Training Miami, FL November 19, 2015

Number of pages 17. Direct line Subject Required and Optional Configuration updates CHPS in FEWS release

HP Data Protector Integration with Autonomy IDOL Server

Configuring Load Balancing for EMC ViPR SRM

AmbrosiaMQ-MuleSource ESB Integration

ITG Software Engineering

USER GUIDE Slink for Magento

escan SBS 2008 Installation Guide

SAP HANA Cloud Applications Partner Program Certification

Microsoft Business Contact Manager Version 2.0 New to Product. Module 4: Importing and Exporting Data

How To Sync Quickbooks With Qvinci.Com On A Pc Or Macbook Or Mac Book (For A Webbook) With A Flashbook (For An Ubuntu Account) With An Ipo (For Macbook) On A Mac

Copyright 2013 EMC Corporation. All Rights Reserved.

Cleo Communications. CUEScript Training

EMC Documentum Interactive Delivery Services Accelerated: Step-by-Step Setup Guide

Tracking Network Changes Using Change Audit

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

Iowa Immunization Registry Information System (IRIS) Web Services Data Exchange Setup. Version 1.1 Last Updated: April 14, 2014

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes

EMC Documentum Connector for Microsoft SharePoint

Configuring BEA WebLogic Server for Web Authentication with SAS 9.2 Web Applications

Bazaarvoice for Magento Extension Implementation Guide v6.3.4

KC Data Integration Web Service Developer Guide

Printer Connection Manager

A Sample OFBiz application implementing remote access via RMI and SOAP Table of contents

LICENSE4J FLOATING LICENSE SERVER USER GUIDE

Integration Client Guide

Building and Using Web Services With JDeveloper 11g

Ciphermail Gateway Separate Front-end and Back-end Configuration Guide

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

X-POS GUIDE. v3.4 INSTALLATION SmartOSC and X-POS

Specify the location of an HTML control stored in the application repository. See Using the XPath search method, page 2.

Scalable Linux Clusters with LVS

Configuring SSL in OBIEE 11g

Configuring Java IDoc Adapter (IDoc_AAE) in Process Integration. : SAP Labs India Pvt.Ltd

BusinessObjects Enterprise XI Release 2

Setting Up the Mercent Marketplace Price Optimizer Extension

Jobs Guide Identity Manager February 10, 2012

LDAP Server Configuration Example

Process Integrator Deployment on IBM Webspher Application Server Cluster

IBM WebSphere Application Server Version 7.0

Laptop Backup - Administrator Guide (Windows)

Migration Guide Software, Database and Version Migration

Using LDAP Authentication in a PowerCenter Domain

Silect Software s MP Author

Staged Application Deployment in WebSphere V7

Automatic updates for Websense data endpoints

WebSphere Business Monitor V7.0 Installation and stand-alone server profile creation

See the installation page

MIS Export via the FEM transfer software

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Installation Documentation Smartsite ixperion 1.3

Installing and Using the Zimbra Reporting Tool

Magento Search Extension TECHNICAL DOCUMENTATION

TECHNICAL NOTE Stormshield Network Firewall AUTOMATIC BACKUPS. Document version: 1.0 Reference: snentno_autobackup

StreamServe Persuasion SP4

Submitting UITests at the Command Line

DPD shipping module documentation. Magento module version 2.0.3

Adobe Connect LMS Integration for Blackboard Learn 9

UFTP AUTHENTICATION SERVICE

keyon true-xtender Luna SA Monitor Service Manual Release Version Autor Date Keyon January 2016 Release with Luna SA 6 support

Installation Instructions Release Version 15.0 January 30 th, 2011

metaengine DataConnect For SharePoint 2007 Configuration Guide

Application Discovery Manager User s Guide vcenter Application Discovery Manager 6.2.1

Configuring Secure Socket Layer and Client-Certificate Authentication on SAS 9.3 Enterprise BI Server Systems That Use Oracle WebLogic 10.

Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2

LDAP Server Configuration Example

1 of 24 7/26/2011 2:48 PM

PHP Integration Kit. Version User Guide

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

How to - Install EventTracker and Change Audit Agent

Deploying EMC Documentum WDK Applications with IBM WebSEAL as a Reverse Proxy

EMC Clinical Archiving

Upgrading MySQL from 32-bit to 64-bit

etrust Audit Using the Recorder for Check Point FireWall-1 1.5

USER GUIDE. Snow Inventory Client for Unix Version Release date Document date

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

USER MANUAL Online Faxing Anywhere, Anytime Paperless Secure Faxing Anytime, Anywhere

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

NASA Workflow Tool. User Guide. September 29, 2010

/ Preparing to Manage a VMware Environment Page 1

IBM InfoSphere MDM Server v9.0. Version: Demo. Page <<1/11>>

WebSphere Business Monitor V7.0: Clustering Single cluster deployment environment pattern

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Cisco Call Manager Express Version 8.5

SAS Marketing Optimization. Windows Installation Instructions for Hot Fix 51mo14

Only LDAP-synchronized users can access SAML SSO-enabled web applications. Local end users and applications users cannot access them.

Transcription:

SSHP Data Transfer 1. Description of Algorithm http://www.weather.gov/ohd/hrl/nwsrfs/users_manual/part2/_pdf/24unithg.pdfin order to keep the SAC-SMA model states up-to-date and to provide other necessary input data, the SSHP Data Transfer process moves data from the FEWS database at an RFC to the IHFS database at a WFO. The transfer process is executed once per day, after the forecast model and update states run at the RFC have completed. Description Data Source at RFC Destination table at WFO in IHFS DB SAC-SMA state variables FEWS DB SacSmaState SAC-SMA parameters FEWS DB SacSmaParams MAPE adjustment values (12 monthly values) OR ET-demand curve (12 monthly values) Prior Computed Runoff (INFW time series) MAPE Time Series (optional) FEWS DB FEWS DB FEWS DB MonthlyValues FcstDischarge FcstOther 1

1.1 Data Transfer Process 2

1.2 Sending Side (RFC) in FEWS Environment 1.2.1 Cron script runs once per day and should be scheduled at least 5 minutes after the forecast model and update states run have completed. Cron at an RFC invokes run_sshpchps_transfer_send, which extracts data from FEWS database and sends an XML data file (via the AWIPS Message Handling System) to each WFO. The WFOs, moduleinstanceid (SEGMENTID_OPERATIONID), and WFO forecast points involved are configured in the control file: /awips/hydroapps/whfs/local/data/app/sshp/sshpchpstransfer.xml file. See control file format below. <?xml version="1.0" encoding="iso-8859-1"?> <SSHPTransfer> <wfo> <name>fwr</name> <mhsid>fwr</mhsid> <productid>kfwrrrmfwr</productid> <fcstpoint> <moduleinstanceid>atit2ss_atit2ss</moduleinstanceid> <ihfslocid>atit2</ihfslocid> <ihfsbasinid>atit2</ihfsbasinid> <sendmapetimeseries>no</sendmapetimeseries> </fcstpoint> <fcstpoint> <moduleinstanceid>skmt2ss_skmt2ss</moduleinstanceid> <ihfslocid>skmt2</ihfslocid> <ihfsbasinid>skmt2</ihfsbasinid> <sendmapetimeseries>yes</sendmapetimeseries> </fcstpoint> </wfo> </SSHPTransfer> Element descriptions: <SSHPTransfer> - mandatory root node <wfo> - For each WFO to which the RFC wants to send data, there will be 1 WFO element. It will contain the following sub-elements: <name>, <mhsid>, <productid>, and <fcstpoint>. There may be multiple <fcstpoint> elements. <name> - The abbreviated name of the WFO. <mhsid> - The AWIPS Message Handling System Id for the WFO. 3

<productid> - The Product Id to use with distributeproduct. <fcstpoint> - The element that represents the information used to pull data out of OFS and send it with the correct information to the WFO. It contains the sub-elements: <moduleinstanceid>, <ihfslocid>, <ihfsbasinid>, <sendmapetimeseries>. <moduleinstanceid> - Contains the name of the OFS segment id and operation id from which data will be extracted for this particular forecast point. <ihfslocid> - Contains the location id of the forecast point as stored in the WFO s IHFS database. <ihfsbasinid> - Contains the basin id associated with the forecast point as stored in the WFO s IHFS database. The MAPE data will be associated with this basinid. This should be the same basinid used for the MAP basin at the WFO. <sendmapetimeseries> - Contains values (YES or NO), determines if the data extraction program will attempt to extract MAPE time series data. If so, then there will be an MAPE time series sent along with Monthly Adjustment factors. If not, then an MAPE demand curve will be sent. On the sending side, some intermediate files will have been created in: /awips/hydroapps/whfs/local/data/sshp_transfer/ofs_extract_text /awips/hydroapps/whfs/local/data/sshp_transfer/ofs_extract_xml 1.2.2 run_sshpchps_transfer_send need two command line arguments RFC name and port number. It used to call the run_sshpchps_data_transfer and run_sshpchps_data_send scripts. 1.2.2.a) run_sshpchps_data_transfer The rfcname, port number, sshp control directory, sshp log directory, extract text directory and extract xml directory command line arguments passed into this script then starts java ohd.hseb.ohdutilities.sshp.messaging.sshpdatatransfermgr Which then calls: 1.2.2.a1) run_sshpchps_data_extract (script to use the FEWS pi service to extract data from FEWS database and to call 4

ohd.hseb.ohdutilities.sshp.sshpchpsextractor.sshpchpsextractordriver) on moduleinstanceid as defined in the SSHPCHPSTransfer.xml file. This creates files in /awips/hydroapps/whfs/local/data/sshp_transfer/ofs_extract_text 1.2.2.a2) ohd.hseb.ohdutilities.sshp.messaging.xmlsacencoder (within same Java process) which creates one xml data file per targeted WFO in /awips/hydroapps/whfs/local/data/sshp_transfer/ofs_extract_xml 1.2.2.b) run_sshpchps_data_send invokes distributeproduct and sends the data files over the AWIPS WAN via the Message Handling System (MHS); copies the extracted files to /awips/hydroapps/whfs/local/data/sshp_transfer/outgoing 1.3 Receiving Side (at each targeted WFO) in FEWS Environment N/A 2. Utility Parameters The SAC-SMA parameters retrieve a string PI Parameters xml from FEWS database via FEWS Pi Service. Some SAC-SMA parameters definition is used by SSHP Data Transfer that defined at section 2 (Model Parameters - Models/Sacramento_Soil_Moisture_Accounting) 3. Utility States The SAC-SMA model states file retrieves from FEWS database via FEWS Pi Service. Models/Sacramento_Soil_Moisture_Accounting See the model state property at section 3 (Model States - Models/Sacramento_Soil_Moisture_Accounting) 4. Utility Time Series The SSHP Data Transfer uses runoff (required) and potential evaporation (optional) time series from SAC-SMA model. The time series retrieve a string PI input xml from FEWS database via FEWS Pi Service. Input TimeSeries: Time Series Type Internal Model Units Time Step Missing Values Allowed INFW MM Any No Yes Required [Yes or No] MAPE MM Fixed to 24 No No 5

5. Notes about configuring Pi Service in FEWS The SSHP Data Transfer utility runs the FEWS PI Service as a backend process (without user interface) by using a script fews_piservice.sh. Information about this FEWS PI Service can be found at http://public.deltares.nl/display/fewsdoc/fews+pi+service There are several configuration xml files need to setup before running fews-piservice.sh script. Configuration Files PiService Configurations SSHPDataTransfer.xml Region Configurations ModuleInstanceSets.xml LocationSets.xml Id Map Configurations IdExportPiService.xml; and IdImportPiService.xml Description /Config/PiServiceConfigFiles directory Defines data to be exported for SSHP Data Transfer /Config/RegionConfigFiles directory Defines a set of SAC modules used by SSHP Data Transfer Defines a set of locations used by SSHP Data Transfer /Config/IdMapFiles directory A pair of files that describe mappings for importing and exporting when using SSHP Data Transfer Example PiService Config File:/Config/PiServiceConfigFiles/SSHPDataTransfer.xml. See Pi service control file format below. <?xml version="1.0" encoding="utf-8"?> <fewspiserviceconfig xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/fewspiserviceconfig.xsd"> <general> <importidmap>idimportpiservice</importidmap> <exportidmap>idexportpiservice</exportidmap> <timezone> <timezoneoffset>-06:00</timezoneoffset> </timezone> </general> <timeseries> <id>timeseries</id> <!-- INFW requires --> <timeseriesset> <moduleinstancesetid>sshp_sacsma</moduleinstancesetid> <valuetype>scalar</valuetype> <parameterid>infw</parameterid> <locationsetid>catchments_sitespecific</locationsetid> <timeseriestype>simulated forecasting</timeseriestype> <timestep unit="hour" multiplier="1" /> <readwritemode>read only</readwritemode> </timeseriesset> <!-- MAPE is optional --> <timeseriesset> <moduleinstanceid>sitespecific_mergemape_forecast</moduleinstanceid> 6

<valuetype>scalar</valuetype> <parameterid>mape</parameterid> <locationsetid>catchments_sitespecific</locationsetid> <timeseriestype>external forecasting</timeseriestype> <timestep id="12z"/> <readwritemode>read only</readwritemode> </timeseriesset> <missingvalue>-999.0</missingvalue> </timeseries> <!-- ATIT2SS does not use MAPE data --> <id>unithg_atit2ss_atit2ss</id> <moduleinstanceid>unithg_atit2ss_atit2ss_updatestates</moduleinstanceid> </moduleparameterset> <id>sacsma_atit2ss_atit2ss</id> <moduleinstanceid>sacsma_atit2ss_atit2ss_updatestates</moduleinstanceid> </moduleparameterset> <!-- SKMT2SS uses MAPE data --> <id>unithg_skmt2ss_skmt2ss</id> <moduleinstanceid>unithg_skmt2ss_skmt2ss_updatestates</moduleinstanceid> </moduleparameterset> <id>sacsma_skmt2ss_skmt2ss</id> <moduleinstanceid>sacsma_skmt2ss_skmt2ss_updatestates</moduleinstanceid> </moduleparameterset> <modulestate> <id>sacsma_atit2ss_atit2ss</id> <moduleinstanceid>sacsma_atit2ss_atit2ss_updatestates</moduleinstanceid> </modulestate> <modulestate> <id>sacsma_skmt2ss_skmt2ss</id> <moduleinstanceid>sacsma_skmt2ss_skmt2ss_updatestates</moduleinstanceid> </modulestate> </fewspiserviceconfig> Element descriptions: < fewspiserviceconfig> - mandatory root node <general> - Contains general configuration, such as import and export locations. Id mapping information for mapping client location/parameter ids to FEWS location/parameter ids. <timeseries> - Contains the mapping of client timeseries ids to the FEWS timeseries sets. - Contains the mapping of client moduleparameterset ids to the FEWS moduleinstance descriptor ids. <modulestate> - Contains the mapping of client modulestate ids to the FEWS moduleinstance descriptor ids. 7

6. FEWS Adapter Used N/A 7. Common Issues Issues Possible causes SshpDataTransferMgrCHPS.log (in /awips/hydroapps/whfs/local/data/log/sshp) ERROR- See the ofs extract text log file (in XML /awips/hydroapps/whfs/local/data/sshp_tra format) for more details. nsfer/ofs_extract_text/crwi3_crwi3.201 1_02_09_18_51_57.txt not found. WARNING- Could not get the correct moduleinstanceid "ARCT2" in the control file. Skip this forecast point... Check the moduleinstanceid in the control file SSHPCHPSTransfer.xml SshpDataTransferMgr.stdoutCHPS.log (in /awips/hydroapps/whfs/local/data/log/sshp) ERROR- the running file does not exist. Need to run the backend pi service ERROR- Could not connect to PiService Need to restart the backend pi service because running file is too old '< 1 minute' ofs extract text log (in /awips/hydroapps/whfs/local/data/sshp_transfer/ofs_extract_text) ERROR- WebService connection refused. Please check the PiServicePort. ERROR- SSHP could not retrieve PARAMETER from database The PiServicePort property in the pi service global properties file should be set to the same number. Check moduleparameterset id in PiServiceConfigFile. ERROR- SSHP could not retrieve TIMESERIES from database ERROR- SSHP could not retrieve Model STATE from database Check timeseries Id in PiServiceConfigFile. Check modulestate id in PiServiceConfigFile. 8

8. Instructions to add a new location to the existing FEWS SSHP configuration 1. Add new location to FEWS configuration xml files a. Add a new location into Config/PiServiceConfigFiles/ SSHPDataTransfer.xml Append moduleparameterset for UNITHG and SACSMA after the element tag </timeseries> Example: </timeseries> <id>unithg_phao1_phao1</id> <moduleinstanceid>unithg_phao1_phao1_updatestates</moduleinstanceid> </moduleparameterset> <id>sacsma_phao1_phao1</id> <moduleinstanceid>sacsma_phao1_phao1_updatestates</moduleinstanceid>. - Append modulestate for SACSMA before the element tag </fewspiserviceconfig> Example:. <modulestate> <id>sacsma_phao1_phao1</id> <moduleinstanceid>sacsma_phao1_phao1_updatestates</moduleinstanceid> </modulestate> </fewspiserviceconfig> b. Add a new locationid to locationset id=" Catchments_SiteSpecific" under Config/RegionConfigFiles/ LocationSets.xml file Example: <locationset id=" Catchments_SiteSpecific"> <locationid>phao1</locationid>. </locationset> c. Add a new moduleinstanceid to moduleinstanceset id="sshp_sacsma" under Config/RegionConfigFiles/ ModuleInstanceSets.xml file Example: <moduleinstanceset id="sshp_sacsma"> <moduleinstanceid>sacsma_phao1_phao1_forecast</moduleinstanceid> 9

</moduleinstanceset> d. If MAPE is used, then make sure to check <parameter id="mape_input"> <description/> <boolvalue>true</boolvalue> </parameter> 2. Add new wfo focus points to AWIPS configuration xml file a. Edit /awips/hydroapps/whfs/local/data/app/sshp/sshpchpstransfer.xml b. Add a new element <fcstpoint> that represents the information used to pull data out of OFS and send it with the correct information to the WFO. It contains the subelements: < moduleinstanceid>, <ihfslocid>, <ihfsbasinid>, <sendmapetimeseries>. Example: <fcstpoint> <moduleinstanceid>phao1_phao1</moduleinstanceid> <ihfslocid>phao1</ihfslocid> <ihfsbasinid>phao1</ihfsbasinid> <sendmapetimeseries>true</sendmapetimeseries> </fcstpoint> 10