Skip to content
wwlwpd edited this page Oct 24, 2022 · 5 revisions

Adding a new mesh to the ASGS consists of the following steps:

  1. Create an issue for the new mesh in the ASGS issue tracker
  2. Make a branch from master with the issue name and number and check out the branch
  3. Add a directory to hold the files related to the mesh in $SCRIPTDIR/input/meshes/<MESHNAME> (hereafter referred to as the $MESHNAMEDIR in these instructions)
  4. Place a sample fort.15 that has been used successfully with this mesh into $MESHNAMEDIR along with the mesh file (fort.14), the nodal attributes file (fort.13) and any other static input files
  5. Make a copy of the fort.15 file with the name <MESHNAME>_fort.15.template
  6. Edit the <MESHNAME>_fort.15.template file to turn it into a template
  7. The file $SCRIPTDIR/input/meshes/HSOFS/hsofs_explicit.15.template can be used as an example of how to make a fort.15 template file
  8. Copy the file $SCRIPTDIR/input/meshes/common/swan/swaninit.template into $MESHNAMEDIR
  9. Copy the file $SCRIPTDIR/input/meshes/common/swan/adcirc_swan_v53_fort.26.template into $MESHNAMEDIR
  10. Copy the station lists (for water surface elevation, water current velocity, and meteorology) from the original fort.15 file into their own files (3 files total), putting them into standard form if necessary
  11. Standard form for stations is lon lat ! stationID ! agency ! description
  12. Create properties files for the nodal attributes (fort.13), mesh (fort.14), and control (fort.15) files to hold the values of the sea_surface_height_above_geoid, general geographic location (asgs property), and the wet/dry threshold (H0); the nodal attribute value can be discovered by looking at the header for the nodal attributes file, and the wet/dry threshold can be easily determined from the fort.15 file with the command grep -i H0 fort.15

Note: These unstructions are useful for adding a locally supported mesh, please see the information on (adding local assets)[https://github.com/StormSurgeLive/asgs/wiki/Adding-Local-Assets].