Skip to content

Commit

Permalink
Merge pull request #78 from mandli/rename-examples
Browse files Browse the repository at this point in the history
Rename examples
  • Loading branch information
mandli authored May 24, 2024
2 parents 041549b + cc2449e commit d1ec70e
Show file tree
Hide file tree
Showing 214 changed files with 194 additions and 2,896 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# name: Storm surge examples testing

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

# permissions:
# contents: read

# jobs:
# build:

# runs-on: ubuntu-latest

# steps:
# - name: Set up Python 3.10
# uses: actions/setup-python@v5
# with:
# python-version: "3.10"
# - name: Checkout clawpack
# uses: actions/[email protected]
# with:
# repository: clawpack/clawpack
# - 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 pytest
# - name: Setup clawpack super repository
# run: |
# git submodule init
# git submodule update
# pip install --user -e .
# - name: Checkout surge-examples
# uses: actions/[email protected]
# with:
# repository: mandli/surge-examples
# - name: Checkout branch
# run: |
# cd surge-examples
# git checkout ${{ github.ref }}
# cd ..
# - 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
# - name: Test with pytest
# run: |
# cd geoclaw
# pytest
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Storm Surge Examples for GeoClaw
================================

Storm surge simulation examples for GeoClaw. Most examples need bathymetry
[![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)

Storm surge simulation examples for GeoClaw. Most examples need topography
files that unfortunately cannot all be hosted easily currently. Please contact
Kyle Mandli ([email protected]) if you would like the bathymetry and any
Kyle Mandli (owner of the repository) if you would like the topography and any
other data associated with these simulations.

9 changes: 1 addition & 8 deletions World_Simulation/setplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,7 @@ def gauge_afteraxes(cd):
axes.set_xticks([0, 1, 2, 3, 4, 5, 6, 7, 8])
axes.set_xticklabels([r"$0$",r"$1$",r"$2$", r"$3$", r"$4$", r"$5$", r"$6$", r"$7$", r"$8$"])
axes.grid(True)


try:
gauge_data=gauges[cd.gaugeno-1]
axes.plot(gauge_data[:,0], gauge_data[:,1], label=data_names[cd.gaugeno-1])
axes.legend()
except:
print('Gauge Data Unavailable')

plotaxes.afteraxes = gauge_afteraxes


Expand Down
22 changes: 0 additions & 22 deletions barry/README.md

This file was deleted.

Loading

0 comments on commit d1ec70e

Please sign in to comment.