Versions Compared

Key

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

...

No Format
+---bin
|       hec.jar
|       heclib.jar
|       heclib60.dll
|       javaHeclib.dll
|       libjavaHeclib.so
|       module-adapter-hec-ras.jar......................... pre- and pos- adapter, Coverts HEC-RAS data files to/from FEWS-PI format
|       nwsras.jar......................................... main library used by the adapter, reads and writes HEC-RAS data files
|       
\---connecticunerfc_sa
    +---ColdStates
    |       hecras_connecticut_Historical Default.zip...... cold state files
    |       
    +---Config
    |   +---IdMapFiles
    |   |       IdExportHECRAS.xml......................... custom mappings for the HEC-RAS variables and locations
    |   |       
    |   \---ModuleConfigFiles
    |           hecras_Connecticut_Forecast.xml............ main configuration file of the adapter
    |           
    \---ModulesModels
        \---hec-rashecras
            +---bin........................................ directory which contains all HEC-RAS executables for Windows and Linux platforms
            |       DSSWriter.exe.......................... generates binary file containing detailed model output
            |       dss_writer
            |       GeomPreprocessor.exe................... converts geometry files from GUI ASCII format to binary
            |       geo_pre
            |       Steady.exe............................. performs steady flow simulations
            |       steady
            |       Unsteady.exe........................... performs unsteady flow simulations
            |       unsteady
            |       libmtsk.so.1
            |       
            \---connecticut
                +---input.................................. input directory of the adapter, input FEWS-PI time series files
                |       inputs.xml
                |       
                +---log.................................... log messages written by the pre- and post- adapters
                |       postadapter.xml
                |       preadapter.xml
                |       
                +---output................................. contains HEC-RAS output converted from the binary and dss output files
                |       binary-output.xml
                |       output.xml
                |       
                \---work................................... working directory of the adapters
                        clean.cmd.......................... Windows and Linux scripts used to clean temporary files
                        clean.sh
                        run.cmd............................ Windows and Linux scripts used to execute the HEC-RAS model
                        run.sh
                        ctfld2ras.b01
                        ctfld2ras.b02
                        ctfld2ras.b03
                        ctfld2ras.c02
                        ctfld2ras.f04
                        ctfld2ras.g02
                        ctfld2ras.p01
                        ctfld2ras.p02
                        ctfld2ras.p05
                        ctfld2ras.prj
                        ctfld2ras.r01
                        ctfld2ras.r02
                        ctfld2ras.r03
                        ctfld2ras.r05
                        ctfld2ras.u01
                        ctfld2ras.u02
                        ctfld2ras.x02

...

Code Block
titlerun.cmd
@echo on

set RAS_BIN_HOME=..\..\bin

echo Processing geometry ... 
%RAS_BIN_HOME%\GeomPreprocessor.exe ctfld2ras.x02 runnext=1

echo Running Unsteady.exe ... 
%RAS_BIN_HOME%\Unsteady.exe ctfld2ras.c02 b03 runnext=1

echo Running Steady.exe (also produces binary output, after Unsteady.exe) ... 
%RAS_BIN_HOME%\Steady.exe ctfld2ras.r03 runnext=1 

echo Writing DSS ... 
%RAS_BIN_HOME%\DSSWriter.exe ctfld2ras.c02 p03 runnext=1

set RESTART_FILE=ctfld2ras.p03.rst

if exist %RESTART_FILE% del /f %RESTART_FILE%

for /f "delims=" %%I in ('dir /b ^| find ".rst"') do (

pause    copy "%%I" "%RESTART_FILE%"
)
Code Block
titleclean.cmd
del *.hyd*
del *.IC*
del *.O0*
del Steady_CRASHED
del *scratch*
del *bco
del *blf
del *.xrj
del *.a0*
del *.hto*
del *.t*
del *.c
del ctfld2ras.dsc
del ctfld2ras.dss
del GeomPreprocessor_CRASHED
del *.bco*
del *.rst

...