SHOC auto file¶
auto.prm¶
This is the most basic and minimal parameter file for SHOC. It can be used to generate the full parameter and input netCDF files using just a few keywords
# Start and end times from 1990 by default
START_TIME 10957 days # 1-Jan-2020
STOP_TIME 10958 days
# The prefix to use for the generated files
INPUT_FILE in
# There are many options available, see the SHOC manual for full details
# Here we're setting up for the North West bay grid from the examples
#
PROJECTION geographic # This says to use geodesic distances and areas
# A fully specified double-density grid is provided
GRIDTYPE numerical
# The e1 (or i) direction ccorresponds to the number of columns for a matrix
NCE1 33
NCE2 22
# The shoc grid points
COORDFILE nwbay_coords.txt
# The interpolated bathymetry
BATHYEXTFILE nwbay_bathy.txt
Then run shoc -ag auto.prm
Notes:
* The grid points need not be geographic and may be specified on a projection in metres
* The grid may be specified in rectangular or polar coordinates, in which case the COORDFILE
is not needed
* The bathymetry may be specified as a netCDF file (using BATHYFILE
instead of BATHYEXTFILE
), in which case SHOC will interpolate onto the grid internally
ROAM and RECOM modes coming soon …