92
Sept. 24-27, 200 2 Text Product Infrastructu re 1 GFESuite Text GFESuite Text Products Products Tracy Hansen

Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Embed Size (px)

Citation preview

Page 1: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 1

GFESuite Text ProductsGFESuite Text ProductsTracy Hansen

Page 2: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 2

OverviewOverviewEvolution of GFESuite Text Products: Evolution of GFESuite Text Products:

Past, Present, FuturePast, Present, FutureGenerating Text ProductsGenerating Text ProductsExample ProductsExample ProductsText Product InfrastructureText Product InfrastructureText Product TemplateText Product TemplateLocal CustomizationLocal Customization

Page 3: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 3

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products Philosophy of GFE FormattersPhilosophy of GFE Formatters

Python allows customizationPython allows customizationResponsibility for rules more on forecastersResponsibility for rules more on forecastersResponsibility for infrastructure on FSLResponsibility for infrastructure on FSL

Page 4: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 4

ExplorationExploration

Local FormatterLocal FormatterInfusion Plan 8/02Infusion Plan 8/02

MultipleMultipleversionsversions

BackwardBackwardCompatibleCompatible

RPP Development Cycle

Inception 9/98Inception 9/98

Page 5: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 5

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products Local Formatter Infusion PlanLocal Formatter Infusion Plan

For the NWS, in concert with FSL, to For the NWS, in concert with FSL, to develop a core set of GFESuite text develop a core set of GFESuite text formatters as an alternative approach to formatters as an alternative approach to IFPS text product generation providing IFPS text product generation providing potential risk reduction for the September potential risk reduction for the September 2003 IOC. 2003 IOC.

By providing a core set of standardized By providing a core set of standardized local formatters, the number of versions in local formatters, the number of versions in the field will be minimized while still the field will be minimized while still allowing local customization.allowing local customization.

Page 6: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 6

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products Local Formatter Infusion PlanLocal Formatter Infusion Plan

Local Formatter Development TeamLocal Formatter Development TeamWorkshop in August Workshop in August

Page 7: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 7

Inception 9/98Inception 9/98

ExplorationExplorationConsolidationConsolidation

Local FormatterLocal FormatterInfusion Plan 8/02Infusion Plan 8/02

MultipleMultipleversionsversions

BackwardBackwardCompatibleCompatible

ChangingChangingInfrastructureInfrastructure

IntegratingIntegratingVersionsVersions

Initial Products Initial Products for Testing 10/02for Testing 10/02

RPP Development Cycle

Page 8: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 8

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products Present Maturity LevelsPresent Maturity Levels

Public: ZFP/SAF 3 5Marine: CWF 3 5 GLF 0 7 NSH 0 7 MVF 0 8Fire: FWF 3 5 FWF Table 4 7 FWM 2 8Tabular: CCF 5 9 SFT 0 9 AFM/PFM 3 (RDF) 9

RPP17 RPP19Product

Page 9: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 9

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products PresentPresent

Oct 1Oct 1: Initial set of products available : Initial set of products available Oct 02 - Jun 03Oct 02 - Jun 03: The core products will be improved : The core products will be improved

and refined for operational use through the RPP and refined for operational use through the RPP feedback process. feedback process.

HOW WILL THIS FEEDBACK PROCESS WORK?HOW WILL THIS FEEDBACK PROCESS WORK?

Page 10: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 10

Feedback in Exploration PhaseFeedback in Exploration Phase

Install and customize products.Install and customize products. Identify enhancements needed.Identify enhancements needed.Make local modifications to new products Make local modifications to new products

using the infrastructure, writing new using the infrastructure, writing new methods and code to override the existing methods and code to override the existing methodsmethods

Page 11: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 11

Feedback in Exploration Phase Feedback in Exploration Phase

List Server Questions/FeedbackList Server Questions/Feedback

CustomizationCustomizationHelpHelp

ForecastersForecasters FSLFSL

Help withHelp withTrouble-shootingTrouble-shooting

Revised Product Revised Product for Site Afor Site A

Revised Product Revised Product for Site Bfor Site B

Page 12: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 12

Feedback in Exploration PhaseFeedback in Exploration Phase

Individual sites satisfiedIndividual sites satisfiedFSL provides support for local FSL provides support for local

developmentdevelopmentMultiple solutions to the same problem Multiple solutions to the same problem Enhancements not available to allEnhancements not available to all

Page 13: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 13

Feedback in Consolidation PhaseFeedback in Consolidation Phase

Integrating VersionsIntegrating VersionsInfrastructure is ChangingInfrastructure is Changing

Page 14: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 14

Feedback in Consolidation PhaseFeedback in Consolidation Phase

New Release: New Release: BREAKBREAK localized products localized productsTime to recover: Time to recover: Days to weeksDays to weeksProgress on new products: Progress on new products: reduced byreduced by 30-50%30-50%Enhancements not available to allEnhancements not available to all

Using Feedback Process from Using Feedback Process from Exploration PhaseExploration Phase

Page 15: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 15

Install and customize new products.Install and customize new products. Identify enhancements needed.Identify enhancements needed. Make local modifications to new products using Make local modifications to new products using

the infrastructure, writing new methods and the infrastructure, writing new methods and code to override the existing methodscode to override the existing methods

Feedback in Consolidation PhaseFeedback in Consolidation Phase

Page 16: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 16

List Server Questions/FeedbackList Server Questions/Feedback

CustomizationCustomizationHelpHelp

Product Team and LeaderProduct Team and Leader FSLFSL

Bug ReportBug ReportEnhancementEnhancement

RequestRequest

Revised Revised ProductProduct Revised Revised

InfrastructureInfrastructure

Interim solution Interim solution for all Sitesfor all Sites

Feedback in Consolidation PhaseFeedback in Consolidation Phase

Page 17: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 17

Individual sites have interim solutionIndividual sites have interim solutionTeam and FSL spend time on new Team and FSL spend time on new

product improvementproduct improvementOne solution to the same problem --> One solution to the same problem -->

easier to understand and maintaineasier to understand and maintainEnhancement is available to allEnhancement is available to all

Feedback in Consolidation PhaseFeedback in Consolidation Phase

Page 18: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 18

New Release: New Release: LESS LIKELY TO BREAKLESS LIKELY TO BREAK localized productslocalized products

Time to Recover: Time to Recover: <1 hour<1 hourProgress on new products: Progress on new products: increasedincreased

Feedback in Consolidation PhaseFeedback in Consolidation Phase

Page 19: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 19

Use feedback process for benefit of allUse feedback process for benefit of all In some cases, be willing to settle for less In some cases, be willing to settle for less

functionality functionality in the short termin the short termTo help build fully featured and maintainable To help build fully featured and maintainable

products products in the long termin the long term

Feedback in Consolidation PhaseFeedback in Consolidation PhaseSummarySummary

Page 20: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 20

Inception 9/98Inception 9/98

ExplorationExplorationConsolidationConsolidation

Local FormatterLocal FormatterInfusion Plan 8/02Infusion Plan 8/02

MultipleMultipleversionsversions

BackwardBackwardCompatibleCompatible

ChangingChangingInfrastructureInfrastructure

IntegratingIntegratingVersionsVersions

Initial Products Initial Products for Testing 10/02for Testing 10/02

RPP Development Cycle

Standardized LocalStandardized LocalProducts 6/03Products 6/03

Page 21: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 21

Evolution of GFESuite Text ProductsEvolution of GFESuite Text Products Future Future

Mature productsMature productsMature InfrastructureMature InfrastructureLocal customization can extend to Local customization can extend to

enhancements to the standard products enhancements to the standard products and new products and new products

Page 22: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 22

Generating Text ProductsGenerating Text ProductsFrom GFEFrom GFE

Publish to Publish to OfficialOfficial

Main Menu: Main Menu: Products-Products->Generate >Generate ProductsProducts

Select Product(s)Select Product(s)

Page 23: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 23

Generating Text ProductsGenerating Text ProductsFrom XNOWFrom XNOW

Allows for Combinations on-the-flyAllows for Combinations on-the-flyInformation: Information:

http://www.srh.noaa.gov/ama/xnowhttp://www.srh.noaa.gov/ama/xnow

Page 24: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 24

Example ProductsExample Products

TablesTablesArea By Element, Area By PeriodArea By Element, Area By PeriodElement By Area, Element By PeriodElement By Area, Element By PeriodPeriod By Element, Period By AreaPeriod By Element, Period By AreaFire Weather TableFire Weather TableSurface Temperature TableSurface Temperature TableQPF TableQPF Table

Page 25: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 25

Example ProductsExample Products

Area By ElementArea By Element

Page 26: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 26

Example ProductsExample Products

Period By AreaPeriod By Area

Page 27: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 27

Example ProductsExample Products

Element By PeriodElement By Period

Page 28: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 28

Example Text ProductsExample Text Products Temperature/PoP Table - Temperature/PoP Table - TucsonTucson Coded Forecast - Coded Forecast - BoulderBoulder RDF - Revised Digital Forecast -RDF - Revised Digital Forecast -Charleston, Charleston,

BoulderBoulder Matrix - Matrix - SacramentoSacramento Area Forecast - Area Forecast - Boulder, Tampa BayBoulder, Tampa Bay Spanish Area Forecast - Spanish Area Forecast - MiamiMiami Marine Forecast - Marine Forecast - Tampa BayTampa Bay Fire Area Forecast - Fire Area Forecast - BoulderBoulder Fire Weather Table - Fire Weather Table - Charleston, Tampa BayCharleston, Tampa Bay

Page 29: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 29

Example ProductsExample Products

Temperature/PoP TableTemperature/PoP Table

Page 30: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 30

Example ProductsExample Products

Coded ForecastCoded Forecast

Page 31: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 31

Example ProductsExample Products

RDF (now AFM)RDF (now AFM)

Page 32: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 32

Example ProductsExample Products

MatrixMatrix

Page 33: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 33

Example ProductsExample Products

ZFPZFP

Page 34: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 34

Example ProductsExample Products

Spanish ZFPSpanish ZFP

Page 35: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 35

Example ProductsExample Products

CWFCWF

Page 36: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 36

Example ProductsExample Products

FWFFWF

Page 37: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 37

Example ProductsExample Products

FWF TableFWF Table

Page 38: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 38

SmartScript LibrarySmartScript LibraryAccess to Data, Soundings,Access to Data, Soundings,Conversion MethodsConversion Methods

Forecast GridsForecast Grids

Smart Tool FrameworkSmart Tool Framework

D2D GridsD2D GridsSurface Model Surface Model

GridsGrids

Smart Tools and ProceduresSmart Tools and Procedures

Text Product InfrastructureText Product InfrastructureSimilar to Smart Tool FrameworkSimilar to Smart Tool Framework

Page 39: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 39

Text Product InfrastructureText Product Infrastructure

OfficialOfficial DatabaseDatabase

Text Products

Text ProductText Product Framework

TableTable SeriesSeries

SamplerSampler

ComponentComponent

Page 40: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 40

TextProduct InfrastructureTextProduct Infrastructure

Sampler Sampler Grids to Histograms Grids to Histograms

Page 41: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 41

Official DatabaseDatabase

Text Products

Text Product FrameworkText Product Framework

SamplerSampler AnalysisAnalysis StatisticsStatistics

TableTable SeriesSeries

Text RulesRules

SmartSmart

Forecast LibraryForecast LibraryAccess to Sampling, Analysis,Access to Sampling, Analysis, Edit Areas, FormattingEdit Areas, Formatting

TextProduct InfrastructureTextProduct Infrastructure

Smart Text ProductsSmart Text Products

ComponentComponent

Page 42: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 42

Smart Text Smart Text ProductsProducts

Inheritance Inheritance

Forecast Forecast LibraryLibrary

SampleSampleAnalysisAnalysis

TextRulesTextRules

Local Local Text ProductText Product

Text ProductText Product

SamplerSampler

Page 43: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 43

Standard / Local filesStandard / Local filesStandard VersionStandard Version

Local VersionLocal Version

Page 44: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 44

Product TemplateProduct Template

What is a Template?What is a Template? Standard format for text productsStandard format for text products

Why have a Template?Why have a Template? Consistency -->Consistency --> Easier to Understand -->Easier to Understand --> Easier to Customize and SupportEasier to Customize and Support

Page 45: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 45

DocumentationDocumentation Purpose/DescriptionPurpose/Description Standard and Local File names and locationStandard and Local File names and location Customization PointsCustomization Points Weather Elements NeededWeather Elements Needed Edit Areas NeededEdit Areas Needed Associated Utility Files e.g. CombinationsAssociated Utility Files e.g. Combinations Component ProductsComponent Products Programmers and SupportProgrammers and Support Example OutputExample Output Additional InformationAdditional Information

Page 46: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 46

Smart Text ProductsSmart Text Products Text Product TemplateText Product Template

Example Output

Documentation

Page 47: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 47

Smart Text ProductsSmart Text Products Text Product TemplateText Product Template

VariableList

Definition

Inheritance

Page 48: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 48

Smart Text Products Smart Text Products Text ProductText Product TemplateTemplate

Product-Specific Methods

Override InheritedThresholds, Variables, and Methods

Component Products

Analysis List

Page 49: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 49

Smart Text ProductsSmart Text Products Template Main MethodTemplate Main Method

Generate Forecast

Get Variables

Set up Edit Areas

Set up Time Ranges

Sample Data

Product Header

Loop Over Edit Areas

Return Text String

Page 50: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 50

Smart Text Products Smart Text Products Template Sub-MethodsTemplate Sub-Methods

Get Variables

Set up Time Ranges

Sample Data

Product Header

Edit Area Header

Make Product

Edit Area Footer

Product Footer

Page 51: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 51

Smart Text ProductsSmart Text Products

Phrase Product ComponentsPhrase Product Components

““type”: “component”type”: “component”Determine Weather ElementsDetermine Weather Elements

Define Analysis Define Analysis (AnalysisClass)(AnalysisClass)

Determine Text Rules to create phrases Determine Text Rules to create phrases (TextRulesClass)(TextRulesClass)

Page 52: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 52

Smart Text ProductsSmart Text Products

Component Phrase AnalysisComponent Phrase Analysis

"analysisList": ["analysisList": [ ( "MinT", self.avg),( "MinT", self.avg),

( "MaxT", self.avg),( "MaxT", self.avg), ( "T", self.hourlyTemp),( "T", self.hourlyTemp), ( "Sky", self.minmax, [2]),( "Sky", self.minmax, [2]), ( "PoP", self.avg),( "PoP", self.avg), ( "Snow", self.minmax),( "Snow", self.minmax), ( "Wind", self.vectorTextMinMax),( "Wind", self.vectorTextMinMax), ( "Wx", self.dominantWx)( "Wx", self.dominantWx) ], ],

Page 53: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 53

Smart Text ProductsSmart Text Products

Component Phrase Text RulesComponent Phrase Text Rules

"textRules": [ "textRules": [ self.reportTrends,self.reportTrends, self.wind_summary,self.wind_summary, self.sky_phrase,self.sky_phrase, self.weatherRange_phrase,self.weatherRange_phrase, self.snow_phrase,self.snow_phrase, self.highs_phrase,self.highs_phrase, self.lows_phrase,self.lows_phrase, self.windRange_phrase, self.windRange_phrase, self.pop_phrase, self.pop_phrase, ],],

Page 54: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 54

Smart Text ProductsSmart Text Products

Component Phrase ResultComponent Phrase Result

Warmer. Breezy. Partly cloudy. Isolated rain showers. Highs in Warmer. Breezy. Partly cloudy. Isolated rain showers. Highs in around 60. Winds northeast at 35 to 40 mph. Probability of around 60. Winds northeast at 35 to 40 mph. Probability of precipitation 20 percent.precipitation 20 percent.

Page 55: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 55

Smart Text ProductsSmart Text Products

Series ProductsSeries Products

Determine Component PhrasesDetermine Component Phrases

Determine Time Period for each ComponentDetermine Time Period for each Component

Page 56: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 56

Smart Text ProductsSmart Text Products

Series Product DefinitionSeries Product Definition

””SeriesDef": [SeriesDef": [

("Period”,12), ("Period", 12), ("Period",12),("Period",12), ("Period”,12), ("Period", 12), ("Period",12),("Period",12),

("Extended",24), ("Extended",24), ("Extended",24)("Extended",24), ("Extended",24), ("Extended",24)

],],

"labelType" :"Worded","labelType" :"Worded",

Page 57: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 57

Smart Text ProductsSmart Text Products

Series ProductSeries Product

Page 58: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 58

Smart Text Products Smart Text Products Local Template Local Template

Override InheritedThresholds,Variables,and Methods

Import Standard Product

Override VariableList (Optional)

Override Definition (Required)

Inherit from Standard Product

Page 59: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 59

Local CustomizationLocal Customization

Stick to established Customization PointsStick to established Customization PointsUse Consolidation Feedback Process for Use Consolidation Feedback Process for

support and enhancementssupport and enhancements

Page 60: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 60

Local CustomizationLocal Customization

To activate product: set displayName in Local To activate product: set displayName in Local file (e.g. file (e.g. FWF_LocalFWF_Local))

Standard file (e.g. Standard file (e.g. FWFFWF) is read-only) is read-onlyStudy “Customization Points” section of the Study “Customization Points” section of the

Standard fileStandard fileSet-up local customizations in Local fileSet-up local customizations in Local file

Page 61: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 61

Activating New ProductsActivating New Products

Log in to GFE under a new userID, e.g. Log in to GFE under a new userID, e.g. TextTestTextTest

GFE-->Define Text Products DialogGFE-->Define Text Products Dialog

Page 62: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 62

Activating New ProductsActivating New Products

Page 63: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 63

Activating New ProductsActivating New Products

TextTestTextTest

AreaFcstAreaFcst

ZFP_LocalZFP_Local

AFMAFMAFM_LocalAFM_LocalCCFCCFCCF_LocalCCF_LocalFWFFWFFWF_LocalFWF_Local

SAF_LocalSAF_Local

Page 64: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 64

Definition SectionDefinition Section

FWF Standard File:FWF Standard File: Definition = {Definition = { “ “displayName”: None, displayName”: None, “ “includeTempPopTable”: 0,includeTempPopTable”: 0, }}

FWF_Local:FWF_Local: Definition = FWF.TextProduct.DefinitionDefinition = FWF.TextProduct.Definition Definition[“displayName”] = “None”Definition[“displayName”] = “None” #Definition[“displayName”] = “FWF”#Definition[“displayName”] = “FWF”

Page 65: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 65

Definition SectionDefinition Section

FWF Standard File:FWF Standard File: Definition = {Definition = { “ “displayName”: None, displayName”: None, “ “includeTempPopTable”: 0,includeTempPopTable”: 0, }}

FWF_Local:FWF_Local: Definition = FWF.TextProduct.DefinitionDefinition = FWF.TextProduct.Definition Definition[“displayName”] = “None”Definition[“displayName”] = “None” Definition[“displayName”] = “FWF”Definition[“displayName”] = “FWF”

Page 66: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 66

Customization PointsCustomization Points

Definition SectionDefinition Section

Page 67: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 67

Definition SectionDefinition Section

FWF Standard File:FWF Standard File: Definition = {Definition = { “ “displayName”: None, displayName”: None, “ “includeTempPopTable”: 0,includeTempPopTable”: 0, }}

FWF_Local:FWF_Local: Definition = FWF.TextProduct.DefinitionDefinition = FWF.TextProduct.Definition Definition[“displayName”] = “None”Definition[“displayName”] = “None” Definition[“displayName”] = “FWF”Definition[“displayName”] = “FWF”

Definition[“includeTempPopTable”] = 1Definition[“includeTempPopTable”] = 1

Page 68: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 68

Customization PointsCustomization Points

Embryo StageEmbryo StageDefinition Section Definition Section Overriding Thresholds and VariablesOverriding Thresholds and VariablesComponent Product DefinitionsComponent Product DefinitionsTranslatorTranslator

Page 69: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 69

Customization PointsCustomization Points Overriding Thresholds and Overriding Thresholds and

VariablesVariables

Page 70: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 70

Objects and Data StructuresObjects and Data Structures

EditArea -- EditArea -- gives name and data pointsgives name and data points TimeRangeTimeRange -- -- gives start and end timesgives start and end times ParmHistoParmHisto -- -- sampler information for a weather sampler information for a weather

elementelement ComponentNameComponentName -- -- current component productcurrent component product statDictstatDict -- -- dictionary of statistics from the analysisdictionary of statistics from the analysis argDictargDict -- -- holds information about current text productholds information about current text product

Page 71: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 71

Naming ConventionsNaming Conventions

_percentage -- number from 1-100_percentage -- number from 1-100_weight -- number from 0-1_weight -- number from 0-1_threshold -- typically a data value _threshold -- typically a data value _dict -- a dictionary of values_dict -- a dictionary of values_list -- list_list -- list_valueList -- list of phrase values_valueList -- list of phrase values

Page 72: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 72

SamplerAnalysisSamplerAnalysis

Temporal CoverageTemporal Coverage

def def temporalCoverage_percentagetemporalCoverage_percentage(self, parmHisto, (self, parmHisto, timeRange, componentName):timeRange, componentName):

# Grids included in the analysis must cover this# Grids included in the analysis must cover this # percentage of the time range OR# percentage of the time range OR # be completely included within the time range.# be completely included within the time range. return return 2020

Page 73: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 73

SamplerAnalysisSamplerAnalysis

Temporal Coverage Temporal Coverage

temporalCoverage_percentage set to 20

AWx B C

Time Range

Grids B, C, D will be included in the Analysis.

ED

For a grid to be included in the Analysis, it must cover 20 percent of the time range ORbe completely included in the time range.

Page 74: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 74

SamplerAnalysisSamplerAnalysis

Temporal CoverageTemporal Coverage

def def wxkey_temporalCoverage_percentagewxkey_temporalCoverage_percentage(self, parmHisto, timeRange, (self, parmHisto, timeRange, componentName):componentName):

# Percent of time that must be covered by a weather# Percent of time that must be covered by a weather # key in order to be reported.# key in order to be reported. … … if wxType == “T” and intensity == “+”:if wxType == “T” and intensity == “+”: return 0return 0 ... ...

Page 75: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 75

SamplerAnalysisSamplerAnalysis

Areal CoverageAreal Coverage

def def wxkey_arealCoverage_percentagewxkey_arealCoverage_percentage(self, parmHisto, timeRange, (self, parmHisto, timeRange, componentName):componentName):

# Percentage of areal coverage over an edit area # Percentage of areal coverage over an edit area # that a weather key must cover to be reported.# that a weather key must cover to be reported.

return self.wxkey_temporalCoverage_percentage(return self.wxkey_temporalCoverage_percentage( self, parmHisto, timeRange, componentName)self, parmHisto, timeRange, componentName)

Page 76: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 76

SamplerAnalysisSamplerAnalysis

Dominant WxDominant Wx

def def dominantKeys_thresholddominantKeys_threshold(self, parmHisto, timeRange, componentName):(self, parmHisto, timeRange, componentName): # # Maximum number of weather keys to report per Maximum number of weather keys to report per # per time range# per time range.. return return 33

Page 77: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 77

TextRulesTextRules

ThresholdsThresholds

def def pop_sky_lower_thresholdpop_sky_lower_threshold(self, statDict, argDict):(self, statDict, argDict):

# # Sky condition will not be reported if PoP is aboveSky condition will not be reported if PoP is above

# this threshold# this threshold

return return 6060

Page 78: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 78

TextRulesTextRules

ValuesValuesdef def sky_valueListsky_valueList(self, statDict, argDict):(self, statDict, argDict): # # Phrases for sky given value. Tuples consist of:Phrases for sky given value. Tuples consist of: # (threshold, dayTime phrase, nightTime phrase)# (threshold, dayTime phrase, nightTime phrase) # Used by skyRange_phrase# Used by skyRange_phrase return [return [ (6, “sunny”, “clear”),(6, “sunny”, “clear”), (31, “mostly sunny”, “mostly clear”),(31, “mostly sunny”, “mostly clear”), (69, “mostly sunny”, “mostly clear”),(69, “mostly sunny”, “mostly clear”), (94, “mostly sunny”, “mostly clear”),(94, “mostly sunny”, “mostly clear”), (100, “mostly sunny”, “mostly clear”),(100, “mostly sunny”, “mostly clear”), ]]

Page 79: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 79

Customization PointsCustomization Points Component Product Component Product

DefinitionsDefinitions

Page 80: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 80

Smart Text ProductsSmart Text Products

Component Phrase AnalysisComponent Phrase Analysis

"analysisList": ["analysisList": [ ( "MinT", self.avg),( "MinT", self.avg),

( "MaxT", self.avg),( "MaxT", self.avg), ( "T", self.hourlyTemp),( "T", self.hourlyTemp), ( "Sky", self.minmax( "Sky", self.minmax),), ( "PoP", self.avg),( "PoP", self.avg), ( "Snow", self.minmax),( "Snow", self.minmax), ( ( "Wind", self.vectorTextMinMax"Wind", self.vectorTextMinMax),), ( "Wx", self.dominantWx)( "Wx", self.dominantWx) ], ],

Page 81: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 81

Smart Text ProductsSmart Text Products

Component Phrase AnalysisComponent Phrase Analysis

"analysisList": ["analysisList": [ ( "MinT", self.avg),( "MinT", self.avg),

( "MaxT", self.avg),( "MaxT", self.avg), ( "T", self.hourlyTemp),( "T", self.hourlyTemp), ( "Sky", self.minmax),( "Sky", self.minmax), ( "PoP", self.avg),( "PoP", self.avg), ( "Snow", self.minmax),( "Snow", self.minmax), ( ( "Wind", self.vectorTextMinMax, [2]"Wind", self.vectorTextMinMax, [2]),), ( "Wx", self.dominantWx)( "Wx", self.dominantWx) ], ],

Page 82: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 82

Smart Text ProductsSmart Text Products

Component Phrase Text RulesComponent Phrase Text Rules

"textRules": [ "textRules": [ self.reportTrends,self.reportTrends, self.wind_summary,self.wind_summary, self.sky_phrase,self.sky_phrase, self.weatherRange_phrase,self.weatherRange_phrase, self.snow_phrase,self.snow_phrase, self.highs_phrase,self.highs_phrase, self.lows_phrase,self.lows_phrase, self.windRange_phraseself.windRange_phrase, , self.pop_phrase, self.pop_phrase, ],],

Page 83: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 83

Smart Text ProductsSmart Text Products

Component Phrase Text RulesComponent Phrase Text Rules

"textRules": [ "textRules": [ self.reportTrends,self.reportTrends, self.wind_summary,self.wind_summary, self.sky_phrase,self.sky_phrase, self.windRange_phraseself.windRange_phrase, , self.weatherRange_phrase,self.weatherRange_phrase, self.snow_phrase,self.snow_phrase, self.highs_phrase,self.highs_phrase, self.lows_phrase,self.lows_phrase, self.pop_phrase, self.pop_phrase, ],],

Page 84: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 84

Smart Text ProductsSmart Text Products

Component Phrase Text RulesComponent Phrase Text Rules

"textRules": [ "textRules": [ self.reportTrends,self.reportTrends, self.wind_summary,self.wind_summary, self.sky_phrase,self.sky_phrase, self.windRange_withGusts_phraseself.windRange_withGusts_phrase, , self.weatherRange_phrase,self.weatherRange_phrase, self.snow_phrase,self.snow_phrase, self.highs_phrase,self.highs_phrase, self.lows_phrase,self.lows_phrase, self.pop_phrase, self.pop_phrase, ],],

Page 85: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 85

Setting Up Local Effects in Setting Up Local Effects in Component DefinitionComponent Definition

”localEffects": { “MinT”: [{

LOWS 37-50 EXCEPT 27-39 ABOVE TIMBERLINE.

“area1”: “Mountains”, “area2”: “Valleys”, “threshold”: 10, “introWords”: “lows”, “exceptionWords”: “…except”, “localAreaDescription”: “above timberline” “rangeReportingMethod”: self.getScalarRange, “simpleValueReportingMethod”: self.getTempPhrase,

},], },

Page 86: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 86

Setting Up Local Effects in Setting Up Local Effects in Component Definition Component Definition

"textRules": [ self.reportTrends, self.wind_summary, self.sky_phrase, self.localEffects_temp_phrase,

],

Page 87: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 87

TranslatorTranslator

Text PhraseProduct Translator.py

TabularProduct

TranslatedProduct

(e.g. French, Spanish)

Translator

Page 88: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 88

TranslatorTranslator

List in Text Utilities: List in Text Utilities: Translator Translator with English, French, Spanish with English, French, Spanish expressions:expressions:

Expression = [Expression = [ ('Short Term Forecast','Previsions Court Terme',\('Short Term Forecast','Previsions Court Terme',\ 'Pronostico a Corto Plazo'),'Pronostico a Corto Plazo'), ('Sky','Ciel','Cielo'),('Sky','Ciel','Cielo'), ('Wind (mph)','Vent (mph)','Viento (mph)'),('Wind (mph)','Vent (mph)','Viento (mph)'), ('MaxT','Temp Max','Temp Max'),('MaxT','Temp Max','Temp Max'), ('MinT','Temp Min','Temp Min'),('MinT','Temp Min','Temp Min'), ('Precip','Precip','Lluvias'),('Precip','Precip','Lluvias'), ]]

Page 89: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 89

Migrating to New ProductsMigrating to New Products

SITESITE TestTextTestText

ZFP_LocalZFP_Local

CCF_LocalCCF_Local

FWF_LocalFWF_LocalFWF_LocalFWF_Local

CCF_LocalCCF_Local

ZFP_LocalZFP_Local

Page 90: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 90

Migrating to New ProductsMigrating to New Products

SITESITEAreaFcstAreaFcstAreaFcst_LocalAreaFcst_Local

TestTextTestText

ZFP_LocalZFP_Local

CCF_LocalCCF_Local

FWF_LocalFWF_Local

FWFFWFFWF_LocalFWF_Local

CCFCCFCCF_LocalCCF_Local

Page 91: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 91

Migrating to New ProductsMigrating to New Products

SITESITE TestTextTestText

ZFP_LocalZFP_Local

CCF_LocalCCF_Local

FWF_LocalFWF_Local

ZFP_LocalZFP_Local

CCF_LocalCCF_Local

FWF_LocalFWF_Local

Page 92: Sept. 24-27, 2002Text Product Infrastructure1 GFESuite Text Products GFESuite Text Products Tracy Hansen

Sept. 24-27, 2002 Text Product Infrastructure 92

SummarySummary

Evolution of GFESuite Text ProductsEvolution of GFESuite Text ProductsConsolidation Phase Feedback ProcessConsolidation Phase Feedback ProcessCustomization PointsCustomization PointsMigrating to New ProductsMigrating to New Products