Laserfiche WebLink
This task memorandum will discuss the cucommon, cuclimat, and cucropco DMIs. The cunonet DMI is <br />discussed in Task Memorandum 2.09-19: Cunonet DMI-Returns for the CU Model Other Uses. <br />2.0 DISCUSSION/ANALYSIS <br />The CU Model uses data from the CRDSS Informix Database when a new scenario is created using the <br />CU Model Interface. These data are retrieved from the Informix database using several high level DMI <br />routines that format data into input files. <br />Data are retrieved from the Informix database depending on the sub-area type and location specified by <br />the user in the Create Scenario window. Data can be retrieved based on units of Counties, Hydrologic <br />Units, County/HUC combinations, structures, or individual fields by geoloc number. To select sub-areas <br />graphically, the user can use the Create Scenario from the CRDSS CU Model Interface. <br />The Create Scenario option will access the relational database and retrieve data using the following high <br />level DMI routines: <br />? <br />* cucommon - Returns CU Model Input File for Common Data <br />? <br />* cuclimat - Returns CU Model Input Files for Climate Data <br />? <br />* cucropco - Returns CU Model Input File for Crop Coefficients <br />? <br />* cunonet - Returns CU Model Input File for Other Uses (Task Memorandum 2.09-19) <br />3.0 cucommon DMI <br />The cucommon DMI generates a formatted common-data file required by both the irrigation and non- <br />irrigation components of the CU model. Files having ?.cmn? as a suffix, contain general information <br />common to the irrigation and non-irrigation components. <br />The general function of this DMI is to return formatted data for sub-areas in the specified time period. <br />The cucommon DMI uses a control file to define time period parameters for model data. The parameters <br />are placed in a data structure and passed to a low level DMI. The low level DMI queries the database and <br />returns requested data to the cucommon DMI. The data are written to a formatted data file used as input <br />for the CU Model. <br />3.1 cucommon DMI Inputs <br />The DMI is passed the name of a control file defining the time parameters and sub-areas selected by the <br />user through the CU Model Interface. These parameters are specified in the Create Scenario Window and <br />saved into a control file. This file is read by the DMI as it builds the low-level DMI input data structure. <br />Control files have ?.ctl? as a suffix. For more information about the ?.ctl? file format, see the man page <br />for cu_ctl. <br />Area and time parameters specified in the control panel: <br />? <br />A list of spatial identifiers describing the specified sub-area. (county name, water district number, <br />hydrologic unit number, combination [county, hydrologic unit], combination [water district, id], or <br />Location Number [geoloc_num] ). <br />? <br />The begin year for the model run. <br />? <br />The end year for the model run (>= begin year). <br />2 <br />11.29.96 2.09-18 IDS/CSU <br />