Skip to content
Matt Rayson edited this page Jun 30, 2015 · 13 revisions

Welcome to the sunpy wiki!

Here you will find links to various tutorials for using the SUNTANS-python toolbox.

Outline:

#Model setup


Grid generation

  • Setting up the TOM python library
  • Creating TOM input files with QGIS
  • Creating TOM input files for an idealized domain
  • Running TOM with a python script
  • Generating a cartesian mesh
  • Converting a ROMS grid to SUNTANS
  • Generating a hexagonal grid using an existing grid

Bathymetry

  • Depth interpolation

Initial conditions

Boundary conditions

  • Editing the grid boundary types with a shapefile
  • Editing the grid boundary types
  • Setting idealized boundary conditions
  • Setting type-3 water level using observations
  • Setting type-2/3 water level and/or currents using OTIS tide model
  • Setting boundary conditions with an ocean model i.e., ROMS
  • Setting river boundaries

Atmospheric forcing

All-in-one driver script examples

  • San Francisco Bay example
  • Galveston Bay example

#Model post-processing


  • Introduction to sunpy.py classes

Plotting

  • Using the GUI
  • 2D surface plotting
  • 2D vertical slice plotting
  • Time-series plotting
  • 3D plotting examples using Mayavi

Particle tracking

Analysis

  • Computing higher-order variables
  • Harmonic (tidal) analysis

#Miscellaneous


Non-SUNTANS stuff

Downloading observations

  • National Weather Service met station
  • NOAA-IOOS (tides, temperature, ...)
  • NOAA-PORTS (currents)
  • USGS stream gauge

Interfacing with observations

  • Create an SQL database
  • Query database
  • Extract observation data using database

Numerical model OpenDAP download