Skip to content

Commit

Permalink
Merge pull request #79 from mandli/add-synthetic
Browse files Browse the repository at this point in the history
Add synthetic storms and reorganize some things
  • Loading branch information
mandli authored Jul 1, 2024
2 parents ba42bf1 + 969fdb0 commit 3f24587
Show file tree
Hide file tree
Showing 23 changed files with 1,310 additions and 484 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow just runs the linter and does not have direct testing in it

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

env:
CLAW: ${{ github.workspace }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gfortran liblapack-pic liblapack-dev libnetcdf-dev libnetcdff-dev
python -m pip install --upgrade pip
pip install flake8 meson-python ninja pytest numpy pandas xarray netCDF4
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Checkout Clawpack
uses: actions/checkout@v4.1.5
with:
repository: clawpack/clawpack
submodules: true
- name: Install clawpack
run: |
pip install --no-build-isolation --editable .
- name: Checkout surge-examples
uses: actions/checkout@v4.1.5

- name: Lint with flake8
run: |
cd surge-examples
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
56 changes: 0 additions & 56 deletions .github/workflows/testing.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ pyclaw.log
_output
_plots
xgeoclaw

# Jupyter
.ipynb_checkpoints
105 changes: 103 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Storm Surge Examples for GeoClaw
================================
# Storm Surge Examples for GeoClaw

[![Storm surge examples testing](https://github.com/mandli/surge-examples/actions/workflows/testing.yml/badge.svg)](https://github.com/mandli/surge-examples/actions/workflows/testing.yml)

Expand All @@ -8,3 +7,105 @@ files that unfortunately cannot all be hosted easily currently. Please contact
Kyle Mandli (owner of the repository) if you would like the topography and any
other data associated with these simulations.

## Bathymetry/Topography

Many of the examples have topography that can be found

### auto_workflow
### barry_2019
### delta_2020
### dennis_2005
### dorian_2019
### elsa_2021
### florence_2018
atlantic_2min.tt3 - Covers Atlantic Seaboard
LL = (-92.0,13.0), UR = (-45.0,45.0)

### frederic_1979
### global
Global strip of bathymetry for longitudes and latitudes [-180, 180] x [-45, 45]
broken up in 15 degree horizontal strips. Files are enumerated starting with
latitude -45.

strip_0.nc - [-45, -30]
strip_1.nc - [-30, -15]
strip_2.nc - [-15, 0]
strip_3.nc - [ 0, 15]
strip_4.nc - [ 15, 30]
strip_5.nc - [ 30, 45]

### gordon_2018
### grace_2021
### gustav_2008
### harvey_2017
### hugo_1989
### ida_2021
### ike_2008
### iota_2022
### irene_2011
atlantic_2min.tt3 - Covers Atlantic Seaboard
LL = (-92.0,13.0), UR = (-45.0,45.0)

newyork_s3.tt3 - New York and Long Island area
LL = (74.5 W, 40 N), UR = (71 W, 41.5 N)

### irma_2017
### isabel_2003
atlantic_2min.tt3 - Covers Atlantic Seaboard
LL = (-92.0,13.0), UR = (-45.0,45.0)

chesapeake.nc - Chesapeake bay
LL = , UR =

### isaias_2020
### joaquin_2015
### karen_2013
### katrina_2005
### laura_2020
### lili_2002
### mangkhut_2018
### maria_2017
### matthew_2016
### michael_2018
- gulf_carribean.tt3 - Bathymetry covering larger region including Carribean
and part of the Atlantic sea-board. Lower left corner = (99W,8N), upper
right corner = (50W,17N)
- gulf_coarse_bathy.tt3 - Bathymetry covering entire gulf at 2 minute
resolution Lower left corner = (99W,17N), upper right corner = (80W,17N)
- NOAA_Galveston_Houston.tt3 - New larger bathymetry coveraged for Galveston
and Houston area with 3 second resolution. (from NOAA Design-a-grid)
- NewOrleans_3s.nc - Bathymetry from NOAA at 3 second resolution.

### mumbai
- Indian Ocean: india.nc (47 W, 100 E, 31 N, -10 S) - ETOPO1 data fetched from
https://maps.ngdc.noaa.gov/ on Dec 15, 2016.
- Mumbai area: Conributed by Haider Hasan <haiderhasan@hotmail.co.uk> as part
of a tsunami study. Please contact him if you are interested in the
bathymetry. It is based on digitization of soundings and contours from
nautical charts of the area, GEBCO data in the deeper water and SRTM data on
land.

Tsunami simulations for Karachi and Bombay: Sensitivity to source parameters of
the 1945 Makran earthquake, by H. Hasan, H. A. Lodhi, and R. J. LeVeque: poster
presented at Regional Conference on “Reducing Tsunami Risk in the Western
Indian Ocean” in Muscat, Oman Jointly organised by the Intergovernmental
Oceanographic Commission of UNESCO and Oman's Directorate General of
Meteorology, Public Authority for Civil Aviation 22-23 March 2015.

### nicholas_2021
### nicole_2022
### noel_2007
### ophelia_2017
### sally_2020
### sandy_2012
atlantic_2min.tt3 - Covers Atlantic Seaboard
LL = (-92.0,13.0), UR = (-45.0,45.0)

newyork_s3.tt3 - New York and Long Island area
LL = (74.5 W, 40 N), UR = (71 W, 41.5 N)

### scripts
### storm_setup
### synthetic
### wilma_2005
### zeta_2020
Loading

0 comments on commit 3f24587

Please sign in to comment.