https://github.com/barbagroup/geoclaw-azure-launcher
Helpers for launching GeoClaw land-spill simulations on Azure.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Repository
Helpers for launching GeoClaw land-spill simulations on Azure.
Basic Info
- Host: GitHub
- Owner: barbagroup
- License: other
- Language: Python
- Default Branch: master
- Size: 174 KB
Statistics
- Stars: 2
- Watchers: 5
- Forks: 5
- Open Issues: 1
- Releases: 2
Topics
Metadata Files
README.md
geoclaw-azure-launcher
This repository provides helpers for launching GeoClaw LandSpill simulations on Microsoft Azure. Documentation is still a WIP.
Prerequisites
- Azure Python API v4.0.0:
$ pip install azure - Azure Batch Python API v6.0.0
$ pip install -I azure-batch==6.0.0 - Python cryptography module v2.6.1 or higher
$ pip install cryptographyorconda install -c anaconda cryptography
Running tests
The script test.py provides a very simple example for the usage of the helpers.
To run this script, first, you'll have to install the prerequisites described in the prerequisite section.
Second, you'll need an available Azure subscription.
You should then be able to find the information regarding how to create Azure Batch and Azure Storage accounts in Azure documentation.
Put the Azure Batch and Azure Storage account credentials into the text file credential.txt, then execute the Python script: $ python test.py.
The script will create the necessary resources on Azure and execute the simulations. It will monitor the progress of the tasks on Azure and download result data whenever there's a simulation completed. Finally, it will delete all resources on Azure after all simulations finished. However, keep in mind, this helper is still under development, so please go to Azure Portal to make sure if all resources are indeed deleted to avoid burning money for nothing.
Using ArcGIS Pro to run the helpers
This repository contains an ArcGIS Pro Python toolbox (Land-spill Azure.pyt) that allows the helpers to be used to launch GeoClaw LandSpill simulations on Azure from the commercial ArcGIS Pro desktop GIS application. The Python toolbox requires ArcGIS Pro v2.4, or higher, and contains the following tools:
- Create Encrypted Azure Credential File - Builds an encrypted, passcode-protected file that stores Microsoft Azure batch and storage account credentials.
- Create GeoClaw Cases - Constructs case directories for GeoClaw simulations for one or more fluid point sources.
- Delete Azure Resources - A tool to delete Microsoft Azure job, pool and storage resources used to run a set of simulations.
- Download Cases from Azure - Downloads simulation results from Microsoft Azure to your local desktop.
- Monitor Azure Resources - A tool to monitor Microsoft Azure resource usage as a GeoClaw LandSpill job progresses.
- Run Cases on Azure - Submits GeoClaw LandSpill simulation cases to Azure for execution.
Using the helpers in other Python scripts:
The documentation of this part is still a WIP.
In a nutshell, the helper objects are under the folder helpers.
And the main object is the Mission class.
Contact:
Pi-Yueh Chuang (pychuang@gwu.edu)
J. Tracy Thorleifson (tracy.thorleifson@g2-is.com)
Owner
- Name: Barba group
- Login: barbagroup
- Kind: organization
- Location: Washington, DC
- Website: http://lorenabarba.com
- Repositories: 59
- Profile: https://github.com/barbagroup
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 1
- Total pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: 26 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- piyueh (1)
Pull Request Authors
- piyueh (4)
- tthorleifson (1)