Git Product home page Git Product logo

tohoku2011-paper2's Introduction

Code and data repository for the paper "Validating Velocities in the GeoClaw Tsunami Model using Observations Near Hawaii from the 2011 Tohoku Tsunami" by M. E. M. Arcos and R. J. LeVeque.

Topography and earthquake source data (topo and dtopo files) can be found in a tar file posted at http://faculty.washington.edu/rjl/pubs/tohoku2/index.html

Below is a summary of the contents of this repository and instructions to recreate figures in paper.

Observations:

  • The observation data is stored in subdirectory Observations, with further subdirectories for each gauge, e.g. HAI1107_Hon_Harbor.

  • Each subdirectory contains files

    • HAIxxxx_station_data.txt: Metadata about the station

    • depth_xxx.xxm.txt: the raw data at each depth

    • detided_harmonic.txt: Data detided using harmonic constituents

      with columns 
          t, u, v
      where t is in hours 
            u, v are detided versions of the depth-averaged velocities
      
    • detided_poly.txt: Data detided using polynomial fit, same format

    • u_detided.png, v_detided.png: comparison of harmonic vs. poly fits

    • figXX.png: Other figures illustrating the data.

    • plots.html: A file to display all plots for this station.

  • The file Observations/index.html facilitates viewing all the plots from all stations.

To recreate these plots:

The directory python contains Python scripts and modules to detide the data and make the plots:

```
python make_obs_plots.py     # make the figures of observation data
							 # creates Figures/uv_depth*.png
python make_obs_index.py     # make the plots.html and index.html files
python detide_compare.py     # detide via harmonic and polynomial fits
							 # creates Figures/uv_tide*.png
```

To run the simulations

Install Clawpack and insure that you have a suitable version. http://www.clawpack.org/installing.html

Final runs were verified using Clawpack 5.2.1. (Earlier versions give essentially identical results, but some of the routines for making and plotting fgmax grids showing max speed do not exist in earlier versions).

In each of the directories Runs/HAI* do the following:

    python make_fgmax_grid.py
    make .exe     # Makefile is set to compile with OpenMP flags 
    make .output   # will run for several hours
	python plot_fgmax.py  # to make spatial plots of maximum velocity recorded
                          # and save to Figures subdirectory

Then postprocess the results:

In directory python:

    python plot_TG_1612340.py  # will create Figures/TG_1612340_compare.png
    python plot_TG_1615680.py  # will create Figures/TG_1615680_compare.png
    python plot_TG_1617760.py  # will create Figures/TG_1617760_compare.png

    python make_geoclaw_gauge_plots.py  # will create Figures/figure*.png 
	python HAI1107_compare_gauges.py   # will create plots comparing HAI1107 and S1
                                       # Figures/HAI1107compare*.png

tohoku2011-paper2's People

Contributors

rjleveque avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.