awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuideNarrative/notes93.txt
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

2 lines
524 B
Text

Here's an example setUp method for the wind_phrase. We first set up the information about the weather elements included in the phrase. Then we determine a connectorMethod which will create the connecting words between sub-phrases. For example, "North winds 10 mph INCREASING TO 20 mph in the afternoon". Then we call a PhraseBuilder method to set up the sub-phrases according to the temporal resolution of the statistics. Finally, it is important the we return the "self.DONE()" flag so this method is not called again.