dkist-processing-common 11.7.0rc4__py3-none-any.whl → 11.7.0rc5__py3-none-any.whl
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.
- dkist_processing_common/models/constants.py +0 -24
- dkist_processing_common/parsers/observing_program_id_bud.py +1 -1
- dkist_processing_common/tasks/parse_l0_input_data.py +0 -5
- dkist_processing_common/tests/test_parse_l0_input_data.py +7 -2
- dkist_processing_common/tests/test_stems.py +4 -4
- {dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/METADATA +1 -1
- {dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/RECORD +9 -9
- {dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/WHEEL +0 -0
- {dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/top_level.txt +0 -0
|
@@ -53,16 +53,12 @@ class BudName(StrEnum):
|
|
|
53
53
|
dark_date_end = "DARK_DATE_END"
|
|
54
54
|
solar_gain_date_end = "SOLAR_GAIN_DATE_END"
|
|
55
55
|
polcal_date_end = "POLCAL_DATE_END"
|
|
56
|
-
dark_num_raw_frames_per_fpa = "DARK_NUM_RAW_FRAMES_PER_FPA"
|
|
57
56
|
solar_gain_num_raw_frames_per_fpa = "SOLAR_GAIN_NUM_RAW_FRAMES_PER_FPA"
|
|
58
57
|
polcal_num_raw_frames_per_fpa = "POLCAL_NUM_RAW_FRAMES_PER_FPA"
|
|
59
|
-
dark_telescope_tracking_mode = "DARK_TELESCOPE_TRACKING_MODE"
|
|
60
58
|
solar_gain_telescope_tracking_mode = "SOLAR_GAIN_TELESCOPE_TRACKING_MODE"
|
|
61
59
|
polcal_telescope_tracking_mode = "POLCAL_TELESCOPE_TRACKING_MODE"
|
|
62
|
-
dark_coude_table_tracking_mode = "DARK_COUDE_TABLE_TRACKING_MODE"
|
|
63
60
|
solar_gain_coude_table_tracking_mode = "SOLAR_GAIN_COUDE_TABLE_TRACKING_MODE"
|
|
64
61
|
polcal_coude_table_tracking_mode = "POLCAL_COUDE_TABLE_TRACKING_MODE"
|
|
65
|
-
dark_telescope_scanning_mode = "DARK_TELESCOPE_SCANNING_MODE"
|
|
66
62
|
solar_gain_telescope_scanning_mode = "SOLAR_GAIN_TELESCOPE_SCANNING_MODE"
|
|
67
63
|
polcal_telescope_scanning_mode = "POLCAL_TELESCOPE_SCANNING_MODE"
|
|
68
64
|
dark_average_light_level = "DARK_AVERAGE_LIGHT_LEVEL"
|
|
@@ -332,11 +328,6 @@ class ConstantsBase:
|
|
|
332
328
|
"""Return the date end constant for the polcal task."""
|
|
333
329
|
return self._db_dict[BudName.polcal_date_end]
|
|
334
330
|
|
|
335
|
-
@property
|
|
336
|
-
def dark_num_raw_frames_per_fpa(self) -> int:
|
|
337
|
-
"""Return the number of raw frames per fpa constant for the dark task."""
|
|
338
|
-
return self._db_dict[BudName.dark_num_raw_frames_per_fpa]
|
|
339
|
-
|
|
340
331
|
@property
|
|
341
332
|
def solar_gain_num_raw_frames_per_fpa(self) -> int:
|
|
342
333
|
"""Return the number of raw frames per fpa constant for the solar gain task."""
|
|
@@ -347,11 +338,6 @@ class ConstantsBase:
|
|
|
347
338
|
"""Return the num raw frames per fpa constant for the polcal task."""
|
|
348
339
|
return self._db_dict[BudName.polcal_num_raw_frames_per_fpa]
|
|
349
340
|
|
|
350
|
-
@property
|
|
351
|
-
def dark_telescope_tracking_mode(self) -> str:
|
|
352
|
-
"""Return the telescope tracking mode constant for the dark task."""
|
|
353
|
-
return self._db_dict[BudName.dark_telescope_tracking_mode]
|
|
354
|
-
|
|
355
341
|
@property
|
|
356
342
|
def solar_gain_telescope_tracking_mode(self) -> str:
|
|
357
343
|
"""Return the telescope tracking mode constant for the solar gain task."""
|
|
@@ -362,11 +348,6 @@ class ConstantsBase:
|
|
|
362
348
|
"""Return the telescope tracking mode constant for the polcal task."""
|
|
363
349
|
return self._db_dict[BudName.polcal_telescope_tracking_mode]
|
|
364
350
|
|
|
365
|
-
@property
|
|
366
|
-
def dark_coude_table_tracking_mode(self) -> str:
|
|
367
|
-
"""Return the coude table tracking mode constant for the dark task."""
|
|
368
|
-
return self._db_dict[BudName.dark_coude_table_tracking_mode]
|
|
369
|
-
|
|
370
351
|
@property
|
|
371
352
|
def solar_gain_coude_table_tracking_mode(self) -> str:
|
|
372
353
|
"""Return the coude table tracking mode constant for the solar gain task."""
|
|
@@ -377,11 +358,6 @@ class ConstantsBase:
|
|
|
377
358
|
"""Return the coude table tracking mode constant for the polcal task."""
|
|
378
359
|
return self._db_dict[BudName.polcal_coude_table_tracking_mode]
|
|
379
360
|
|
|
380
|
-
@property
|
|
381
|
-
def dark_telescope_scanning_mode(self) -> str:
|
|
382
|
-
"""Return the telescope scanning mode constant for the dark task."""
|
|
383
|
-
return self._db_dict[BudName.dark_telescope_scanning_mode]
|
|
384
|
-
|
|
385
361
|
@property
|
|
386
362
|
def solar_gain_telescope_scanning_mode(self) -> str:
|
|
387
363
|
"""Return the telescope scanning mode constant for the solar gain task."""
|
|
@@ -8,7 +8,7 @@ from dkist_processing_common.parsers.task import passthrough_header_ip_task
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class TaskContributingObservingProgramExecutionIdsBud(TaskContributingIdsBud):
|
|
11
|
-
"""Class to create a Bud for the supporting
|
|
11
|
+
"""Class to create a Bud for the supporting observing_program_execution_ids."""
|
|
12
12
|
|
|
13
13
|
def __init__(
|
|
14
14
|
self,
|
|
@@ -103,11 +103,6 @@ def dataset_extra_bud_factory() -> list[S]:
|
|
|
103
103
|
constant_name=BudName.polcal_observing_program_execution_ids,
|
|
104
104
|
ip_task_types=TaskName.polcal,
|
|
105
105
|
),
|
|
106
|
-
TaskUniqueBud(
|
|
107
|
-
constant_name=BudName.dark_num_raw_frames_per_fpa,
|
|
108
|
-
metadata_key=MetadataKey.num_raw_frames_per_fpa,
|
|
109
|
-
ip_task_types=TaskName.dark,
|
|
110
|
-
),
|
|
111
106
|
TaskUniqueBud(
|
|
112
107
|
constant_name=BudName.solar_gain_num_raw_frames_per_fpa,
|
|
113
108
|
metadata_key=MetadataKey.num_raw_frames_per_fpa,
|
|
@@ -260,7 +260,7 @@ def test_subclass_flowers(visp_parse_inputs_task, max_cs_step_time_sec):
|
|
|
260
260
|
tag_pot, constant_pot = visp_parse_inputs_task.make_flower_pots()
|
|
261
261
|
|
|
262
262
|
assert len(tag_pot.stems) == 1
|
|
263
|
-
assert len(constant_pot.stems) ==
|
|
263
|
+
assert len(constant_pot.stems) == 60
|
|
264
264
|
all_flower_names = [StemName.modstate]
|
|
265
265
|
assert sorted([f.stem_name for f in tag_pot.stems]) == sorted(all_flower_names)
|
|
266
266
|
all_bud_names = [b.stem_name for b in default_constant_bud_factory()] + [BudName.num_modstates]
|
|
@@ -296,7 +296,12 @@ def test_dataset_extra_bud_factory(visp_parse_inputs_task, max_cs_step_time_sec)
|
|
|
296
296
|
]
|
|
297
297
|
for base in bud_name_base:
|
|
298
298
|
assert "SOLAR_GAIN_" + base in stem_names
|
|
299
|
-
if
|
|
299
|
+
if base not in [
|
|
300
|
+
"NUM_RAW_FRAMES_PER_FPA",
|
|
301
|
+
"TELESCOPE_TRACKING_MODE",
|
|
302
|
+
"COUDE_TABLE_TRACKING_MODE",
|
|
303
|
+
"TELESCOPE_SCANNING_MODE",
|
|
304
|
+
]:
|
|
300
305
|
assert "DARK_" + base in stem_names
|
|
301
306
|
if "GOS" not in base:
|
|
302
307
|
assert "POLCAL_" + base in stem_names
|
|
@@ -615,11 +615,11 @@ def test_task_contributing_ids_bud(basic_header_objs):
|
|
|
615
615
|
assert sorted(list(petal[0].value)) == ["experiment_id_2"]
|
|
616
616
|
|
|
617
617
|
|
|
618
|
-
def
|
|
618
|
+
def test_task_contributing_observing_program_execution_ids_bud(basic_header_objs):
|
|
619
619
|
"""
|
|
620
|
-
Given: A set of headers with observing program ID values for different tasks
|
|
621
|
-
When: Ingesting the headers with a
|
|
622
|
-
Then: The Bud's petal is
|
|
620
|
+
Given: A set of headers with observing program execution ID values for different tasks
|
|
621
|
+
When: Ingesting the headers with a TaskContributingObservingProgramExecutionIdsBud for a task type
|
|
622
|
+
Then: The Bud's petal is the observing program execution IDs for the that task type
|
|
623
623
|
"""
|
|
624
624
|
bud = TaskContributingObservingProgramExecutionIdsBud(
|
|
625
625
|
constant_name="NOT_A_REAL_BUD",
|
{dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/RECORD
RENAMED
|
@@ -27,7 +27,7 @@ dkist_processing_common/codecs/str.py,sha256=Xqt5k8IhLc95KiiNiFwB1JWcVVc6T8AfcLr
|
|
|
27
27
|
dkist_processing_common/fonts/Lato-Regular.ttf,sha256=1jbkaDIx-THtoiLViOlE0IK_0726AvkovuRhwPGFslE,656568
|
|
28
28
|
dkist_processing_common/fonts/__init__.py,sha256=hBvZRtkoGRPlNDWCK-ZePXdSIlThCcjwBDfYaamVgAw,101
|
|
29
29
|
dkist_processing_common/models/__init__.py,sha256=6LMqemdzVZ87fRrpAsbEnTtWZ02_Gu_oajsUlwGRH_Q,74
|
|
30
|
-
dkist_processing_common/models/constants.py,sha256
|
|
30
|
+
dkist_processing_common/models/constants.py,sha256=VDYPfrZtmBDNaWc3EvbpX7Hs87wJ6cA2BqZQJhb2B1Q,19773
|
|
31
31
|
dkist_processing_common/models/dkist_location.py,sha256=6Nk0wvv4R8ptlrV7BXon7abq4YLvmTdUmPsDN5G8nWc,971
|
|
32
32
|
dkist_processing_common/models/fits_access.py,sha256=imKqL4-_g6gTR-IeIjZ6qkMhQX3JujdrKFrTd9gOXnw,5605
|
|
33
33
|
dkist_processing_common/models/flower_pot.py,sha256=_J7DwHM8u5kQfdPCpk5pUmALtLrM1L_h-x8JW5BSjXA,5129
|
|
@@ -52,7 +52,7 @@ dkist_processing_common/parsers/id_bud.py,sha256=dWNr-njRqDzTnXa2WLZQEb48ul7RdeG
|
|
|
52
52
|
dkist_processing_common/parsers/l0_fits_access.py,sha256=Ol3eo8yyNbGqbN2whhD2jBNoqhOrlwmH8DbMmCLtNk0,1033
|
|
53
53
|
dkist_processing_common/parsers/l1_fits_access.py,sha256=BWojvcFl_RmkrRWHe1WxDCsPeexervlRFPothuXAyoI,4410
|
|
54
54
|
dkist_processing_common/parsers/near_bud.py,sha256=ithuQpnAaK5MDXFhMPNoNIGuF2M94q0n6_qofGl-CdU,4006
|
|
55
|
-
dkist_processing_common/parsers/observing_program_id_bud.py,sha256=
|
|
55
|
+
dkist_processing_common/parsers/observing_program_id_bud.py,sha256=foESQTMShcp-aPGZFcLEdXIdi5Y6vFeus-W447olQEc,884
|
|
56
56
|
dkist_processing_common/parsers/proposal_id_bud.py,sha256=VvVoYM-MUivra2fMZOSAOgGQslLROZxFuwHnuAZyAjc,942
|
|
57
57
|
dkist_processing_common/parsers/quality.py,sha256=hhCT-bHODOYSp9jvgsiWfYcLYtQCSWgfuy0xZnkYXwo,1141
|
|
58
58
|
dkist_processing_common/parsers/retarder.py,sha256=AvDrMLmxuwKOIP3NNm9mtV7dV2kw_aqW92hTLd1UdK0,1507
|
|
@@ -66,7 +66,7 @@ dkist_processing_common/tasks/assemble_movie.py,sha256=1ixDG-f4ODt0vywqVccG3aodL
|
|
|
66
66
|
dkist_processing_common/tasks/base.py,sha256=itAHCvzcodo-q8_AjpWoRaM86BlcjWDpCIiUP7uwmP0,13236
|
|
67
67
|
dkist_processing_common/tasks/l1_output_data.py,sha256=D4S3kH2uRKp1b8_xF2YiWO_mGj19UJS5wKQZ4OdatGs,10568
|
|
68
68
|
dkist_processing_common/tasks/output_data_base.py,sha256=r1Bu3FX5zTVj66GTMWtaV_NdhxjyjSm661Bt2Mxmfi4,3685
|
|
69
|
-
dkist_processing_common/tasks/parse_l0_input_data.py,sha256=
|
|
69
|
+
dkist_processing_common/tasks/parse_l0_input_data.py,sha256=KguXT0Xavynu7C8NFMjsV4628LRoTvfeSuApb6v4Neg,18835
|
|
70
70
|
dkist_processing_common/tasks/quality_metrics.py,sha256=cvGF6tJ8yAvxOvkeG3tWxYwL885BrFW5X3V7_MSzL-A,12481
|
|
71
71
|
dkist_processing_common/tasks/teardown.py,sha256=rwT9lWINVDF11-az_nx-Z5ykMTX_SJCchobpU6sErgk,2360
|
|
72
72
|
dkist_processing_common/tasks/transfer_input_data.py,sha256=DAYfS-B1o-iBT9MXU-TiJG4Hv05Z0c_JzPrnFgvnK9g,5786
|
|
@@ -100,12 +100,12 @@ dkist_processing_common/tests/test_interservice_bus_mixin.py,sha256=IptJkW7Qeu2Y
|
|
|
100
100
|
dkist_processing_common/tests/test_manual_processing.py,sha256=iHF7yQPlar9niYAGXtFv28Gw3Undlds38yMfszk4ccY,1037
|
|
101
101
|
dkist_processing_common/tests/test_output_data_base.py,sha256=D8b1XKvbE3C5cGOiHq58yJ2pzQL3iL0wLZy_AkDdB9Y,3085
|
|
102
102
|
dkist_processing_common/tests/test_parameters.py,sha256=CUEUIGBPMCUXPll0G0UxFDbMXi8lmnjRwXBarGX1PAQ,14033
|
|
103
|
-
dkist_processing_common/tests/test_parse_l0_input_data.py,sha256=
|
|
103
|
+
dkist_processing_common/tests/test_parse_l0_input_data.py,sha256=9OOqeMX8ReQO67ldoMHOBKLQg7Nd5qWHOEoHygcN5Ic,11889
|
|
104
104
|
dkist_processing_common/tests/test_publish_catalog_messages.py,sha256=l6Wga1s2wNBIf4wGZ78ZIO_rtqjdidmtvlN9nMnQUAs,3222
|
|
105
105
|
dkist_processing_common/tests/test_quality.py,sha256=IPz7liXcmoqWIsY78oX07Ui0nWHxoUH2FbKGEmMle7E,10258
|
|
106
106
|
dkist_processing_common/tests/test_quality_mixin.py,sha256=qanm3SXEiLb0OJDawbh8ixVAG9uRglFMzwxTeYxkDsM,55369
|
|
107
107
|
dkist_processing_common/tests/test_scratch.py,sha256=WO8C1VJlkcC5IzST9Hj08CyyrINwYcN8pyteD9x38xs,16482
|
|
108
|
-
dkist_processing_common/tests/test_stems.py,sha256=
|
|
108
|
+
dkist_processing_common/tests/test_stems.py,sha256=p__51u-b8vfWLI71aLxF3w2tcWtv6M6DyHJ7_6FZMHI,38949
|
|
109
109
|
dkist_processing_common/tests/test_submit_dataset_metadata.py,sha256=LHEyjoIxJHXXssqKkr8Qn1NzzHD1FLJiD3lP8yaLiXU,3764
|
|
110
110
|
dkist_processing_common/tests/test_tags.py,sha256=w5gmVfp3Ck92KNV80lJQRMz0OYgTYzWtwVUFWv1b5i8,5024
|
|
111
111
|
dkist_processing_common/tests/test_task_name.py,sha256=kqFr59XX2K87xzfTlClzDV4-Je1dx72LvdaJ22UE8UU,1233
|
|
@@ -125,7 +125,7 @@ docs/landing_page.rst,sha256=aPAuXFhBx73lEZ59B6E6JXxkK0LlxzD0n-HXqHrfumQ,746
|
|
|
125
125
|
docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
|
|
126
126
|
docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
|
|
127
127
|
licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
|
|
128
|
-
dkist_processing_common-11.7.
|
|
129
|
-
dkist_processing_common-11.7.
|
|
130
|
-
dkist_processing_common-11.7.
|
|
131
|
-
dkist_processing_common-11.7.
|
|
128
|
+
dkist_processing_common-11.7.0rc5.dist-info/METADATA,sha256=QHUu0584NT6H2-QaEmS5gYHX5vwMp9skJhgq_1p79bI,13316
|
|
129
|
+
dkist_processing_common-11.7.0rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
130
|
+
dkist_processing_common-11.7.0rc5.dist-info/top_level.txt,sha256=LJhd1W-Vn90K8HnQDIE4r52YDpUjjMWDnllAWHBByW0,48
|
|
131
|
+
dkist_processing_common-11.7.0rc5.dist-info/RECORD,,
|
{dkist_processing_common-11.7.0rc4.dist-info → dkist_processing_common-11.7.0rc5.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|