Skip to content

Commit

Permalink
feat: tool to generate elevation argo commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Jul 30, 2023
1 parent 2654a70 commit d8947a7
Show file tree
Hide file tree
Showing 4 changed files with 416 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Tools

This folder contains single use scripts which have been used to assist in automating argo jobs.
The scripts should be stored in this folder if they may become useful again in the future.

## generate-argo-cli-commands-elevation.py
**Date:** 31/07/2023

**Related Jira Tickets:** [TDE-783](https://toitutewhenua.atlassian.net/browse/TDE-783?atlOrigin=eyJpIjoiODhlMWFkYTVlYzhiNGJjYTgwOTI4OWVjNmQ3YzczMjciLCJwIjoiaiJ9)

**Description:**
This script sets up for the automated processing of numerous elevation datasets using the argo cli.

**Instructions:**

1. Run:

```bash
cd ./tools
python3 generate-argo-cli-commands-elevation.py
```

**Output:**

- **region-year-datatype-scale.yaml:** workflow parameters for this dataset
- **standardise-publish.sh:** bash script to 'deploy' argo workflows
**nb: the commented lines at the end of this file detail the datasets not run due to know issues.**

**Submitting:**

```bash
sh standardise-publish.sh
```
Loading

0 comments on commit d8947a7

Please sign in to comment.