stgrid2area
Uses the stgrid2area package to clip and aggregate different spatiotemporal data sources to (catchment) areas.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Repository
Uses the stgrid2area package to clip and aggregate different spatiotemporal data sources to (catchment) areas.
Basic Info
- Host: GitHub
- Owner: CAMELS-DE
- License: cc0-1.0
- Language: Python
- Default Branch: main
- Size: 80.1 KB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
stgrid2area-workflows
Uses the stgrid2area package to clip and aggregate different spatiotemporal data sources to (catchment) areas.
How generic?
/
|- in/
| |- parameters.json
|- out/
| |- ...
|- src/
| |- tool.yml
| |- run.py
parameters.jsonare parameters. Whichever framework runs the container, this is how parameters are passed.tool.ymlis the tool specification. It contains metadata about the scope of the tool, the number of endpoints (functions) and their parametersrun.pyis the tool itself, or a Python script that handles the execution. It has to capture all outputs and eitherprintthem to console or create files in/out
How to build the image?
You can build the image from within the root of this repo by
docker build -t stgrid2area-workflows .
Alternatively, the contained .github/workflows/docker-image.yml will build the image for you
on new releases on Github. You need to change the target repository in the aforementioned yaml.
How to run?
This template installs the json2args python package to parse the parameters in the /in/parameters.json. This assumes that
the files are not renamed and not moved and there is actually only one tool in the container. For any other case, the environment variables
PARAM_FILE can be used to specify a new location for the parameters.json and TOOL_RUN can be used to specify the tool to be executed.
The run.py has to take care of that.
To invoke the docker container directly run something similar to:
docker run --rm -it -v /path/to/local/in:/in -v /path/to/local/out:/out -e TOOL_RUN=eobs stgrid2area-workflows
- change the
run.pyto consume parameters and data from/inand useful output inout - build, run, rock!
Owner
- Name: CAMELS-DE
- Login: CAMELS-DE
- Kind: organization
- Location: Germany
- Website: https://camels-de.org
- Repositories: 2
- Profile: https://github.com/CAMELS-DE
Citation (CITATION.cff)
cff-version: 1.2.0
title: stgrid2area-workflows
type: software
authors:
- given-names: Alexander
family-names: Dolich
email: alexander.dolich@kit.edu
affiliation: >-
Institute for Water and Environment, Hydrology,
Karlsruhe Institute for Technology (KIT)
orcid: "https://orcid.org/0000-0003-4160-6765"
repository-code: "https://github.com/VForWaTer/stgrid2area-workflows"
url: "https://vforwater.github.io/tool-specs/"
abstract: >-
Uses the stgrid2area package to clip and aggregate different spatiotemporal data sources to (catchment) areas.
keywords:
- docker
- tool-spec
- raster
- spatio-temporal
- aggregation
- catchment
- clipping
license: CC-BY-4.0
version: "0.1"
date-released: "2024-09-05"
GitHub Events
Total
- Push event: 22
- Create event: 3
Last Year
- Push event: 22
- Create event: 3
Packages
- Total packages: 1
-
Total downloads:
- pypi 55 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 16
- Total maintainers: 1
pypi.org: stgrid2area
Extract and aggregate spatio-temporal data to a specified area.
- Documentation: https://stgrid2area.readthedocs.io/
- License: CC0-1.0 license
-
Latest release: 0.1.1
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- docker/build-push-action v3 composite
- docker/login-action v2 composite
- docker/metadata-action v4 composite
- docker/setup-buildx-action v2 composite
- docker/setup-qemu-action v2 composite
- softprops/action-gh-release v1 composite
- python 3.11 build