Common task classes used by the DKIST Science Data Processing pipelines to process DKIST data.
Project description
This repository works in concert with dkist-processing-core and dkist-processing-*instrument* to form the DKIST calibration processing stack.
Usage
The classes in this repository should be used as the base of any DKIST processing pipeline tasks. Science tasks should subclass ScienceTaskL0ToL1Base.
Each class is built on an abstract base class with the run method left for a developer to fill out with the required steps that the task should take. This class is then used as the callable object for the workflow and scheduling engine.
Example
from dkist_processing_common.tasks.base import ScienceTaskL0ToL1Base
class RemoveArtifacts(ScienceTaskL0ToL1Base):
def run(self):
# task code here
total = 2 + 5
Deployment
dkist-processing-common is deployed to PyPI
Development
git clone git@bitbucket.org:dkistdc/dkist-processing-common.git
cd dkist-processing-common
pre-commit install
pip install -e .[test]
pytest -v --cov dkist_processing_common
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for dkist-processing-common-0.16.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69b4f03ab5481b29cc3fd529488cddf5b7046f0ec6fab26ce5bb3078c9d879a2 |
|
MD5 | 3377aa4a8fe058ae15890274f525a5f1 |
|
BLAKE2b-256 | 05cca0b7fdba57c4c0bbaf3eee2887987e12df234f205d066572fa84ccd903b1 |