dkist-processing-common 10.7.2__py3-none-any.whl → 10.8.0rc1__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.
@@ -0,0 +1 @@
1
+ Modify usage of CompImageHeader to support astropy 7.
@@ -0,0 +1 @@
1
+ Bump numpy version to cross the 2.0.0 release.
@@ -0,0 +1 @@
1
+ Add checksum verification to the hdu decoder.
@@ -32,7 +32,7 @@ def fits_hdulist_encoder(hdu_list: fits.HDUList) -> bytes:
32
32
 
33
33
  def fits_hdu_decoder(path: Path) -> fits.PrimaryHDU | fits.CompImageHDU:
34
34
  """Read a Path with `fits` to produce an `HDUList`."""
35
- hdu_list = fits.open(path)
35
+ hdu_list = fits.open(path, checksum=True)
36
36
  return _extract_hdu(hdu_list)
37
37
 
38
38
 
@@ -430,7 +430,8 @@ def test_rice_compression_with_specified_tile_size(write_l1_task, mocker):
430
430
  files = list(task.read(tags=[Tag.frame(), Tag.output()]))
431
431
  for file in files:
432
432
  hdul = fits.open(file)
433
- comp_header = hdul[1]._header
433
+ bintable = hdul[1]._get_bintable_without_data()
434
+ comp_header = bintable.header
434
435
  data_shape = list(hdul[1].data.shape)
435
436
  data_shape.reverse()
436
437
  for i, dim in enumerate(data_shape):
@@ -455,7 +456,8 @@ def test_rice_compression_with_default_tile_size(write_l1_task, mocker):
455
456
  files = list(task.read(tags=[Tag.frame(), Tag.output()]))
456
457
  for file in files:
457
458
  hdul = fits.open(file)
458
- comp_header = hdul[1]._header
459
+ bintable = hdul[1]._get_bintable_without_data()
460
+ comp_header = bintable.header
459
461
  data_shape = list(hdul[1].data.shape)
460
462
  data_shape.reverse()
461
463
  assert comp_header["ZTILE1"] == data_shape[0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dkist-processing-common
3
- Version: 10.7.2
3
+ Version: 10.8.0rc1
4
4
  Summary: Common task classes used by the DKIST science data processing pipelines
5
5
  Author-email: NSO / AURA <dkistdc@nso.edu>
6
6
  License: BSD-3-Clause
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Requires-Python: >=3.11
15
15
  Description-Content-Type: text/x-rst
16
16
  Requires-Dist: asdf<4.0.0,>=3.5.0
17
- Requires-Dist: astropy<7.0.0,>=6.0.0
17
+ Requires-Dist: astropy>=7.0.0
18
18
  Requires-Dist: dkist-fits-specifications<5.0,>=4.0.0
19
19
  Requires-Dist: dkist-header-validator<6.0,>=5.0.0
20
20
  Requires-Dist: dkist-processing-core==5.1.0
@@ -26,7 +26,7 @@ Requires-Dist: gqlclient[pydantic]==1.2.3
26
26
  Requires-Dist: sqids==0.5.1
27
27
  Requires-Dist: matplotlib>=3.4
28
28
  Requires-Dist: moviepy>=2.0.0
29
- Requires-Dist: numpy>=1.20.2
29
+ Requires-Dist: numpy>=2.2.5
30
30
  Requires-Dist: object-clerk==0.1.1
31
31
  Requires-Dist: pandas>=1.4.2
32
32
  Requires-Dist: pillow>=10.2.0
@@ -43,7 +43,7 @@ Requires-Dist: pytest-cov; extra == "test"
43
43
  Requires-Dist: pytest-mock; extra == "test"
44
44
  Requires-Dist: hypothesis; extra == "test"
45
45
  Requires-Dist: towncrier; extra == "test"
46
- Requires-Dist: dkist-data-simulator>=5.0.0; extra == "test"
46
+ Requires-Dist: dkist-data-simulator>=5.2.6; extra == "test"
47
47
  Requires-Dist: dkist-processing-common[inventory]; extra == "test"
48
48
  Requires-Dist: dkist-processing-common[asdf]; extra == "test"
49
49
  Requires-Dist: dkist-processing-common[quality]; extra == "test"
@@ -1,4 +1,7 @@
1
1
  changelog/.gitempty,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ changelog/222.bugfix.rst,sha256=PXXz9YIyqtl2icpbtDRK0Zh5fXQjpMuKA1G5fd8LAFc,54
3
+ changelog/222.feature.2.rst,sha256=-6OdS9g1PSiUnyzMkz6orYiOmOnpD3Hcfy3KDYUdLEQ,47
4
+ changelog/222.feature.rst,sha256=X9TyBOkXdz3Ze0BfRi7awpk0SM5ljTJhjOeQZb-J5Xo,46
2
5
  dkist_processing_common/__init__.py,sha256=490Fwm_GgqpwriQlsYfKcLUZNhZ6GkINtJqcYSIEKoU,319
3
6
  dkist_processing_common/config.py,sha256=IcpaD_NvHZU-aLlUNOTdRC4V7ADIvVQwrZ2dHhIr4NY,4247
4
7
  dkist_processing_common/manual.py,sha256=IH72QxdGlr-BuWq2EDrfC9yStegO-elUWrobQqT4710,7042
@@ -10,7 +13,7 @@ dkist_processing_common/_util/tags.py,sha256=8r62_-x3xpbCoCu5dd09Q2u-OYzYiML6SlP
10
13
  dkist_processing_common/codecs/__init__.py,sha256=du1iitvsudSSOMENSywXmXSLOlvIocJsPbvfEcyqFNc,159
11
14
  dkist_processing_common/codecs/asdf.py,sha256=2GHCFOZk1j-ml4EolXac_sUzk7aPYJUGqKYxZk4mG_c,1046
12
15
  dkist_processing_common/codecs/bytes.py,sha256=tiVEUu_Gzc5NfW1_qsJtHDlYAZzgIqA7f4cfAwN734k,495
13
- dkist_processing_common/codecs/fits.py,sha256=GH_K5_w0sjGY3_Yokw4jBhwxvEk05WYD5V3Hxb7odUs,2331
16
+ dkist_processing_common/codecs/fits.py,sha256=0D6tDvt13OhVXok4tS8VGHdd8OSV8DrRet8VCD6Zt3g,2346
14
17
  dkist_processing_common/codecs/iobase.py,sha256=r0ImN0CxfjAnfMflNv7w2pGDp2i6EQg0p2OaEkE82pk,977
15
18
  dkist_processing_common/codecs/json.py,sha256=OWXzoFWccJiojkiKSeDrMdL9f7EpdNIOMvO9YBBg-Yg,939
16
19
  dkist_processing_common/codecs/path.py,sha256=LU5Kh1ew2PQI9hcpzbnZkE47k-zAMZDDV4cgqHRcDkY,197
@@ -100,7 +103,7 @@ dkist_processing_common/tests/test_transfer_l1_output_data.py,sha256=27PifkyH3RZ
100
103
  dkist_processing_common/tests/test_trial_catalog.py,sha256=SZ-nyn0MXU9Lkg_94FbKER_cwiGoi06GYlzF_3AmvKg,6802
101
104
  dkist_processing_common/tests/test_trial_output_data.py,sha256=cBCj0kXyF5NEMzKh6zPVksdoXyE8ju1opJgWgjdcJWA,12790
102
105
  dkist_processing_common/tests/test_workflow_task_base.py,sha256=Z5aPW5LQtS0UWJiYho4X0r-2gPLfzpkmMwfmaoFLjMg,10517
103
- dkist_processing_common/tests/test_write_l1.py,sha256=S27RCI5-hIcn3nso10mZU4yRleFwQie1kZqcuEq34ys,22091
106
+ dkist_processing_common/tests/test_write_l1.py,sha256=xdPqIeS7brVUzDD0XmCVKc4N4QUbaUc0ENMFBwCYU2c,22203
104
107
  docs/Makefile,sha256=qnlVz6PuBqE39NfHWuUnHhNEA-EFgT2-WJNNNy9ttfk,4598
105
108
  docs/changelog.rst,sha256=S2jPASsWlQxSlAPqdvNrYvhk9k3FcFWNXFNDYXBSjl4,120
106
109
  docs/conf.py,sha256=FkX575cqTqZGCcLAjg2MlvE8Buj1Vt3CpHNgZxG256E,1890
@@ -109,7 +112,7 @@ docs/landing_page.rst,sha256=aPAuXFhBx73lEZ59B6E6JXxkK0LlxzD0n-HXqHrfumQ,746
109
112
  docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
110
113
  docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
111
114
  licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
112
- dkist_processing_common-10.7.2.dist-info/METADATA,sha256=Mb24w78N3CuFv4nFpPs9pPDtGAsUudwJwRSpVlgE-S0,7154
113
- dkist_processing_common-10.7.2.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
114
- dkist_processing_common-10.7.2.dist-info/top_level.txt,sha256=LJhd1W-Vn90K8HnQDIE4r52YDpUjjMWDnllAWHBByW0,48
115
- dkist_processing_common-10.7.2.dist-info/RECORD,,
115
+ dkist_processing_common-10.8.0rc1.dist-info/METADATA,sha256=ROcyuGFP8aFpV68p9dryGzts3Q4XOSQxRz-LxUOjem0,7149
116
+ dkist_processing_common-10.8.0rc1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
117
+ dkist_processing_common-10.8.0rc1.dist-info/top_level.txt,sha256=LJhd1W-Vn90K8HnQDIE4r52YDpUjjMWDnllAWHBByW0,48
118
+ dkist_processing_common-10.8.0rc1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.0)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5