awips2/cave/com.raytheon.viz.gfe/help/TextProductUserGuide/Slide44.html
2022-05-05 12:34:50 -05:00

16 lines
1.1 KiB
HTML

<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title></title>
</head>
<body>
<center>
<h2> Text Formatter User Guide</h2>
<h3>44. Basic Customizations - Standard Product Main Method</h3>
<hr>
<a href=Slide43.html>Previous Slide</a> <a href=Slide45.html>Next Slide</a> <br><img SRC=Slide44.JPG border=1><br></center>
<p><p><big>Next, we have the "generateProducts" method which conducts the general flow of product execution. It consists of the following methods and steps:<br> _getVariables: Get the variables entered by the user from the VariableList definition and set up any product specific variables.<br> _getAreaList: Get the list of edit areas over which the product will run.<br> _determineTimeRanges: Calculate the time ranges over which we'll need to sample the data.<br> _sampleData: Sample the data<br> _preProcessProduct: Create the product header.<br> Now we loop through each edit area producing a header (_preProcessArea), the product text (_makeProduct), and a footer (_postProcessArea).<br> _postProcessProduct: Create product footer.<br> Return the resulting text string.<br></big>
</body>
</html>