My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
WSPC05429
CWCB
>
Water Supply Protection
>
Backfile
>
18000-18999
>
WSPC05429
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
7/29/2009 11:10:30 AM
Creation date
10/9/2006 5:13:20 AM
Metadata
Fields
Template:
Water Supply Protection
File Number
8283.200
Description
Colorado River Basin-Colorado River Computer Models-Colorado River Decision Support System-Ray
State
CO
Water Division
5
Date
1/1/1996
Author
CADSWES
Title
South Platte Water Rights Management System-Programmers Manual
Water Supply Pro - Doc Type
Report/Study
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
51
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
<br />tHHJtJ36 <br /> <br />freePointFlowTable () frees all memory associated for the supplied point <br />flow record. <br /> <br />DurnpRowTi tIe () outputs the data specification line containing a description of <br />the fields output in the data portion of the point flow output file. <br /> <br />GetDai lyStrearnflowValue ( ) extracts the month, day, and year from the <br />supplied date and forms the basis of a stream flow query. All streamflow values for the <br />date are retrieved (using QueryStrearnflowlnit and QueryStrearn- <br />flowNext) and averaged using a weighted averaging scheme. <br /> <br />DurnpPointFlowHeaderToFile () outputs the header (first) portion of the <br />point flow output file for the supplied point flow record. Included are the identification <br />line (with reach 10, start and end dates). The reach definition section (with the <br />description of the items in the file) and the data spe<;ification line (see DurnpRow- <br />Ti tle). <br /> <br />DumpPointFlowRowToFile () outputs all of the data for the supplied row to <br />the point flow output file, which requires reading all information sheet rows for the <br />item (calling QueryWISRowsRangelni t () and QueryWISRows- <br />RangeNext ( )) , recomputing the totals, and computing the daily streamflow <br />values if the item is a streamgauge (by calling GetDailyStream- <br />flowValue ()). <br /> <br />CreatePointFlowFileSave () is a UNIX-only function which prompts the <br />user for the filename, retrieves the start and end dates from the Preference dialog and <br />creates the exported file by calling CreatePointPlowFile (). <br /> <br />CreatePointFlowFile () is the main entry point to the point flow subsystem <br />which opens a temporary file and generates the point flow output file for the supplied <br />reach and dates. This routine is a DMI function used for creating the file sent to the <br />Pc. This function works by: <br /> <br />I. Creating an empty point flow table by calling CreateErnptyPoint- <br />FlowTable (). <br /> <br />2. Opening a temporary file. <br /> <br />3. Outputing the header information by calling DumpPointFlowHeaderTo- <br />File (). <br /> <br />4. For each row in the point flow table, outputing the row by calling Dump Po i n t- <br />FlowRowToFile () passing the start and end dates. <br /> <br />5. Releasing all dynamic memory by calling freePointFlowTable ( ) . <br /> <br />1.7 Client-Server Implementation- <br />Communications <br /> <br />A separate UNIX server application runs when users dial in from a PC. This applica- <br />tion contains all the functionality of the main UNIX application including the DMI, <br />but is stripped of all the Motif code so the executable is smaller. The UNIX server <br />application consists of the simplified version of the main UNIX application, plus a <br />communications component that sends data to and receives data from the PC. <br /> <br />39 <br />
The URL can be used to link to this page
Your browser does not support the video tag.