Bay-Delta SELFE Tools

Table Of Contents

Previous topic

Post-processing

Next topic

Using Python Pre-processing Tools Directly

Performance Eval and Tuning

Subcycling analysis

The subcycle_analyzer.py script analyzes output messages to find and map (as a *.prop file) the elements responsible for heavy amounts of subcycling.

usage: subcycle_analyzer.py [-h] --start START [--end END] [--dtb DTB]
                            [--ncore NCORE] [--hgrid HGRID] [--dir DIR]
Options:
--start=0 Start day (integer) of subcycling analysis. Avoid the beginning where feasible
--end End day (integer) of analysis.
--dtb=1000000.0
 Time step threshold above which subcycling is ignored
--ncore Number of cores in simulation
--hgrid=hgrid.gr3
 absolute or relative path of hgrid.gr3
--dir=outputs directory where nonfatal* are located

Plotting model performance

The selfe_timing.py plot is a simple time series plot showing the model speed calculated based on output plot timestamps.

usage: selfe_timing.py [-h] [--dir DIR] [--start START] [--end END]
                       [--blocklen BLOCKLEN]
Options:
--dir=. Name of working directory
--start Start block (integer) of analysis.
--end End day (integer) of analysis.
--blocklen=1.0 Number of simulated days in one output block