Skip to content

achri19/BAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BAM: Building ANUGA Models

This repository contains Python scripts for building and running open-source hydrodynamic ANUGA models using publicly available data. More information about ANUGA is available here https://github.com/GeoscienceAustralia/anuga_core

Installation

Use the BAM.yml file to set up a conda environment with requried packages:

- conda env create -f BAM.yml
- python -m ipykernel install --user --name=BAM

If the installation stalls at "Solving Environment", we recommend using Mamba (https://github.com/mamba-org/mamba) to build the environment. From base environment:

- conda install mamba -n base -c conda-forge
- mamba env create -f BAM.yml

To activate the new environment:

- conda activate BAM

To update the environment (latest YML is June 29, 2023):

- conda env update -f BAM.yml --prune
OR
- mamba env update -f BAM.yml --prune

Ancillary Datasets

Several datasets are utilized in this project. Those that cannot be accessed through a Python API must be downloaded manually by the user. Users must populate the BAM/ancillary folder with the files below for the scripts to work. They are too large to be provided through GitHub.

GEBCO General Bathymetry Charts of the Ocean

***Download the files from here: https://www.bodc.ac.uk/data/open_download/gebco/gebco_2022_sub_ice_topo/geotiff/, unzip the file, and move to BAM/ancillary/gebco. There is a vrt file there that will only work with this version of GEBCO.

Global Mangrove Watch (BAM/ancillary/GMW)

Download these v3_2016 file https://zenodo.org/record/6894273/files/gmw_v3_2016_vec.zip?download=1, unzip it, and move it to BAM/ancillary/GMW

World Water Bodies

Geoid Corrections

Download this EGM2008 file https://download.osgeo.org/proj/vdatum/egm08_25/egm08_25.gtx and move it to BAM/ancillary/geoids



Tutorials:

Tutorials can be run on your local computer or through Google Colab using the "Open in Colab" buttons below. The tutorials use the Komo Estuary in Gabon as an example. More tutorials will be uploaded soon.

Tutorial 0: Google Colab Introduction

Summary: This notebook will walk through the process of installing packages, connecting to your Google Drive, signing up for Google Earth Engine, and using Google Colab (a free, online platform for running Python Jupyter Notebooks)

Open In Colab

Tutorial 1: Download Ancillary Data

Summary: This notebook will ensure you have the ancillary data needed to run the notebooks

Open In Colab

Tutorial 2: Build Model Files

Summary: This notebook will walk through steps to build a digital elevation for the study area using open-source/publicly available datasets.

Open In Colab

Tutorial 3: Get Boundary Conditions

Summary: This notebook will walk through steps to set tide boundary and river inlet boundary. These require shapefiles defining boundaries and you must have pyTMD and TPXO models installed.

Open In Colab

Tutorial 4: Build Mesh

Summary: This notebook will walk through steps to build a uniform triangular mesh.

Open In Colab

Tutorial 5: Run ANUGA Model

Summary: This notebook will setup and run an ANUGA simulation. All files required for the simulation are provided.

Open In Colab

Issues

If you have issues running the code or questions, please open an issue through GitHub explaining the steps to replicate your issue and the exact errors that you're seeing.

Citation:

Author: Alexandra Christensen Affiliation: Jet Propulsion Laboratory, California Institute of Technology Acknowledgement: The research was carried out at the Jet Propulsion Laboratory, California Institute of Technology, under a contract with the National Aeronautics and Space Administration (80NM0018D0004)

Copyright 2022, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged. Any commercial use must be negotiated with the Office of Technology Transfer at the California Institute of Technology.

This software may be subject to U.S. export control laws. By accepting this software, the user agrees to comply with all applicable U.S. export laws and regulations. User has the responsibility to obtain export licenses, or other export authority as may be required before exporting such information to foreign countries or providing access to foreign persons

About

Building ANUGA Models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published