This repo builds a containerized Cirrus task, using the stac-task library. The stac-task Task class has several convenient utility methods for performing common tasks (e.g., setting collection, uploading STAC Item assets to s3).
See the stac-task README for more information on developing a task.
To use this template as a repository:
- Update
pyproject.tomlwith the project name, authors, description, dependencies, etc. - Rename the folder
src/cirrus_task_exampleto match the project name - Add test payload fixtures under
tests/fixtures - Add code to
src/<project-name>/task.pyand add supporting files as needed - Update the Repostirory URL in CHANGELOG.md and keep it up to date with versions
- Provide a Dockerfile - use the one provided or create your own.
task.pymust be in the $PATH
The built Docker image from this code should be published to a registry that is accessible from the Cirrus deployment. Ideally the image is in the same region as where the task will be run.