The pipelines
package is the place to request, test, and submit jobs at the
Climate Impact Lab. For help submitting a job, see our
docs or ask Justin.
- Tested reshape operations on climate data
- A template for more portions of our pipeline
- Create a new branch for your request (
git branch my-new-run
) - In the relevant sector's submodule (e.g.
pipelines/climate
), look for a template job, e.g./pipelines/climate/jobs/job_bcsd_template.py
Copy this template to a directory for your project (e.g.
gcp-labor
orimpactlab_website
)Make sure this folder has an
__init__.py
file in it. It can be blank.Modify the template to your needs. If you need a new transformation, create one in
transformations.py
Initialize your pipelines by importing your file, e.g.:
python -m pipelines.climate.jobs.impactlab_website.my_new_job
Run tests:
pytest
Push your changes to github and file a pull request
For now, pipelines requires python 2.7. We're working on 3x support.
See issues to see and add to our todos.
This package was created by Justin Simcock and Michael Delgado of the Climate Impact Lab. Check us out on github.