Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: tool to generate elevation argo commands TDE-783 #144

Merged
merged 7 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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
Loading