dkist-processing-test 1.4.7rc1__tar.gz → 1.5.0rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dkist-processing-test might be problematic. Click here for more details.
- {dkist-processing-test-1.4.7rc1/dkist_processing_test.egg-info → dkist-processing-test-1.5.0rc1}/PKG-INFO +1 -1
- dkist-processing-test-1.5.0rc1/dkist_processing_test/tasks/high_memory.py +20 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/end_to_end.py +6 -1
- dkist-processing-test-1.5.0rc1/dkist_processing_test/workflows/resource_queue.py +19 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1/dkist_processing_test.egg-info}/PKG-INFO +1 -1
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test.egg-info/SOURCES.txt +2 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test.egg-info/requires.txt +1 -1
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/setup.cfg +1 -1
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/.gitignore +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/.pre-commit-config.yaml +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/README.rst +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/bitbucket-pipelines.yml +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/__init__.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/models/__init__.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/models/parameters.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/__init__.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/exercise_numba.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/fail.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/fake_science.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/movie.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/noop.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/parse.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/quality.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/trial_output_data.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tasks/write_l1.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tests/__init__.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tests/conftest.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tests/test_parameters.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tests/test_tasks.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/tests/test_workflows.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/__init__.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/common_tasks.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/exercise_numba.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/fail.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/noop.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/workflows/trial_end_to_end.py +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test.egg-info/dependency_links.txt +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test.egg-info/top_level.txt +0 -0
- {dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dkist-processing-test
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0rc1
|
|
4
4
|
Summary: Example Instrument code that is used by the DKIST Science Data Processing pipelines to test processing infrastructure.
|
|
5
5
|
Home-page: https://bitbucket.org/dkistdc/dkist-processing-test/src/main/
|
|
6
6
|
Author: NSO / AURA
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Test task for the 'high_memory' resource queue
|
|
3
|
+
"""
|
|
4
|
+
import logging
|
|
5
|
+
from time import sleep
|
|
6
|
+
|
|
7
|
+
from dkist_processing_core import TaskBase
|
|
8
|
+
|
|
9
|
+
logger = logging.getLogger(__name__)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class HighMemoryTask(TaskBase):
|
|
13
|
+
def run(self) -> None:
|
|
14
|
+
logger.info("Starting High Memory Task")
|
|
15
|
+
one_gibibyte = int(9.7e9)
|
|
16
|
+
use_memory = bytearray(one_gibibyte)
|
|
17
|
+
logger.info(f"Using Memory {one_gibibyte = }")
|
|
18
|
+
sleep(5)
|
|
19
|
+
use_memory = None
|
|
20
|
+
logger.info(f"Memory De-Referenced.")
|
|
@@ -8,6 +8,7 @@ from dkist_processing_common.tasks import SubmitQuality
|
|
|
8
8
|
from dkist_processing_common.tasks import Teardown
|
|
9
9
|
from dkist_processing_common.tasks import TransferL0Data
|
|
10
10
|
from dkist_processing_common.tasks import TransferL1Data
|
|
11
|
+
from dkist_processing_core import ResourceQueue
|
|
11
12
|
from dkist_processing_core import Workflow
|
|
12
13
|
|
|
13
14
|
from dkist_processing_test.tasks.fake_science import GenerateCalibratedData
|
|
@@ -27,7 +28,11 @@ end_to_end = Workflow(
|
|
|
27
28
|
end_to_end.add_node(task=TransferL0Data, upstreams=None)
|
|
28
29
|
end_to_end.add_node(task=ParseL0TestInputData, upstreams=TransferL0Data)
|
|
29
30
|
end_to_end.add_node(task=TestQualityL0Metrics, upstreams=ParseL0TestInputData)
|
|
30
|
-
end_to_end.add_node(
|
|
31
|
+
end_to_end.add_node(
|
|
32
|
+
task=GenerateCalibratedData,
|
|
33
|
+
resource_queue=ResourceQueue.HIGH_MEMORY,
|
|
34
|
+
upstreams=TestQualityL0Metrics,
|
|
35
|
+
)
|
|
31
36
|
end_to_end.add_node(task=WriteL1Data, upstreams=GenerateCalibratedData)
|
|
32
37
|
end_to_end.add_node(task=QualityL1Metrics, upstreams=WriteL1Data)
|
|
33
38
|
end_to_end.add_node(task=SubmitQuality, upstreams=QualityL1Metrics)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Workflow which exercises the api's but doesn't perform an action
|
|
3
|
+
"""
|
|
4
|
+
from dkist_processing_core import ResourceQueue
|
|
5
|
+
from dkist_processing_core import Workflow
|
|
6
|
+
|
|
7
|
+
from dkist_processing_test.tasks.high_memory import HighMemoryTask
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
high_memory_workflow = Workflow(
|
|
11
|
+
input_data="input",
|
|
12
|
+
output_data="output",
|
|
13
|
+
category="test",
|
|
14
|
+
detail="high_mem",
|
|
15
|
+
workflow_package=__package__,
|
|
16
|
+
)
|
|
17
|
+
high_memory_workflow.add_node(
|
|
18
|
+
task=HighMemoryTask, resource_queue=ResourceQueue.HIGH_MEMORY, upstreams=None
|
|
19
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dkist-processing-test
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0rc1
|
|
4
4
|
Summary: Example Instrument code that is used by the DKIST Science Data Processing pipelines to test processing infrastructure.
|
|
5
5
|
Home-page: https://bitbucket.org/dkistdc/dkist-processing-test/src/main/
|
|
6
6
|
Author: NSO / AURA
|
|
@@ -16,6 +16,7 @@ dkist_processing_test/tasks/__init__.py
|
|
|
16
16
|
dkist_processing_test/tasks/exercise_numba.py
|
|
17
17
|
dkist_processing_test/tasks/fail.py
|
|
18
18
|
dkist_processing_test/tasks/fake_science.py
|
|
19
|
+
dkist_processing_test/tasks/high_memory.py
|
|
19
20
|
dkist_processing_test/tasks/movie.py
|
|
20
21
|
dkist_processing_test/tasks/noop.py
|
|
21
22
|
dkist_processing_test/tasks/parse.py
|
|
@@ -33,4 +34,5 @@ dkist_processing_test/workflows/end_to_end.py
|
|
|
33
34
|
dkist_processing_test/workflows/exercise_numba.py
|
|
34
35
|
dkist_processing_test/workflows/fail.py
|
|
35
36
|
dkist_processing_test/workflows/noop.py
|
|
37
|
+
dkist_processing_test/workflows/resource_queue.py
|
|
36
38
|
dkist_processing_test/workflows/trial_end_to_end.py
|
|
@@ -17,7 +17,7 @@ setup_requires = setuptools_scm
|
|
|
17
17
|
packages = find:
|
|
18
18
|
include_package_data = True
|
|
19
19
|
install_requires =
|
|
20
|
-
dkist-processing-common == 4.1.
|
|
20
|
+
dkist-processing-common == 4.1.2rc2
|
|
21
21
|
dkist-header-validator == 4.1.0
|
|
22
22
|
dkist-fits-specifications == 3.7.1
|
|
23
23
|
numba == 0.57.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dkist-processing-test-1.4.7rc1 → dkist-processing-test-1.5.0rc1}/dkist_processing_test/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|