pycontrails 0.49.5__tar.gz → 0.50.0__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 pycontrails might be problematic. Click here for more details.

Files changed (250) hide show
  1. {pycontrails-0.49.5 → pycontrails-0.50.0}/CHANGELOG.md +28 -2
  2. {pycontrails-0.49.5 → pycontrails-0.50.0}/Makefile +2 -1
  3. {pycontrails-0.49.5 → pycontrails-0.50.0}/PKG-INFO +4 -2
  4. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/pycontrails.bib +32 -0
  5. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/api.rst +9 -0
  6. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/meteorology.rst +1 -0
  7. pycontrails-0.50.0/docs/notebooks/ARCO-ERA5.ipynb +370 -0
  8. pycontrails-0.50.0/docs/notebooks/model-levels.ipynb +2019 -0
  9. pycontrails-0.50.0/docs/notebooks/specific-humidity-interpolation.ipynb +734 -0
  10. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/_version.py +2 -2
  11. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/datalib.py +60 -38
  12. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/met.py +4 -4
  13. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/met_var.py +2 -2
  14. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/models.py +7 -3
  15. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/rgi_cython.c +173 -185
  16. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/vector.py +5 -5
  17. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/__init__.py +4 -0
  18. pycontrails-0.50.0/pycontrails/datalib/ecmwf/arco_era5.py +577 -0
  19. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/common.py +1 -1
  20. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/era5.py +2 -5
  21. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/variables.py +18 -0
  22. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/gfs/gfs.py +2 -2
  23. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/cocip.py +26 -3
  24. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/cocip_params.py +11 -1
  25. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocipgrid/cocip_grid_params.py +25 -19
  26. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/constants.py +6 -0
  27. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/dependencies.py +13 -11
  28. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails.egg-info/PKG-INFO +4 -2
  29. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails.egg-info/SOURCES.txt +2 -0
  30. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails.egg-info/requires.txt +3 -1
  31. {pycontrails-0.49.5 → pycontrails-0.50.0}/pyproject.toml +5 -4
  32. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-contrail-output.json +485 -405
  33. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-contrail-output2.json +2894 -2894
  34. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-flight-output.json +191 -151
  35. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-flight-output2.json +642 -642
  36. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cocip.py +9 -0
  37. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_datalib.py +22 -12
  38. pycontrails-0.49.5/docs/notebooks/model-levels.ipynb +0 -2029
  39. pycontrails-0.49.5/docs/notebooks/specific-humidity-interpolation.ipynb +0 -762
  40. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  41. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  42. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/dependabot.yaml +0 -0
  43. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/pull_request_template.md +0 -0
  44. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/benchmark.yaml +0 -0
  45. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/docs.yaml +0 -0
  46. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/doctest.yaml +0 -0
  47. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/release.yaml +0 -0
  48. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/scorecard.yaml +0 -0
  49. {pycontrails-0.49.5 → pycontrails-0.50.0}/.github/workflows/test.yaml +0 -0
  50. {pycontrails-0.49.5 → pycontrails-0.50.0}/.gitignore +0 -0
  51. {pycontrails-0.49.5 → pycontrails-0.50.0}/.pre-commit-config.yaml +0 -0
  52. {pycontrails-0.49.5 → pycontrails-0.50.0}/.zenodo.json +0 -0
  53. {pycontrails-0.49.5 → pycontrails-0.50.0}/CONTRIBUTING.md +0 -0
  54. {pycontrails-0.49.5 → pycontrails-0.50.0}/LICENSE +0 -0
  55. {pycontrails-0.49.5 → pycontrails-0.50.0}/NOTICE +0 -0
  56. {pycontrails-0.49.5 → pycontrails-0.50.0}/README.md +0 -0
  57. {pycontrails-0.49.5 → pycontrails-0.50.0}/RELEASE.md +0 -0
  58. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/css/style.css +0 -0
  59. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/img/colab.png +0 -0
  60. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/img/favicon.png +0 -0
  61. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/img/logo-dark.png +0 -0
  62. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/_static/img/logo.png +0 -0
  63. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/changelog.rst +0 -0
  64. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/conf.py +0 -0
  65. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/contributing.rst +0 -0
  66. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/develop.rst +0 -0
  67. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/flight.rst +0 -0
  68. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/index.rst +0 -0
  69. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/install.rst +0 -0
  70. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/integrations/ACCF.ipynb +0 -0
  71. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/literature.rst +0 -0
  72. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/models.rst +0 -0
  73. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/AircraftPerformance.ipynb +0 -0
  74. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/Cache.ipynb +0 -0
  75. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/CoCiP.ipynb +0 -0
  76. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/ECMWF.ipynb +0 -0
  77. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/Flight.ipynb +0 -0
  78. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/GFS.ipynb +0 -0
  79. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/GOES.ipynb +0 -0
  80. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/ISSR.ipynb +0 -0
  81. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/Meteorology.ipynb +0 -0
  82. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/SAC.ipynb +0 -0
  83. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/advection.ipynb +0 -0
  84. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/airports.ipynb +0 -0
  85. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/.gitignore +0 -0
  86. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/flight-ap.csv +0 -0
  87. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/flight-cocip.csv +0 -0
  88. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/flight-fdr.csv +0 -0
  89. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/flight-noisy.csv +0 -0
  90. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/data/flight.csv +0 -0
  91. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/flightplan.ipynb +0 -0
  92. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/run-cocip-on-flight.ipynb +0 -0
  93. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks/run-cocip-with-fdr.ipynb +0 -0
  94. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/notebooks.rst +0 -0
  95. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/observations.rst +0 -0
  96. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/tutorials.rst +0 -0
  97. {pycontrails-0.49.5 → pycontrails-0.50.0}/docs/utilities.rst +0 -0
  98. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/__init__.py +0 -0
  99. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/__init__.py +0 -0
  100. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/aircraft_performance.py +0 -0
  101. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/airports.py +0 -0
  102. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/cache.py +0 -0
  103. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/coordinates.py +0 -0
  104. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/fleet.py +0 -0
  105. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/flight.py +0 -0
  106. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/flightplan.py +0 -0
  107. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/fuel.py +0 -0
  108. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/interpolation.py +0 -0
  109. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/polygon.py +0 -0
  110. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/core/rgi_cython.pyx +0 -0
  111. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/__init__.py +0 -0
  112. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/hres.py +0 -0
  113. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/ecmwf/ifs.py +0 -0
  114. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/gfs/__init__.py +0 -0
  115. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/gfs/variables.py +0 -0
  116. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/goes.py +0 -0
  117. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/spire/__init__.py +0 -0
  118. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/datalib/spire/spire.py +0 -0
  119. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/ext/bada.py +0 -0
  120. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/ext/cirium.py +0 -0
  121. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/ext/empirical_grid.py +0 -0
  122. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/ext/synthetic_flight.py +0 -0
  123. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/__init__.py +0 -0
  124. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/accf.py +0 -0
  125. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/__init__.py +0 -0
  126. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/cocip_uncertainty.py +0 -0
  127. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/contrail_properties.py +0 -0
  128. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/output_formats.py +0 -0
  129. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/radiative_forcing.py +0 -0
  130. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/radiative_heating.py +0 -0
  131. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/wake_vortex.py +0 -0
  132. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocip/wind_shear.py +0 -0
  133. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocipgrid/__init__.py +0 -0
  134. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/cocipgrid/cocip_grid.py +0 -0
  135. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/dry_advection.py +0 -0
  136. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/__init__.py +0 -0
  137. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/black_carbon.py +0 -0
  138. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/emissions.py +0 -0
  139. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/ffm2.py +0 -0
  140. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/static/default-engine-uids.csv +0 -0
  141. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/static/edb-gaseous-v28c-engines.csv +0 -0
  142. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/emissions/static/edb-nvpm-v28c-engines.csv +0 -0
  143. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/humidity_scaling/__init__.py +0 -0
  144. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/humidity_scaling/humidity_scaling.py +0 -0
  145. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/humidity_scaling/quantiles/era5-quantiles.pq +0 -0
  146. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/issr.py +0 -0
  147. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/pcc.py +0 -0
  148. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/pcr.py +0 -0
  149. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/__init__.py +0 -0
  150. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/ps_aircraft_params.py +0 -0
  151. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/ps_grid.py +0 -0
  152. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/ps_model.py +0 -0
  153. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/ps_operational_limits.py +0 -0
  154. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/ps_model/static/ps-aircraft-params-20240209.csv +0 -0
  155. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/sac.py +0 -0
  156. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/models/tau_cirrus.py +0 -0
  157. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/__init__.py +0 -0
  158. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/geo.py +0 -0
  159. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/jet.py +0 -0
  160. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/thermo.py +0 -0
  161. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/physics/units.py +0 -0
  162. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/py.typed +0 -0
  163. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/__init__.py +0 -0
  164. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/iteration.py +0 -0
  165. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/json.py +0 -0
  166. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/temp.py +0 -0
  167. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails/utils/types.py +0 -0
  168. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails.egg-info/dependency_links.txt +0 -0
  169. {pycontrails-0.49.5 → pycontrails-0.50.0}/pycontrails.egg-info/top_level.txt +0 -0
  170. {pycontrails-0.49.5 → pycontrails-0.50.0}/setup.cfg +0 -0
  171. {pycontrails-0.49.5 → pycontrails-0.50.0}/setup.py +0 -0
  172. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/__init__.py +0 -0
  173. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/_deprecated.py +0 -0
  174. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/Makefile +0 -0
  175. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/README.md +0 -0
  176. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/benchmark.py +0 -0
  177. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/compare.py +0 -0
  178. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/data.md +0 -0
  179. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/output.py +0 -0
  180. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip/review.ipynb +0 -0
  181. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/cocip-fortran/README.md +0 -0
  182. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/north-atlantic-study/.gcloudignore +0 -0
  183. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/north-atlantic-study/README.md +0 -0
  184. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/north-atlantic-study/support.py +0 -0
  185. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/benchmark/north-atlantic-study/validate.py +0 -0
  186. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/fixtures/cocip-met.py +0 -0
  187. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/fixtures/cocip-met2.py +0 -0
  188. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/fixtures/ecmwf-met.py +0 -0
  189. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/fixtures/gfs-met.py +0 -0
  190. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/__init__.py +0 -0
  191. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/conftest.py +0 -0
  192. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/NOAA_Solar_Calculations_day.csv +0 -0
  193. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-output-contrail-edges.json +0 -0
  194. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/cocip-output-flts-20190101-eu.pq +0 -0
  195. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flight-cocip2.csv +0 -0
  196. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flight-meridian.csv +0 -0
  197. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flight-metadata.json +0 -0
  198. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flight-spire-data-cleaning.pq +0 -0
  199. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flight.csv +0 -0
  200. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/flt-wypts-20190101-eu.pq +0 -0
  201. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-20190101-eu.nc +0 -0
  202. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-accf-pl.nc +0 -0
  203. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-accf-sl.nc +0 -0
  204. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-ecmwf-pl.nc +0 -0
  205. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-ecmwf-sl.nc +0 -0
  206. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-era5-cocip1.nc +0 -0
  207. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-era5-cocip2.nc +0 -0
  208. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/met-gfs.nc +0 -0
  209. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/polygon-bug.nc +0 -0
  210. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/rad-20190101-eu.nc +0 -0
  211. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/rad-era5-cocip1.nc +0 -0
  212. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/rad-era5-cocip2.nc +0 -0
  213. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/static/rad-gfs.nc +0 -0
  214. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_accf.py +0 -0
  215. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_airports.py +0 -0
  216. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cache.py +0 -0
  217. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cocip_grid.py +0 -0
  218. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cocip_grid_parity.py +0 -0
  219. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cocip_radiative_forcing.py +0 -0
  220. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_cocip_uncertainty.py +0 -0
  221. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_coordinates.py +0 -0
  222. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_dry_advection.py +0 -0
  223. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_dtypes.py +0 -0
  224. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_ecmwf.py +0 -0
  225. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_emissions.py +0 -0
  226. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_fleet.py +0 -0
  227. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_flight.py +0 -0
  228. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_flightplan.py +0 -0
  229. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_fuel.py +0 -0
  230. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_geo.py +0 -0
  231. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_gfs.py +0 -0
  232. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_goes.py +0 -0
  233. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_grid_to_netcdf.py +0 -0
  234. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_humidity_scaling.py +0 -0
  235. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_init.py +0 -0
  236. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_interpolation.py +0 -0
  237. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_met.py +0 -0
  238. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_met_cache.py +0 -0
  239. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_models.py +0 -0
  240. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_pcc.py +0 -0
  241. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_polygons.py +0 -0
  242. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_ps_model.py +0 -0
  243. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_sac_issr.py +0 -0
  244. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_spire.py +0 -0
  245. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_tau_cirrus.py +0 -0
  246. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_thermo_sac.py +0 -0
  247. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_units.py +0 -0
  248. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_utils.py +0 -0
  249. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_vector.py +0 -0
  250. {pycontrails-0.49.5 → pycontrails-0.50.0}/tests/unit/test_zarr.py +0 -0
@@ -1,11 +1,37 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ ## v0.50.0
5
+
6
+ ### Features
7
+
8
+ - Add `ARCOERA5` interface for accessing ARCO ERA5 model level data. This interface requires the [metview](https://metview.readthedocs.io/en/latest/python.html) python package.
9
+ - Add [ARCO ERA5 tutorial notebook](https://py.contrails.org/notebooks/ARCO-ERA5.html) highlighting the new interface.
10
+ - Add support to output contrail warming impact in ATR20
11
+
12
+ ### Breaking changes
13
+
14
+ - Reduce `CocipParams.met_level_buffer` from `(200, 200)` to `(40, 40)`. This change is motivated by the observation that the previous buffer was unnecessarily large and caused additional memory overhead. The new buffer is more in line with the typical vertical advection path of a contrail.
15
+
16
+ ### Fixes
17
+
18
+ - Raise ValueError when `list[Flight]` source is provided to `Cocip` and the `copy_source` parameter is set to `False`. Previously the source was copied in this case regardless of the `copy_source` parameter.
19
+ - Fix broken link in the [model level notebook](https://py.contrails.org/notebooks/model-levels.html).
20
+
21
+ ### Internals
22
+
23
+ - The `datalib.parse_pressure_levels` now sorts the pressure levels in ascending order and raises a ValueError if the input pressure levels are duplicated or have mixed signs.
24
+ - Add new `MetDataSource.is_single_level` property.
25
+ - Add `ecmwf.Divergence` (a subclass of `MetVariable`) for accessing ERA5 divergence data.
26
+ - Update the [specific humidity interpolation notebook](https://py.contrails.org/notebooks/specific-humidity-interpolation.html) to use the new `ARCOERA5` interface.
27
+ - Adds two parameters to `CoCipParams`, `compute_atr20` and `global_rf_to_atr20_factor`. Setting the former to `True` will add both `global_yearly_mean_rf` and `atr20` to the CoCiP output.
28
+ - Bump minimum pytest version to 8.1 to avoid failures in release workflow.
29
+
4
30
  ## v0.49.5
5
31
 
6
- ## Fixes
32
+ ### Fixes
7
33
 
8
- - Fix bug where `Cocip._process_rad` lost radiation dataset attributes
34
+ - Fix bug in which `Cocip._process_rad` dropped radiation dataset attributes introduced in v0.49.4.
9
35
 
10
36
  ## v0.49.4
11
37
 
@@ -72,7 +72,7 @@ dev-pycontrails-bada:
72
72
  # -----------
73
73
 
74
74
  ruff: black-check
75
- ruff pycontrails tests
75
+ ruff check pycontrails tests
76
76
 
77
77
  black:
78
78
  black pycontrails tests
@@ -207,6 +207,7 @@ nb-test: ensure-era5-cached nb-clean-check nb-black-check nb-check-links
207
207
  --ignore=docs/notebooks/GFS.ipynb \
208
208
  --ignore=docs/notebooks/run-cocip-on-flight.ipynb \
209
209
  --ignore=docs/notebooks/model-levels.ipynb \
210
+ --ignore=docs/notebooks/ARCO-ERA5.ipynb \
210
211
  docs/notebooks docs/integrations
211
212
 
212
213
  # Check for broken links in notebooks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycontrails
3
- Version: 0.49.5
3
+ Version: 0.50.0
4
4
  Summary: Python library for modeling aviation climate impacts
5
5
  Author-email: Breakthrough Energy <py@contrails.org>
6
6
  License: Apache-2.0
@@ -47,7 +47,7 @@ Requires-Dist: platformdirs>=3.0; extra == "dev"
47
47
  Requires-Dist: pre-commit>=2.10; extra == "dev"
48
48
  Requires-Dist: psutil; extra == "dev"
49
49
  Requires-Dist: pyarrow>=5.0; extra == "dev"
50
- Requires-Dist: pytest>=6.1; extra == "dev"
50
+ Requires-Dist: pytest>=8.1; extra == "dev"
51
51
  Requires-Dist: pytest-cov>=2.11; extra == "dev"
52
52
  Requires-Dist: requests>=2.25; extra == "dev"
53
53
  Requires-Dist: ruff==0.1.15; extra == "dev"
@@ -72,6 +72,7 @@ Requires-Dist: ecmwf-api-client>=1.6; extra == "ecmwf"
72
72
  Requires-Dist: netcdf4>=1.6.1; extra == "ecmwf"
73
73
  Requires-Dist: platformdirs>=3.0; extra == "ecmwf"
74
74
  Requires-Dist: requests>=2.25; extra == "ecmwf"
75
+ Requires-Dist: lxml>=5.1.0; extra == "ecmwf"
75
76
  Provides-Extra: gcp
76
77
  Requires-Dist: google-cloud-storage>=2.1; extra == "gcp"
77
78
  Requires-Dist: platformdirs>=3.0; extra == "gcp"
@@ -102,6 +103,7 @@ Requires-Dist: seaborn>=0.11; extra == "vis"
102
103
  Requires-Dist: shapely>=2.0; extra == "vis"
103
104
  Provides-Extra: zarr
104
105
  Requires-Dist: fsspec>=2022.7.1; extra == "zarr"
106
+ Requires-Dist: gcsfs>=2022.7.1; extra == "zarr"
105
107
  Requires-Dist: zarr>=2.12; extra == "zarr"
106
108
 
107
109
  # pycontrails
@@ -50,6 +50,18 @@
50
50
  howpublished = {https://www.movable-type.co.uk/scripts/latlong.html}
51
51
  }
52
52
 
53
+ @inproceedings{carverARCOERA5AnalysisReadyCloudOptimized2023,
54
+ title = {{{ARCO-ERA5}}: {{An Analysis-Ready Cloud-Optimized Reanalysis Dataset}}},
55
+ shorttitle = {{{ARCO-ERA5}}},
56
+ booktitle = {103rd {{AMS Annual Meeting}}},
57
+ author = {Carver, Robert W. and Merose, Alex},
58
+ year = {2023},
59
+ month = jan,
60
+ publisher = {{AMS}},
61
+ urldate = {2024-03-05},
62
+ abstract = {In this paper, we describe the design and methodology of creating an analysis-r...}
63
+ }
64
+
53
65
  @article{celikel2001forecasting,
54
66
  title = {Forecasting Civil Aviation Fuel Burn and Emissions in {{Europe}}},
55
67
  author = {Celikel, A and Jelinek, F},
@@ -967,3 +979,23 @@
967
979
  abstract = {{$<$}p{$><$}strong class="journal-contentHeaderColor"{$>$}Abstract.{$<$}/strong{$>$} The global commercial aircraft fleet in 2006 flew 31.26 million flights, burned 188.20 million metric tons of fuel, and covered 38.68 billion kilometers. This activity emitted substantial amounts of fossil-fuel combustion products within the upper troposphere and lower stratosphere that affect atmospheric composition and climate. The emissions products, such as carbon monoxide, carbon dioxide, oxides of nitrogen, sulfur compounds, and particulate matter, are not emitted uniformly over the Earth, so understanding the temporal and spatial distributions is important for modeling aviation's climate impacts. Global commercial aircraft emission data for 2004 and 2006, provided by the Volpe National Transportation Systems Center, were computed using the Federal Aviation Administration's Aviation Environmental Design Tool (AEDT). Continuous improvement in methodologies, including changes in AEDT's horizontal track methodologies, and an increase in availability of data make some differences between the 2004 and 2006 inventories incomparable. Furthermore, the 2004 inventory contained a significant over-count due to an imperfect data merge and daylight savings error. As a result, the 2006 emissions inventory is considered more representative of actual flight activity. Here, we analyze both 2004 and 2006 emissions, focusing on the latter, and provide corrected totals for 2004. Analysis of 2006 flight data shows that 92.5\% of fuel was burned in the Northern Hemisphere, 69.0\% between 30N and 60N latitudes, and 74.6\% was burned above 7 km. This activity led to 162.25 Tg of carbon from CO\textsubscript{2} emitted globally in 2006, more than half over three regions: the United States (25.5\%), Europe (14.6), and East Asia (11.1). Despite receiving less than one percent of global emissions, the Arctic receives a uniformly dispersed concentration of emissions with 95.2\% released at altitude where they have longer residence time than surface emissions. Finally, 85.2\% of all flights by number in 2006 were short-haul missions, yet those flights were responsible for only 39.7\% of total carbon from CO\textsubscript{2}. The following is a summary of these data which illustrates the global and regional aviation emissions footprints for 2004 and 2006, and provides temporal and spatial distribution statistics.{$<$}/p{$>$}},
968
980
  langid = {english}
969
981
  }
982
+
983
+
984
+ @article{yin_predicting_2023,
985
+ title = {Predicting the climate impact of aviation for en-route emissions: the algorithmic climate change function submodel {ACCF} 1.0 of {EMAC} 2.53},
986
+ volume = {16},
987
+ issn = {1991-959X},
988
+ shorttitle = {Predicting the climate impact of aviation for en-route emissions},
989
+ url = {https://gmd.copernicus.org/articles/16/3313/2023/},
990
+ doi = {10.5194/gmd-16-3313-2023},
991
+ abstract = {Using climate-optimized flight trajectories is one essential measure to reduce aviation's climate impact. Detailed knowledge of temporal and spatial climate sensitivity for aviation emissions in the atmosphere is required to realize such a climate mitigation measure. The algorithmic Climate Change Functions (aCCFs) represent the basis for such purposes. This paper presents the first version of the Algorithmic Climate Change Function submodel (ACCF 1.0) within the European Centre HAMburg general circulation model (ECHAM) and Modular Earth Submodel System (MESSy) Atmospheric Chemistry (EMAC) model framework. In the ACCF 1.0, we implement a set of aCCFs (version 1.0) to estimate the average temperature response over 20 years (ATR20) resulting from aviation CO2 emissions and non-CO2 impacts, such as NOx emissions (via ozone production and methane destruction), water vapour emissions, and contrail cirrus. While the aCCF concept has been introduced in previous research, here, we publish a consistent set of aCCF formulas in terms of fuel scenario, metric, and efficacy for the first time. In particular, this paper elaborates on contrail aCCF development, which has not been published before. ACCF 1.0 uses the simulated atmospheric conditions at the emission location as input to calculate the ATR20 per unit of fuel burned, per NOx emitted, or per flown kilometre. In this research, we perform quality checks of the ACCF 1.0 outputs in two aspects. Firstly, we compare climatological values calculated by ACCF 1.0 to previous studies. The comparison confirms that in the Northern Hemisphere between 150–300 hPa altitude (flight corridor), the vertical and latitudinal structure of NOx-induced ozone and H2O effects are well represented by the ACCF model output. The NOx-induced methane effects increase towards lower altitudes and higher latitudes, which behaves differently from the existing literature. For contrail cirrus, the climatological pattern of the ACCF model output corresponds with the literature, except that contrail-cirrus aCCF generates values at low altitudes near polar regions, which is caused by the conditions set up for contrail formation. Secondly, we evaluate the reduction of NOx-induced ozone effects through trajectory optimization, employing the tagging chemistry approach (contribution approach to tag species according to their emission categories and to inherit these tags to other species during the subsequent chemical reactions). The simulation results show that climate-optimized trajectories reduce the radiative forcing contribution from aviation NOx-induced ozone compared to cost-optimized trajectories. Finally, we couple the ACCF 1.0 to the air traffic simulation submodel AirTraf version 2.0 and demonstrate the variability of the flight trajectories when the efficacy of individual effects is considered. Based on the 1 d simulation results of a subset of European flights, the total ATR20 of the climate-optimized flights is significantly lower (roughly 50 \% less) than that of the cost-optimized flights, with the most considerable contribution from contrail cirrus. The CO2 contribution observed in this study is low compared with the non-CO2 effects, which requires further diagnosis.},
992
+ language = {English},
993
+ number = {11},
994
+ urldate = {2023-08-23},
995
+ journal = {Geoscientific Model Development},
996
+ author = {Yin, Feijia and Grewe, Volker and Castino, Federica and Rao, Pratik and Matthes, Sigrun and Dahlmann, Katrin and Dietmüller, Simone and Frömming, Christine and Yamashita, Hiroshi and Peter, Patrick and Klingaman, Emma and Shine, Keith P. and Lührs, Benjamin and Linke, Florian},
997
+ month = jun,
998
+ year = {2023},
999
+ note = {Publisher: Copernicus GmbH},
1000
+ pages = {3313--3334},
1001
+ }
@@ -71,6 +71,15 @@ GFS
71
71
  datalib.gfs.variables
72
72
 
73
73
 
74
+ ARCO ERA5
75
+ """""""""
76
+
77
+ .. autosummary::
78
+ :toctree: api/
79
+
80
+ datalib.ecmwf.arco_era5
81
+
82
+
74
83
  GOES
75
84
  """"
76
85
 
@@ -11,3 +11,4 @@ Meteorology
11
11
  notebooks/Meteorology
12
12
  notebooks/ECMWF
13
13
  notebooks/GFS
14
+ notebooks/ARCO-ERA5