cumulus-process-py is a collection of python utilities for the NASA Cumulus project.
This library provides various utilities and helper functions for python tasks developed to work with the Cumulus framework.
The utilities help writing tasks that involve metadata extraction from input files, thumbnail creation, or even more complex data processing such as running custom science code to create higher level products from an input file.
$ pip install cumulus-process
$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
Testing requires localstack. Follow the instruction for localstack and install it on your machine then:
$ nose2 -v
To use the library, subclass Process
class from cumulus_process
and implement:
- the
process
method, - a
default_keys
property (needed for functionality such asself.fetch()
unless you are overriding input_keys in config)
See the example folder.