pycontrails 0.49.4__cp310-cp310-win_amd64.whl → 0.49.5__cp310-cp310-win_amd64.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 pycontrails might be problematic. Click here for more details.
- pycontrails/_version.py +2 -2
- pycontrails/core/rgi_cython.cp310-win_amd64.pyd +0 -0
- pycontrails/models/cocip/cocip.py +5 -0
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/METADATA +1 -1
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/RECORD +9 -9
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/LICENSE +0 -0
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/NOTICE +0 -0
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/WHEEL +0 -0
- {pycontrails-0.49.4.dist-info → pycontrails-0.49.5.dist-info}/top_level.txt +0 -0
pycontrails/_version.py
CHANGED
|
Binary file
|
|
@@ -1457,6 +1457,10 @@ def _process_rad(rad: MetDataset) -> MetDataset:
|
|
|
1457
1457
|
# Keep the original attrs -- we need these later on
|
|
1458
1458
|
old_attrs = {k: v.attrs for k, v in rad.data.items()}
|
|
1459
1459
|
|
|
1460
|
+
# Also need to keep dataset-level attrs, which are lost
|
|
1461
|
+
# when dividing a Dataset by a DataArray
|
|
1462
|
+
old_rad_attrs = rad.data.attrs
|
|
1463
|
+
|
|
1460
1464
|
# NOTE: Taking the diff will remove the first time step
|
|
1461
1465
|
# This is typically what we want (forecast step 0 is all zeros)
|
|
1462
1466
|
# But, if the data has been downselected for a particular Flight / Fleet,
|
|
@@ -1468,6 +1472,7 @@ def _process_rad(rad: MetDataset) -> MetDataset:
|
|
|
1468
1472
|
# accumulations by number of hours between steps
|
|
1469
1473
|
time_diff_h = time_diff / np.timedelta64(1, "h")
|
|
1470
1474
|
rad.data = rad.data.diff("time", label="upper") / time_diff_h
|
|
1475
|
+
rad.data.attrs = old_rad_attrs
|
|
1471
1476
|
|
|
1472
1477
|
# Add back the original attrs
|
|
1473
1478
|
for k, v in rad.data.items():
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
pycontrails/__init__.py,sha256=8WUs6hZAAIH1yKfwYJ8UEqNsk5voRyLmmD3Dje9DZaE,2055
|
|
2
|
-
pycontrails/_version.py,sha256=
|
|
2
|
+
pycontrails/_version.py,sha256=3A20dhM8-dQpEHRAXTyDh6OEAHYxc4ZEecto-hahwxs,429
|
|
3
3
|
pycontrails/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
pycontrails/core/__init__.py,sha256=eNypVTz1kHBSKAJX3CgfKw-VKrMRRkKTutmjSlrfeUs,870
|
|
5
5
|
pycontrails/core/aircraft_performance.py,sha256=ikeJmdvFRDa1RdfR-JKfhQbiiIzL0c2vzcBmobmoxMs,22511
|
|
@@ -16,7 +16,7 @@ pycontrails/core/met.py,sha256=DT3CAi3zucPTRgp-n_Q6CpdJ52ZwtSCFEonPIzTapWM,95120
|
|
|
16
16
|
pycontrails/core/met_var.py,sha256=ZGvnYCXWnr0-A-bLmuhl1y2GIdL1X6pbzM-D-kcDpBg,9502
|
|
17
17
|
pycontrails/core/models.py,sha256=rK7Nh5VIbNBUrJGE7Q8fnwveuuycPa-KkUJltV4SRZA,40042
|
|
18
18
|
pycontrails/core/polygon.py,sha256=ukcYh4TzGxz-ggipYe1m6DR50aEBgQhxWkEtjoTqC3w,18227
|
|
19
|
-
pycontrails/core/rgi_cython.cp310-win_amd64.pyd,sha256=
|
|
19
|
+
pycontrails/core/rgi_cython.cp310-win_amd64.pyd,sha256=PIT2f0kAefBMkGAxLQXWmVpATb6SjiZlNeywzblFWKM,257536
|
|
20
20
|
pycontrails/core/vector.py,sha256=QeHavtQYc44z3VFCsF_2PJTzMie7MBAkt6ReTKSLMXE,73864
|
|
21
21
|
pycontrails/datalib/__init__.py,sha256=WnXqgv20SrHZLjFZ9qpQEwRnf0QvfZU-YvMqh7PAUwg,246
|
|
22
22
|
pycontrails/datalib/goes.py,sha256=Ky7elxQJyKsk6dlJ22wsOtpaZn34LaEQCqqdX3M4a5s,26932
|
|
@@ -44,7 +44,7 @@ pycontrails/models/pcr.py,sha256=G_0yR5PsCMeJBP6tZFi3M7A6Wcq8s71UvosdA7ozUkI,550
|
|
|
44
44
|
pycontrails/models/sac.py,sha256=Cj4Hi3324wjqLQ7I2CPVkrIh2Fq5W5pKpGrwhYADoHI,16420
|
|
45
45
|
pycontrails/models/tau_cirrus.py,sha256=eXt3yRrcFBaZNNeH6ZOuU4XEZU2rOfrLKEOC7f0_Ywo,5194
|
|
46
46
|
pycontrails/models/cocip/__init__.py,sha256=X_MlkJzQ-henQ0xGq-1bfCMajH6s9tlK5QLnN7yfQ68,929
|
|
47
|
-
pycontrails/models/cocip/cocip.py,sha256=
|
|
47
|
+
pycontrails/models/cocip/cocip.py,sha256=nILOmLjk0DQynIkn-NVjeN1K8ufb9Xno5iyz9JTr6wI,98325
|
|
48
48
|
pycontrails/models/cocip/cocip_params.py,sha256=xvrvUMEzE490Uxh654behS6nJ2CU1g4CzadTZId7KCc,10561
|
|
49
49
|
pycontrails/models/cocip/cocip_uncertainty.py,sha256=lksROIRLt-jxEdjJTiLP9Da-FYt1GjZKaIxwDaH2Ytg,12069
|
|
50
50
|
pycontrails/models/cocip/contrail_properties.py,sha256=dRq5o-YuC-s487Fs54OHpAuS8LkxM-HATNVclHKUhL0,57362
|
|
@@ -84,9 +84,9 @@ pycontrails/utils/iteration.py,sha256=En2YY4NiNwCNtAVO8HL6tv9byBGKs8MKSI7R8P-gZy
|
|
|
84
84
|
pycontrails/utils/json.py,sha256=xCv71CKVZNHk4MyoYC-hl7dXObXXbI7P8gcNCn3AUoU,6172
|
|
85
85
|
pycontrails/utils/temp.py,sha256=5XXqQoEfWjz1OrhoOBZD5vkkCFeuq9LpZkyhc38gIeY,1159
|
|
86
86
|
pycontrails/utils/types.py,sha256=f8FNSSzW-1ISgJ0zDtCwZgpuzpt26sUABiHHusS414s,4725
|
|
87
|
-
pycontrails-0.49.
|
|
88
|
-
pycontrails-0.49.
|
|
89
|
-
pycontrails-0.49.
|
|
90
|
-
pycontrails-0.49.
|
|
91
|
-
pycontrails-0.49.
|
|
92
|
-
pycontrails-0.49.
|
|
87
|
+
pycontrails-0.49.5.dist-info/LICENSE,sha256=HVr8JnZfTaA-12BfKUQZi5hdrB3awOwLWs5X_ga5QzA,10353
|
|
88
|
+
pycontrails-0.49.5.dist-info/METADATA,sha256=VPxASRleJeBK3MiyIOnXN3lCJf27w7uDA88ALwA_7R8,8429
|
|
89
|
+
pycontrails-0.49.5.dist-info/NOTICE,sha256=qYeNEp8OjDK5jSW3hTlr9LQRjZeEhXQm0zDei5UFaYs,1969
|
|
90
|
+
pycontrails-0.49.5.dist-info/WHEEL,sha256=5JPYeYl5ZdvdSkrGS4u21mmpPzpFx42qrXOSIgWf4pg,102
|
|
91
|
+
pycontrails-0.49.5.dist-info/top_level.txt,sha256=Z8J1R_AiBAyCVjNw6jYLdrA68PrQqTg0t3_Yek_IZ0Q,29
|
|
92
|
+
pycontrails-0.49.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|