dkist-processing-cryonirsp 1.6.0rc1__py3-none-any.whl → 1.6.2__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.

Potentially problematic release.


This version of dkist-processing-cryonirsp might be problematic. Click here for more details.

@@ -201,6 +201,9 @@ class CryonirspWriteL1Frame(WriteL1Frame, ABC, InputDatasetMixin):
201
201
  header["NBIN3"] = 1
202
202
  header["NBIN"] = header["NBIN1"] * header["NBIN2"] * header["NBIN3"]
203
203
 
204
+ # Values don't have any units because they are relative to disk center
205
+ header["BUNIT"] = ("", "Values are relative to disk center. See calibration docs.")
206
+
204
207
  def calculate_date_end(self, header: fits.Header) -> str:
205
208
  """
206
209
  In CryoNIRSP, the instrument specific DATE-END keyword is calculated during science calibration.
@@ -421,6 +421,8 @@ def general_header_tests(
421
421
  ).isot
422
422
  assert header["DATE-AVG"] == date_avg
423
423
  assert isinstance(header["HLSVERS"], str)
424
+ assert header["BUNIT"] == ""
425
+ assert header.comments["BUNIT"] == "Values are relative to disk center. See calibration docs."
424
426
  assert header["NSPECLNS"] == 1
425
427
  assert header["WAVEBAND"] == "He I (1083.0 nm)"
426
428
  assert header["SPECLN01"] == "He I (1083.0 nm)"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dkist-processing-cryonirsp
3
- Version: 1.6.0rc1
3
+ Version: 1.6.2
4
4
  Summary: Science processing code for the Cryo-NIRSP instrument on DKIST
5
5
  Author-email: NSO / AURA <dkistdc@nso.edu>
6
6
  License: BSD-3-Clause
@@ -17,7 +17,7 @@ Requires-Dist: Pillow==10.3.0
17
17
  Requires-Dist: astropy==6.1.5
18
18
  Requires-Dist: dkist-fits-specifications==4.13.0
19
19
  Requires-Dist: dkist-header-validator==5.2.1
20
- Requires-Dist: dkist-processing-common==10.7.1rc1
20
+ Requires-Dist: dkist-processing-common==10.7.2
21
21
  Requires-Dist: dkist-processing-math==2.2.0
22
22
  Requires-Dist: dkist-processing-pac==3.1.1
23
23
  Requires-Dist: dkist-spectral-lines==3.0.0
@@ -88,7 +88,7 @@ Requires-Dist: WTForms==3.2.1; extra == "frozen"
88
88
  Requires-Dist: Werkzeug==2.2.3; extra == "frozen"
89
89
  Requires-Dist: aioftp==0.25.1; extra == "frozen"
90
90
  Requires-Dist: aiohappyeyeballs==2.6.1; extra == "frozen"
91
- Requires-Dist: aiohttp==3.11.16; extra == "frozen"
91
+ Requires-Dist: aiohttp==3.11.18; extra == "frozen"
92
92
  Requires-Dist: aiosignal==1.3.2; extra == "frozen"
93
93
  Requires-Dist: alembic==1.15.2; extra == "frozen"
94
94
  Requires-Dist: amqp==5.3.1; extra == "frozen"
@@ -97,14 +97,14 @@ Requires-Dist: anyio==4.9.0; extra == "frozen"
97
97
  Requires-Dist: apache-airflow==2.10.5; extra == "frozen"
98
98
  Requires-Dist: apache-airflow-providers-celery==3.10.6; extra == "frozen"
99
99
  Requires-Dist: apache-airflow-providers-common-compat==1.6.0; extra == "frozen"
100
- Requires-Dist: apache-airflow-providers-common-io==1.5.3; extra == "frozen"
101
- Requires-Dist: apache-airflow-providers-common-sql==1.25.0; extra == "frozen"
100
+ Requires-Dist: apache-airflow-providers-common-io==1.5.4; extra == "frozen"
101
+ Requires-Dist: apache-airflow-providers-common-sql==1.26.0; extra == "frozen"
102
102
  Requires-Dist: apache-airflow-providers-fab==1.5.3; extra == "frozen"
103
103
  Requires-Dist: apache-airflow-providers-ftp==3.12.3; extra == "frozen"
104
- Requires-Dist: apache-airflow-providers-http==5.2.1; extra == "frozen"
104
+ Requires-Dist: apache-airflow-providers-http==5.2.2; extra == "frozen"
105
105
  Requires-Dist: apache-airflow-providers-imap==3.8.3; extra == "frozen"
106
- Requires-Dist: apache-airflow-providers-postgres==6.1.2; extra == "frozen"
107
- Requires-Dist: apache-airflow-providers-smtp==2.0.2; extra == "frozen"
106
+ Requires-Dist: apache-airflow-providers-postgres==6.1.3; extra == "frozen"
107
+ Requires-Dist: apache-airflow-providers-smtp==2.0.3; extra == "frozen"
108
108
  Requires-Dist: apache-airflow-providers-sqlite==4.0.2; extra == "frozen"
109
109
  Requires-Dist: apispec==6.8.1; extra == "frozen"
110
110
  Requires-Dist: argcomplete==3.6.2; extra == "frozen"
@@ -114,14 +114,14 @@ Requires-Dist: asdf_transform_schemas==0.5.0; extra == "frozen"
114
114
  Requires-Dist: asgiref==3.8.1; extra == "frozen"
115
115
  Requires-Dist: asteval==1.0.6; extra == "frozen"
116
116
  Requires-Dist: astropy==6.1.5; extra == "frozen"
117
- Requires-Dist: astropy-iers-data==0.2025.4.14.0.37.22; extra == "frozen"
117
+ Requires-Dist: astropy-iers-data==0.2025.4.21.0.37.6; extra == "frozen"
118
118
  Requires-Dist: asyncpg==0.30.0; extra == "frozen"
119
119
  Requires-Dist: attrs==25.3.0; extra == "frozen"
120
120
  Requires-Dist: babel==2.17.0; extra == "frozen"
121
121
  Requires-Dist: billiard==4.2.1; extra == "frozen"
122
122
  Requires-Dist: blinker==1.9.0; extra == "frozen"
123
- Requires-Dist: boto3==1.37.34; extra == "frozen"
124
- Requires-Dist: botocore==1.37.34; extra == "frozen"
123
+ Requires-Dist: boto3==1.37.38; extra == "frozen"
124
+ Requires-Dist: botocore==1.37.38; extra == "frozen"
125
125
  Requires-Dist: cachelib==0.13.0; extra == "frozen"
126
126
  Requires-Dist: celery==5.5.1; extra == "frozen"
127
127
  Requires-Dist: certifi==2025.1.31; extra == "frozen"
@@ -144,9 +144,9 @@ Requires-Dist: dacite==1.9.2; extra == "frozen"
144
144
  Requires-Dist: decorator==5.2.1; extra == "frozen"
145
145
  Requires-Dist: dill==0.4.0; extra == "frozen"
146
146
  Requires-Dist: dkist-header-validator==5.2.1; extra == "frozen"
147
- Requires-Dist: dkist-processing-common==10.7.1rc1; extra == "frozen"
147
+ Requires-Dist: dkist-processing-common==10.7.2; extra == "frozen"
148
148
  Requires-Dist: dkist-processing-core==5.1.0; extra == "frozen"
149
- Requires-Dist: dkist-processing-cryonirsp==1.6.0rc1; extra == "frozen"
149
+ Requires-Dist: dkist-processing-cryonirsp==1.6.2; extra == "frozen"
150
150
  Requires-Dist: dkist-processing-math==2.2.0; extra == "frozen"
151
151
  Requires-Dist: dkist-processing-pac==3.1.1; extra == "frozen"
152
152
  Requires-Dist: dkist-service-configuration==2.2; extra == "frozen"
@@ -159,12 +159,13 @@ Requires-Dist: email_validator==2.2.0; extra == "frozen"
159
159
  Requires-Dist: fastjsonschema==2.21.1; extra == "frozen"
160
160
  Requires-Dist: flower==2.0.1; extra == "frozen"
161
161
  Requires-Dist: fonttools==4.57.0; extra == "frozen"
162
- Requires-Dist: frozenlist==1.5.0; extra == "frozen"
162
+ Requires-Dist: frozenlist==1.6.0; extra == "frozen"
163
163
  Requires-Dist: fsspec==2025.3.2; extra == "frozen"
164
- Requires-Dist: globus-sdk==3.54.0; extra == "frozen"
164
+ Requires-Dist: globus-sdk==3.55.0; extra == "frozen"
165
165
  Requires-Dist: google-re2==1.1.20240702; extra == "frozen"
166
166
  Requires-Dist: googleapis-common-protos==1.70.0; extra == "frozen"
167
167
  Requires-Dist: gqlclient==1.2.3; extra == "frozen"
168
+ Requires-Dist: greenlet==3.2.0; extra == "frozen"
168
169
  Requires-Dist: grpcio==1.71.0; extra == "frozen"
169
170
  Requires-Dist: gunicorn==23.0.0; extra == "frozen"
170
171
  Requires-Dist: h11==0.14.0; extra == "frozen"
@@ -221,7 +222,7 @@ Requires-Dist: packaging==24.2; extra == "frozen"
221
222
  Requires-Dist: pandas==2.2.3; extra == "frozen"
222
223
  Requires-Dist: parfive==2.1.0; extra == "frozen"
223
224
  Requires-Dist: pathspec==0.12.1; extra == "frozen"
224
- Requires-Dist: pendulum==3.0.0; extra == "frozen"
225
+ Requires-Dist: pendulum==3.1.0; extra == "frozen"
225
226
  Requires-Dist: pika==1.3.2; extra == "frozen"
226
227
  Requires-Dist: pillow==10.3.0; extra == "frozen"
227
228
  Requires-Dist: pip==25.0.1; extra == "frozen"
@@ -238,7 +239,7 @@ Requires-Dist: psycopg2-binary==2.9.10; extra == "frozen"
238
239
  Requires-Dist: py==1.11.0; extra == "frozen"
239
240
  Requires-Dist: pycparser==2.22; extra == "frozen"
240
241
  Requires-Dist: pydantic==2.11.3; extra == "frozen"
241
- Requires-Dist: pydantic-settings==2.8.1; extra == "frozen"
242
+ Requires-Dist: pydantic-settings==2.9.1; extra == "frozen"
242
243
  Requires-Dist: pydantic_core==2.33.1; extra == "frozen"
243
244
  Requires-Dist: pyerfa==2.0.1.5; extra == "frozen"
244
245
  Requires-Dist: pyparsing==3.2.3; extra == "frozen"
@@ -257,12 +258,12 @@ Requires-Dist: rfc3339-validator==0.1.4; extra == "frozen"
257
258
  Requires-Dist: rich==13.9.4; extra == "frozen"
258
259
  Requires-Dist: rich-argparse==1.7.0; extra == "frozen"
259
260
  Requires-Dist: rpds-py==0.24.0; extra == "frozen"
260
- Requires-Dist: s3transfer==0.11.4; extra == "frozen"
261
+ Requires-Dist: s3transfer==0.11.5; extra == "frozen"
261
262
  Requires-Dist: scikit-image==0.23.2; extra == "frozen"
262
263
  Requires-Dist: scipy==1.15.1; extra == "frozen"
263
264
  Requires-Dist: semantic-version==2.10.0; extra == "frozen"
264
265
  Requires-Dist: setproctitle==1.3.5; extra == "frozen"
265
- Requires-Dist: setuptools==69.2.0; extra == "frozen"
266
+ Requires-Dist: setuptools==65.5.0; extra == "frozen"
266
267
  Requires-Dist: six==1.17.0; extra == "frozen"
267
268
  Requires-Dist: sniffio==1.3.1; extra == "frozen"
268
269
  Requires-Dist: sqids==0.5.1; extra == "frozen"
@@ -274,7 +275,6 @@ Requires-Dist: tenacity==9.1.2; extra == "frozen"
274
275
  Requires-Dist: termcolor==3.0.1; extra == "frozen"
275
276
  Requires-Dist: text-unidecode==1.3; extra == "frozen"
276
277
  Requires-Dist: tifffile==2025.3.30; extra == "frozen"
277
- Requires-Dist: time-machine==2.16.0; extra == "frozen"
278
278
  Requires-Dist: tornado==6.4.2; extra == "frozen"
279
279
  Requires-Dist: tqdm==4.67.1; extra == "frozen"
280
280
  Requires-Dist: traitlets==5.14.3; extra == "frozen"
@@ -282,7 +282,7 @@ Requires-Dist: typing-inspection==0.4.0; extra == "frozen"
282
282
  Requires-Dist: typing_extensions==4.13.2; extra == "frozen"
283
283
  Requires-Dist: tzdata==2025.2; extra == "frozen"
284
284
  Requires-Dist: uc-micro-py==1.0.3; extra == "frozen"
285
- Requires-Dist: uncertainties==3.2.2; extra == "frozen"
285
+ Requires-Dist: uncertainties==3.2.3; extra == "frozen"
286
286
  Requires-Dist: universal_pathlib==0.2.6; extra == "frozen"
287
287
  Requires-Dist: urllib3==2.4.0; extra == "frozen"
288
288
  Requires-Dist: vine==5.1.0; extra == "frozen"
@@ -291,7 +291,7 @@ Requires-Dist: wcwidth==0.2.13; extra == "frozen"
291
291
  Requires-Dist: wirerope==1.0.0; extra == "frozen"
292
292
  Requires-Dist: wrapt==1.17.2; extra == "frozen"
293
293
  Requires-Dist: yamale==6.0.0; extra == "frozen"
294
- Requires-Dist: yarl==1.19.0; extra == "frozen"
294
+ Requires-Dist: yarl==1.20.0; extra == "frozen"
295
295
  Requires-Dist: zipp==3.21.0; extra == "frozen"
296
296
 
297
297
  dkist-processing-cryonirsp
@@ -1,6 +1,4 @@
1
1
  changelog/.gitempty,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- changelog/191.misc.rst,sha256=90n6qn9TkO4CDJfHwBPJG3SEc7wghjCkK6vF37T9rys,45
3
- changelog/192.misc.rst,sha256=xdelWmoVN6tyWPsoGTigfOrsT84e7LJmPrfgqBe7YZs,90
4
2
  dkist_processing_cryonirsp/__init__.py,sha256=Z6-kB7fXXUI-F7Vz1HnEaja2h8qgH9IZExRl1lUxvZg,350
5
3
  dkist_processing_cryonirsp/config.py,sha256=xNkUNJ1BeBxJX881mTCIEbirZlD5_5txpV1QqkbfRM0,507
6
4
  dkist_processing_cryonirsp/codecs/__init__.py,sha256=du1iitvsudSSOMENSywXmXSLOlvIocJsPbvfEcyqFNc,159
@@ -46,7 +44,7 @@ dkist_processing_cryonirsp/tasks/sp_dispersion_axis_correction.py,sha256=ZfUpsij
46
44
  dkist_processing_cryonirsp/tasks/sp_geometric.py,sha256=_M_e_blz4mKDIUWSasonnOzbZ6EUbHp9pAZXQx4zY7U,24387
47
45
  dkist_processing_cryonirsp/tasks/sp_science.py,sha256=QWyAEkXYamAcWxi62-tVD6ptuQ6vt8yIzuCKzCIYW20,13643
48
46
  dkist_processing_cryonirsp/tasks/sp_solar_gain.py,sha256=d4UABsMxyzCMduVxptHY_TCGqS-l-W5iuhW7HJwVPkA,21024
49
- dkist_processing_cryonirsp/tasks/write_l1.py,sha256=7h3_Zg8QraUN0CEbiHJaOdtvrAK9s9lE7yD5E7-w32o,41371
47
+ dkist_processing_cryonirsp/tasks/write_l1.py,sha256=t9mOTlbzcoHNJvU5MNLEfZhYeQulfvUbbJUzwXFDT7M,41543
50
48
  dkist_processing_cryonirsp/tasks/mixin/__init__.py,sha256=m6UekKftTahNJ3W5K3mZSz4Y4ZZpHRxF_ZAxuaKYL7o,12
51
49
  dkist_processing_cryonirsp/tasks/mixin/corrections.py,sha256=rcKmckBJkoExcX0XW1i3OZzuMu1i7tX5Hgwy15chU50,6566
52
50
  dkist_processing_cryonirsp/tasks/mixin/shift_measurements.py,sha256=7ToSy9uOJ_JrFfd-X225wqW_laq4xoRJkBiAPanfb_g,11225
@@ -77,7 +75,7 @@ dkist_processing_cryonirsp/tests/test_sp_science.py,sha256=fffX8Fi-k7dYOax_5nvoc
77
75
  dkist_processing_cryonirsp/tests/test_sp_solar.py,sha256=xSIKs8yylB18dZA75jTb-yOvCE2CMbESXCFwyHK3J_c,10023
78
76
  dkist_processing_cryonirsp/tests/test_trial_create_quality_report.py,sha256=x8dRAMyawQVYZQGsuO36DMZxK4L13hZBUn86qbhJiNk,2805
79
77
  dkist_processing_cryonirsp/tests/test_workflows.py,sha256=2a-TUMbVEyNjHYNyzo2UQMLg5PSaEx6iV9hOsGp-Mck,291
80
- dkist_processing_cryonirsp/tests/test_write_l1.py,sha256=TIizk5mViC6Km8Ee-CfHwRFTqJmSa3Ey_GfM09iGBRc,17597
78
+ dkist_processing_cryonirsp/tests/test_write_l1.py,sha256=VDSRU7j4eylYlmYQYKn32Od751NmG7qzhpoaFYFWQDM,17729
81
79
  dkist_processing_cryonirsp/tests/local_trial_workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
80
  dkist_processing_cryonirsp/tests/local_trial_workflows/l0_cals_only.py,sha256=nWs3Qg3f4DHqN_6JBKDaR5q9TncgR_PeRWw3_bUBZWA,20110
83
81
  dkist_processing_cryonirsp/tests/local_trial_workflows/l0_to_l1.py,sha256=KaxxMeo_sOMWgekNVkPsTJt6XWU2Ov7rnMkBtG_sKcc,23938
@@ -92,7 +90,7 @@ docs/bad_pixel_calibration.rst,sha256=bHRclUItBA1QbGlek36B1yN5WHN53WkfjKUvZaq_j2
92
90
  docs/beam_angle_calculation.rst,sha256=-yUPFRl6SbPBIj-wOwylEymQDMQnkay7kAIAiubpQT8,2941
93
91
  docs/beam_boundary_computation.rst,sha256=khyc_uW5zII6c0vN1lOvrwMAr5WO1XFFIou3QBJCzQ0,5541
94
92
  docs/changelog.rst,sha256=S2jPASsWlQxSlAPqdvNrYvhk9k3FcFWNXFNDYXBSjl4,120
95
- docs/ci_science_calibration.rst,sha256=V5JouSw31Yff5t2LIDHl3NCfqKtAwmk0P3iZpJi1toc,1265
93
+ docs/ci_science_calibration.rst,sha256=6HLt4ljL49sYH_iFU-Nz8KSWLyS8h_SSkzgUv-LsfqM,1704
96
94
  docs/conf.py,sha256=cv1Gct6NbY_kxJEKqw-mMIoauxtWVZeNzRLFqX1_GUw,2038
97
95
  docs/index.rst,sha256=FZY5WfJ16HQyslyaJxgTLs6XCD73_aFFdH4CjzagNjs,445
98
96
  docs/l0_to_l1_cryonirsp_ci-full-trial.rst,sha256=-uhtnd51ttJYw9T5hs5A9HQWpXJkOJmvfXf1INFT3MI,582
@@ -105,9 +103,9 @@ docs/make.bat,sha256=mBAhtURwhQ7yc95pqwJzlhqBSvRknr1aqZ5s8NKvdKs,4513
105
103
  docs/requirements.txt,sha256=Kbl_X4c7RQZw035YTeNB63We6I7pvXFU4T0Uflp2yDY,29
106
104
  docs/requirements_table.rst,sha256=FaqSag9kPi77gWPhzeo_tFEhRFjb3qUuNqqQe1K76NM,297
107
105
  docs/scientific_changelog.rst,sha256=01AWBSHg8zElnodCgAq-hMxhk9CkX5rtEENx4iz0sjI,300
108
- docs/sp_science_calibration.rst,sha256=fHBOZ2cqySxLjNi737KfynlmHZy9W4EwvuzxnyjDNvk,2597
106
+ docs/sp_science_calibration.rst,sha256=XL-H_hyzqwPHYNW3j-muItX_hGqMi-gjFRQbHp60LlU,2997
109
107
  licenses/LICENSE.rst,sha256=piZaQplkzOMmH1NXg6QIdo9wwo9pPCoHkvm2-DmH76E,1462
110
- dkist_processing_cryonirsp-1.6.0rc1.dist-info/METADATA,sha256=g2guqafJU3WIRgGP3FOTST2cloFS4umjinIStQ-ooPo,22010
111
- dkist_processing_cryonirsp-1.6.0rc1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
112
- dkist_processing_cryonirsp-1.6.0rc1.dist-info/top_level.txt,sha256=Sm9b1ddKnsF9Bh3mqDOct1Sm7k8I9aN7vGHgpmu-MlQ,51
113
- dkist_processing_cryonirsp-1.6.0rc1.dist-info/RECORD,,
108
+ dkist_processing_cryonirsp-1.6.2.dist-info/METADATA,sha256=2O1Y1czq8lVnqNI0xcsTD8aHtqKyVokoWuJIMqNFzn4,21992
109
+ dkist_processing_cryonirsp-1.6.2.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
110
+ dkist_processing_cryonirsp-1.6.2.dist-info/top_level.txt,sha256=Sm9b1ddKnsF9Bh3mqDOct1Sm7k8I9aN7vGHgpmu-MlQ,51
111
+ dkist_processing_cryonirsp-1.6.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (79.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -8,6 +8,16 @@ The `~dkist_processing_cryonirsp.tasks.ci_science` module takes L0 input science
8
8
  them into L1 science products. This page describes the basic steps in this processes as well as important
9
9
  features of the Cryo-NIRSP Context Imager (CI) algorithm that may not be obvious.
10
10
 
11
+ Important Features
12
+ ------------------
13
+
14
+ Pixel Units
15
+ ^^^^^^^^^^^
16
+
17
+ The gain arrays used to correct science data are *not* normalized; they retain their original input values.
18
+ As a result, pixel values in the L1 data will be normalized to the average solar signal at disk center on the day calibrations
19
+ were acquired (usually the same day as science acquisition). Note that this is **NOT** intended to be an accurate photometric calibration.
20
+
11
21
  L1 Coordinate System
12
22
  ^^^^^^^^^^^^^^^^^^^^
13
23
 
@@ -11,6 +11,13 @@ features of the Cryo-NIRSP Spectropolarimetric (SP) algorithm that may not be ob
11
11
  Important Features
12
12
  ------------------
13
13
 
14
+ Pixel Units
15
+ ^^^^^^^^^^^
16
+
17
+ The gain arrays used to correct science data are *not* normalized; they retain their original input values.
18
+ As a result, pixel values in the L1 data will be normalized to the average solar signal at disk center on the day calibrations
19
+ were acquired (usually the same day as science acquisition). Note that this is **NOT** intended to be an accurate photometric calibration.
20
+
14
21
  Beam Combination
15
22
  ^^^^^^^^^^^^^^^^
16
23
 
changelog/191.misc.rst DELETED
@@ -1 +0,0 @@
1
- Add missing build dependency specifications.
changelog/192.misc.rst DELETED
@@ -1 +0,0 @@
1
- Update dkist-processing-common to only remove level 0 header keys from the level 1 files.