Versions Compared

Key

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

...

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. Descriptions of elements where relevant are provided in angle brackets. File names where provided below are given for the "Elbow" model (replace this with appropriate model name).


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

    |
    +---Config
    |   +---ColdStateFiles
    |   |       ModelElbow_Hydstra_Calib_Forecast default.zip  Default.zip           <cold state files (placeholder)>
    |   |
    |   +---IdMapFiles
    |   |       IdExportHECHMSIdExportHydstra_Elbow.xml
    |	|	IdImportHECHMS.xml.......................... custom mappings for the HEC-HMS variables and locations	<mapping of identifies for model input series exported from FEWS>
    |   |
       IdImportHydstra_Elbow.xml		<mapping of identifies for model output series imported to FEWS>
    |   |
    |   +---ModuleConfigFiles
    |   |        HECHMS_ForecastElbow_Hydstra_Calib_Template.xml
    |	|	     HECHMS_Update.xml............ main <main configuration file of the general adapter
 - note this |may be a |template)
    |	|	   \---ModuleDataSetFiles
  Elbow_Hydstra_Forecast_Template.xml  |    <main configuration file of the general adapter  HECHMS_model.zip.........zipped hechms files, transported to Models directory- note this may be a template)
    |   |
    |   \---ModuleParFilesModuleDataSetFiles
    |            HEC-HMS_Parameters.xml.........(optional) hechms (template) parameter files, transported to Models directory by a exportParameterActivity in the GAElbow_Hydstra_Historic.zip           <zipped TSO template (original)>
    |   |
    |
    \---ModelsModuleParFiles
        \---hec/hechms
|             +---binParameterConfig_HydstraModels.xml........................................ directory which contains all HEC-HMS executables for Windows and Linux platforms<(optional) Hydsrta(template) parameter files>
    |
    \---Modules
        \---hydstra
        |
	    +---binAdapterbin.................................... directory containing whichthe containsHydstra allHEC-HMSAdapter adapterJava javaClass files 
            |
  	          \+---model

		|    run_info.xmlHydstraBin..............................directory acontaining fileHydstra generatedexecutable byand FEWS containing paths, run options
 model libraries
               |

        	        +---basinStatesInputFilesXML.................................. folder containing the start/end statesinput directory of the adapter, input FEWS-PI time series files
directory to which model input time series are exported (exportDir in General Adapter Config)
            |
  	        |
		+---map
		|
		+---optimizer
		|
         OutputFiles.............................directory to which Hydstra TSF and TXT files are written
       |
     |
   	        +---piInputTimeseriesOutputFilesXML.................................... input FEWS-PIdirectory from which output time series files
are read (importDir in General            |       input.xml
    Adapter Config)
            |
  	              ++----piOutputTimeseriesoutputTemplate.................................directory output FEWS-PI time series files
                |       output.xml
 where (original) template TSO files are stored (exported from zipped modelDataSet)
               |
  	        +---Work....................................Working/Current directory     |

		|during model files
		|.dssfiles/results
		|debugfilesexecution