Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
hFile1=OPEN(PLOutFileName, Create, Exclusive)
Print(hFile1, "Node Type";comma;"DimGraph";comma;"NodeName";comma; NodeName;comma;"Run Time";comma;RunTime)
Print(hFile1, "Date";comma;"Time";comma;"Precip";comma;"Precip.Quality";comma;"Outflow";comma;"Outflow.Quality")
...
Print(hFile1,MonthString;"/";DateString;"/";YearNum;comma; HourString;":00";comma; Precip;comma;Precip.Quality;comma;Outflow;comma;Outflow.Quality)


Directory Structure

The Hydstra adapter and model use a specified directory structure to run from. While this can be configured differently the structure below is recommended. Note that this structure also reflects the relevant sections of the FEWS configuration


No Format
+---bin  <FEWS binaries>
|       
\---FEWS_sa 																	<FEWS REGION Home directory>

    |
    +---Config
    |   +---ColdStateFiles
    |   |       Model_Hydstra_Calib_Forecast default.zip  Default.zip           <cold state files (placeholder)>
    |   |
    |   +---IdMapFiles
    |   |       IdExportHECHMS.xml
    |	|	IdImportHECHMS.xml.......................... custom mappings for the HEC-HMS variables and locations
    |   |
    |   +---ModuleConfigFiles
    |   |        HECHMS_Forecast.xml
    |	|	     HECHMS_Update.xml............ main configuration file of the adapter
    |   |
    |   \---ModuleDataSetFiles
    |            HECHMS_model.zip.........zipped hechms files, transported to Models directory
    |   |
    |   \---ModuleParFiles
    |            HEC-HMS_Parameters.xml.........(optional) hechms (template) parameter files, transported to Models directory by a exportParameterActivity in the GA
    |
    \---Models
        \---hec/hechms
            +---bin........................................ directory which contains all HEC-HMS executables for Windows and Linux platforms
            |
	    +---binAdapter................................. directory which contains allHEC-HMS adapter java files
            |
            \---model

		|    run_info.xml.......................... a file generated by FEWS containing paths, run options
                |
                +---basinStates.................................. folder containing the start/end statesinput directory of the adapter, input FEWS-PI time series files
                |
		+---map
		|
		+---optimizer
		|
                |
                +---piInputTimeseries.................................... input FEWS-PI time series files
                |       input.xml
                |
                +---piOutputTimeseriesoutput................................. output FEWS-PI time series files
                |       output.xml
                |
                |

		|model files
		|.dssfiles/results
		|debugfiles