You are here

SELFE Utilities Library

The following are some useful utilities for the SELFE model:

Useful datasets

  1. netcdf files for atmospheric forcing

Pre-processing tools

  1. Pre- and post-processing tools with ACE
  2. FORTRAN template code (gen_atmos.f90) for generating netcdf inputs for atmospheric model.
  3. Web tides package from Dr. Mike Foreman for Pacific Northwest (tgz)
  4. Tide package for US East Coast (c/o Dr. Ed Myers) (tgz)
  5. ADCIRC tidal databases for US east and west coasts
  6. ADCIRC's script to calculate nodal factors and equilibrium arguments
  7. Perl script to convert *.2dm (SMS) files to *.gr3 format
  8. Perl script to convert *.gr3 files to *.2dm (SMS) files

 Post-processing tools

  1. Pre- and post-processing tools with ACE
  2. Post-processing tool in matlab
  3. Pre- and post-processing tools (tgz)

    • Combining_Scripts/: for combining binary outputs, hotstart outputs maxelev.gr3 and maxdahv.gr3, outputs from harmonic analysis (MPI version); autocombine_MPI_elfe.pl can be used to automatically combine all binary output types for you before, during or after the run. It drives combine_output* (currently combine_output5.f90).
    • OneWayNestScripts/: for 1-way nesting (e.g., useful for generating velocity boudnary condition for a small-domain run);
    • Particle_Tracking/: particle tracking using outputs from SELFE (after being combined for MPI version);
    • Sflux_nc/: useful matlab scripts for generating/visualizing your own netcdf sflux/ files;
    • Post-Processing-Fortran/: some useful (and efficient) FORTRAN programs we use for extraction of time series etc. from outputs (after being combined for MPI version). It also has a Python wrapper in it. The directory More/ has scripts that more advanced users may find helpful.

In addition below are tools contributed by some users:

  1. Wrap on our matlab visualization package; can read in multiple binary files into matlab objects (tgz)
    Contact: Mr. Ben Knight
  2. Read_staFile: reads in station files from SELFE into matlab; smartLink and smartDate: matlab functions for interrogating time series data. (zip)
    Contact: Mr. Ben Knight
  3. FORTRAN program for converting the .neu file (the Gambit unstructured grid neutral file) into .gr3 used by ELcirc or SEFLE model. (zip)
    Contact: Li Jian