metrust 0.3.6__tar.gz → 0.3.7__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.
Files changed (199) hide show
  1. {metrust-0.3.6 → metrust-0.3.7}/Cargo.lock +56 -47
  2. {metrust-0.3.6 → metrust-0.3.7}/Cargo.toml +1 -1
  3. {metrust-0.3.6 → metrust-0.3.7}/PKG-INFO +1 -1
  4. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/Cargo.toml +3 -3
  5. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/severe.rs +4 -3
  6. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/mod.rs +14 -14
  7. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/plots/mod.rs +12 -12
  8. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/Cargo.toml +2 -2
  9. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/cache.rs +265 -265
  10. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/catalog.rs +2 -2
  11. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/client.rs +360 -360
  12. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/idx.rs +672 -672
  13. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/mod.rs +17 -17
  14. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/grid.rs +659 -659
  15. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/mod.rs +25 -25
  16. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/parser.rs +824 -824
  17. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/streaming.rs +1 -1
  18. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/tests.rs +916 -916
  19. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/unpack.rs +1133 -1133
  20. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/writer.rs +1 -1
  21. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/lib.rs +48 -48
  22. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/metfuncs.rs +1 -1
  23. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/latest.rs +94 -94
  24. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/mod.rs +39 -39
  25. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/projection.rs +2 -2
  26. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/colormap.rs +682 -682
  27. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/contour.rs +469 -469
  28. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/mod.rs +67 -67
  29. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/projection.rs +1 -1
  30. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/thermo.rs +3280 -3280
  31. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/architecture.md +3 -3
  32. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/io-formats.md +1 -1
  33. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/smoothing.md +1 -1
  34. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/wind.md +2 -2
  35. {metrust-0.3.6 → metrust-0.3.7}/pyproject.toml +1 -1
  36. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/calc/__init__.py +11 -4
  37. {metrust-0.3.6 → metrust-0.3.7}/src/py_thermo.rs +1546 -1546
  38. {metrust-0.3.6 → metrust-0.3.7}/.github/workflows/ci.yml +0 -0
  39. {metrust-0.3.6 → metrust-0.3.7}/.github/workflows/docs.yml +0 -0
  40. {metrust-0.3.6 → metrust-0.3.7}/.github/workflows/release.yml +0 -0
  41. {metrust-0.3.6 → metrust-0.3.7}/.gitignore +0 -0
  42. {metrust-0.3.6 → metrust-0.3.7}/README.md +0 -0
  43. {metrust-0.3.6 → metrust-0.3.7}/VERIFICATION.md +0 -0
  44. {metrust-0.3.6 → metrust-0.3.7}/benches/bench_hrrr.py +0 -0
  45. {metrust-0.3.6 → metrust-0.3.7}/benches/bench_hrrr_vs_metpy.py +0 -0
  46. {metrust-0.3.6 → metrust-0.3.7}/benches/bench_python.py +0 -0
  47. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/benches/calc_bench.rs +0 -0
  48. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/atmo.rs +0 -0
  49. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/kinematics.rs +0 -0
  50. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/mod.rs +0 -0
  51. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/smooth.rs +0 -0
  52. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/thermo.rs +0 -0
  53. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/utils.rs +0 -0
  54. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/calc/wind.rs +0 -0
  55. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/constants.rs +0 -0
  56. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/interpolate/mod.rs +0 -0
  57. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/gempak.rs +0 -0
  58. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/gempak_dm.rs +0 -0
  59. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/gempak_sounding.rs +0 -0
  60. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/gempak_surface.rs +0 -0
  61. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/gini.rs +0 -0
  62. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/level3.rs +0 -0
  63. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/metar.rs +0 -0
  64. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/station.rs +0 -0
  65. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/io/wpc.rs +0 -0
  66. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/lib.rs +0 -0
  67. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/projections.rs +0 -0
  68. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/src/units.rs +0 -0
  69. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/tests/test_gempak.rs +0 -0
  70. {metrust-0.3.6 → metrust-0.3.7}/crates/metrust/tests/test_new_functions.rs +0 -0
  71. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/composite.rs +0 -0
  72. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/fallback.rs +0 -0
  73. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/sources.rs +0 -0
  74. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/download/streaming.rs +0 -0
  75. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/dynamics.rs +0 -0
  76. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/error.rs +0 -0
  77. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/ops.rs +0 -0
  78. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/search.rs +0 -0
  79. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/grib2/tables.rs +0 -0
  80. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/gridmath.rs +0 -0
  81. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/cfs.rs +0 -0
  82. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/ecmwf.rs +0 -0
  83. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/era5.rs +0 -0
  84. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/gefs.rs +0 -0
  85. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/gfs.rs +0 -0
  86. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/href.rs +0 -0
  87. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/hrrr.rs +0 -0
  88. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/hrrr_ak.rs +0 -0
  89. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/mrms.rs +0 -0
  90. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/nam.rs +0 -0
  91. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/nbm.rs +0 -0
  92. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/rap.rs +0 -0
  93. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/rrfs.rs +0 -0
  94. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/rtma.rs +0 -0
  95. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/sref.rs +0 -0
  96. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/urma.rs +0 -0
  97. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/models/wpc.rs +0 -0
  98. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/products.rs +0 -0
  99. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/regrid.rs +0 -0
  100. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/ansi.rs +0 -0
  101. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/cross_section.rs +0 -0
  102. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/encode.rs +0 -0
  103. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/filled_contour.rs +0 -0
  104. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/hodograph.rs +0 -0
  105. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/overlay.rs +0 -0
  106. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/raster.rs +0 -0
  107. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/skewt.rs +0 -0
  108. {metrust-0.3.6/crates/rustmet-core → metrust-0.3.7/crates/wx-core}/src/render/station.rs +0 -0
  109. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/Cargo.toml +0 -0
  110. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/error.rs +0 -0
  111. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/field.rs +0 -0
  112. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/lib.rs +0 -0
  113. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/meta.rs +0 -0
  114. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/radial.rs +0 -0
  115. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/site.rs +0 -0
  116. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/sounding.rs +0 -0
  117. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-field/src/time.rs +0 -0
  118. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/Cargo.toml +0 -0
  119. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/composite.rs +0 -0
  120. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/dynamics.rs +0 -0
  121. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/gridmath.rs +0 -0
  122. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/interpolate.rs +0 -0
  123. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/lib.rs +0 -0
  124. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-math/src/regrid.rs +0 -0
  125. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/Cargo.toml +0 -0
  126. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/cells.rs +0 -0
  127. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/color_table.rs +0 -0
  128. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/derived.rs +0 -0
  129. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/detection.rs +0 -0
  130. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/level2.rs +0 -0
  131. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/lib.rs +0 -0
  132. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/products.rs +0 -0
  133. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/render.rs +0 -0
  134. {metrust-0.3.6 → metrust-0.3.7}/crates/wx-radar/src/sites.rs +0 -0
  135. {metrust-0.3.6 → metrust-0.3.7}/demos/hrrr_diffusion_training.md +0 -0
  136. {metrust-0.3.6 → metrust-0.3.7}/docs/api/atmospheric.md +0 -0
  137. {metrust-0.3.6 → metrust-0.3.7}/docs/api/grid-composites.md +0 -0
  138. {metrust-0.3.6 → metrust-0.3.7}/docs/api/io.md +0 -0
  139. {metrust-0.3.6 → metrust-0.3.7}/docs/api/kinematics.md +0 -0
  140. {metrust-0.3.6 → metrust-0.3.7}/docs/api/moisture.md +0 -0
  141. {metrust-0.3.6 → metrust-0.3.7}/docs/api/severe.md +0 -0
  142. {metrust-0.3.6 → metrust-0.3.7}/docs/api/smoothing.md +0 -0
  143. {metrust-0.3.6 → metrust-0.3.7}/docs/api/thermodynamics.md +0 -0
  144. {metrust-0.3.6 → metrust-0.3.7}/docs/api/units.md +0 -0
  145. {metrust-0.3.6 → metrust-0.3.7}/docs/api/wind.md +0 -0
  146. {metrust-0.3.6 → metrust-0.3.7}/docs/compatibility.md +0 -0
  147. {metrust-0.3.6 → metrust-0.3.7}/docs/guides/arrays.md +0 -0
  148. {metrust-0.3.6 → metrust-0.3.7}/docs/guides/installation.md +0 -0
  149. {metrust-0.3.6 → metrust-0.3.7}/docs/guides/migration.md +0 -0
  150. {metrust-0.3.6 → metrust-0.3.7}/docs/index.md +0 -0
  151. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/grid-kinematics.md +0 -0
  152. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/index.md +0 -0
  153. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/interpolation.md +0 -0
  154. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/metpy-compatibility.md +0 -0
  155. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/moisture.md +0 -0
  156. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/parallelism.md +0 -0
  157. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/severe-weather.md +0 -0
  158. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/thermodynamics.md +0 -0
  159. {metrust-0.3.6 → metrust-0.3.7}/docs/methodology/units-and-pint.md +0 -0
  160. {metrust-0.3.6 → metrust-0.3.7}/docs/performance.md +0 -0
  161. {metrust-0.3.6 → metrust-0.3.7}/docs/tutorials/first-grid.md +0 -0
  162. {metrust-0.3.6 → metrust-0.3.7}/docs/tutorials/first-sounding.md +0 -0
  163. {metrust-0.3.6 → metrust-0.3.7}/docs/tutorials/reading-the-numbers.md +0 -0
  164. {metrust-0.3.6 → metrust-0.3.7}/docs/tutorials/recipes.md +0 -0
  165. {metrust-0.3.6 → metrust-0.3.7}/docs/tutorials/weather-101.md +0 -0
  166. {metrust-0.3.6 → metrust-0.3.7}/examples/cookbook_500hpa_grid.py +0 -0
  167. {metrust-0.3.6 → metrust-0.3.7}/examples/cookbook_sounding.py +0 -0
  168. {metrust-0.3.6 → metrust-0.3.7}/examples/sounderpy_dropin.py +0 -0
  169. {metrust-0.3.6 → metrust-0.3.7}/mkdocs.yml +0 -0
  170. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/__init__.py +0 -0
  171. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/constants/__init__.py +0 -0
  172. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/interpolate/__init__.py +0 -0
  173. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/io/__init__.py +0 -0
  174. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/plots/__init__.py +0 -0
  175. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/units.py +0 -0
  176. {metrust-0.3.6 → metrust-0.3.7}/python/metrust/xarray.py +0 -0
  177. {metrust-0.3.6 → metrust-0.3.7}/src/lib.rs +0 -0
  178. {metrust-0.3.6 → metrust-0.3.7}/src/py_atmo.rs +0 -0
  179. {metrust-0.3.6 → metrust-0.3.7}/src/py_constants.rs +0 -0
  180. {metrust-0.3.6 → metrust-0.3.7}/src/py_interpolate.rs +0 -0
  181. {metrust-0.3.6 → metrust-0.3.7}/src/py_io.rs +0 -0
  182. {metrust-0.3.6 → metrust-0.3.7}/src/py_kinematics.rs +0 -0
  183. {metrust-0.3.6 → metrust-0.3.7}/src/py_severe.rs +0 -0
  184. {metrust-0.3.6 → metrust-0.3.7}/src/py_smooth.rs +0 -0
  185. {metrust-0.3.6 → metrust-0.3.7}/src/py_utils.rs +0 -0
  186. {metrust-0.3.6 → metrust-0.3.7}/src/py_wind.rs +0 -0
  187. {metrust-0.3.6 → metrust-0.3.7}/tests/api_audit_calc.md +0 -0
  188. {metrust-0.3.6 → metrust-0.3.7}/tests/api_audit_other.md +0 -0
  189. {metrust-0.3.6 → metrust-0.3.7}/tests/benchmark.py +0 -0
  190. {metrust-0.3.6 → metrust-0.3.7}/tests/test_metpy_dropin_compat.py +0 -0
  191. {metrust-0.3.6 → metrust-0.3.7}/tests/test_python_compat.py +0 -0
  192. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_constants.py +0 -0
  193. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_edge_cases.py +0 -0
  194. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_kinematics.py +0 -0
  195. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_severe_atmo.py +0 -0
  196. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_smooth_interp.py +0 -0
  197. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_thermo.py +0 -0
  198. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_units.py +0 -0
  199. {metrust-0.3.6 → metrust-0.3.7}/tests/verify_wind.py +0 -0
@@ -69,9 +69,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
69
69
 
70
70
  [[package]]
71
71
  name = "anstyle"
72
- version = "1.0.13"
72
+ version = "1.0.14"
73
73
  source = "registry+https://github.com/rust-lang/crates.io-index"
74
- checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
74
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
75
75
 
76
76
  [[package]]
77
77
  name = "autocfg"
@@ -157,9 +157,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
157
157
 
158
158
  [[package]]
159
159
  name = "cc"
160
- version = "1.2.56"
160
+ version = "1.2.57"
161
161
  source = "registry+https://github.com/rust-lang/crates.io-index"
162
- checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
162
+ checksum = "7a0dd1ca384932ff3641c8718a02769f1698e7563dc6974ffd03346116310423"
163
163
  dependencies = [
164
164
  "find-msvc-tools",
165
165
  "shlex",
@@ -706,7 +706,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46"
706
706
  dependencies = [
707
707
  "hermit-abi",
708
708
  "libc",
709
- "windows-sys",
709
+ "windows-sys 0.61.2",
710
710
  ]
711
711
 
712
712
  [[package]]
@@ -720,9 +720,9 @@ dependencies = [
720
720
 
721
721
  [[package]]
722
722
  name = "itoa"
723
- version = "1.0.17"
723
+ version = "1.0.18"
724
724
  source = "registry+https://github.com/rust-lang/crates.io-index"
725
- checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
725
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
726
726
 
727
727
  [[package]]
728
728
  name = "js-sys"
@@ -788,13 +788,13 @@ dependencies = [
788
788
 
789
789
  [[package]]
790
790
  name = "metrust"
791
- version = "0.3.6"
791
+ version = "0.3.7"
792
792
  dependencies = [
793
793
  "chrono",
794
794
  "criterion",
795
795
  "flate2",
796
796
  "rayon",
797
- "rustmet-core",
797
+ "wx-core",
798
798
  "wx-field",
799
799
  "wx-math",
800
800
  "wx-radar",
@@ -802,7 +802,7 @@ dependencies = [
802
802
 
803
803
  [[package]]
804
804
  name = "metrust-py"
805
- version = "0.3.6"
805
+ version = "0.3.7"
806
806
  dependencies = [
807
807
  "metrust",
808
808
  "numpy",
@@ -1092,9 +1092,9 @@ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
1092
1092
 
1093
1093
  [[package]]
1094
1094
  name = "portable-atomic-util"
1095
- version = "0.2.5"
1095
+ version = "0.2.6"
1096
1096
  source = "registry+https://github.com/rust-lang/crates.io-index"
1097
- checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"
1097
+ checksum = "091397be61a01d4be58e7841595bd4bfedb15f1cd54977d79b8271e94ed799a3"
1098
1098
  dependencies = [
1099
1099
  "portable-atomic",
1100
1100
  ]
@@ -1303,7 +1303,7 @@ dependencies = [
1303
1303
  "getrandom",
1304
1304
  "libc",
1305
1305
  "untrusted",
1306
- "windows-sys",
1306
+ "windows-sys 0.52.0",
1307
1307
  ]
1308
1308
 
1309
1309
  [[package]]
@@ -1351,7 +1351,7 @@ dependencies = [
1351
1351
  "log",
1352
1352
  "once_cell",
1353
1353
  "rustls-pki-types",
1354
- "rustls-webpki 0.103.9",
1354
+ "rustls-webpki 0.103.10",
1355
1355
  "subtle",
1356
1356
  "zeroize",
1357
1357
  ]
@@ -1408,33 +1408,15 @@ dependencies = [
1408
1408
 
1409
1409
  [[package]]
1410
1410
  name = "rustls-webpki"
1411
- version = "0.103.9"
1411
+ version = "0.103.10"
1412
1412
  source = "registry+https://github.com/rust-lang/crates.io-index"
1413
- checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53"
1413
+ checksum = "df33b2b81ac578cabaf06b89b0631153a3f416b0a886e8a7a1707fb51abbd1ef"
1414
1414
  dependencies = [
1415
1415
  "ring",
1416
1416
  "rustls-pki-types",
1417
1417
  "untrusted",
1418
1418
  ]
1419
1419
 
1420
- [[package]]
1421
- name = "rustmet-core"
1422
- version = "0.3.6"
1423
- dependencies = [
1424
- "chrono",
1425
- "flate2",
1426
- "openjp2",
1427
- "png",
1428
- "rayon",
1429
- "rustls",
1430
- "rustls-rustcrypto",
1431
- "thiserror",
1432
- "ureq",
1433
- "webpki-roots 0.26.11",
1434
- "wx-field",
1435
- "wx-math",
1436
- ]
1437
-
1438
1420
  [[package]]
1439
1421
  name = "rustversion"
1440
1422
  version = "1.0.22"
@@ -1663,9 +1645,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
1663
1645
 
1664
1646
  [[package]]
1665
1647
  name = "ureq"
1666
- version = "3.2.0"
1648
+ version = "3.3.0"
1667
1649
  source = "registry+https://github.com/rust-lang/crates.io-index"
1668
- checksum = "fdc97a28575b85cfedf2a7e7d3cc64b3e11bd8ac766666318003abbacc7a21fc"
1650
+ checksum = "dea7109cdcd5864d4eeb1b58a1648dc9bf520360d7af16ec26d0a9354bafcfc0"
1669
1651
  dependencies = [
1670
1652
  "base64",
1671
1653
  "flate2",
@@ -1674,15 +1656,15 @@ dependencies = [
1674
1656
  "rustls",
1675
1657
  "rustls-pki-types",
1676
1658
  "ureq-proto",
1677
- "utf-8",
1659
+ "utf8-zero",
1678
1660
  "webpki-roots 1.0.6",
1679
1661
  ]
1680
1662
 
1681
1663
  [[package]]
1682
1664
  name = "ureq-proto"
1683
- version = "0.5.3"
1665
+ version = "0.6.0"
1684
1666
  source = "registry+https://github.com/rust-lang/crates.io-index"
1685
- checksum = "d81f9efa9df032be5934a46a068815a10a042b494b6a58cb0a1a97bb5467ed6f"
1667
+ checksum = "e994ba84b0bd1b1b0cf92878b7ef898a5c1760108fe7b6010327e274917a808c"
1686
1668
  dependencies = [
1687
1669
  "base64",
1688
1670
  "http",
@@ -1691,10 +1673,10 @@ dependencies = [
1691
1673
  ]
1692
1674
 
1693
1675
  [[package]]
1694
- name = "utf-8"
1695
- version = "0.7.6"
1676
+ name = "utf8-zero"
1677
+ version = "0.8.1"
1696
1678
  source = "registry+https://github.com/rust-lang/crates.io-index"
1697
- checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
1679
+ checksum = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e"
1698
1680
 
1699
1681
  [[package]]
1700
1682
  name = "version_check"
@@ -1797,7 +1779,7 @@ version = "0.1.11"
1797
1779
  source = "registry+https://github.com/rust-lang/crates.io-index"
1798
1780
  checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
1799
1781
  dependencies = [
1800
- "windows-sys",
1782
+ "windows-sys 0.61.2",
1801
1783
  ]
1802
1784
 
1803
1785
  [[package]]
@@ -1868,6 +1850,15 @@ dependencies = [
1868
1850
  "windows-targets",
1869
1851
  ]
1870
1852
 
1853
+ [[package]]
1854
+ name = "windows-sys"
1855
+ version = "0.61.2"
1856
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1857
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
1858
+ dependencies = [
1859
+ "windows-link",
1860
+ ]
1861
+
1871
1862
  [[package]]
1872
1863
  name = "windows-targets"
1873
1864
  version = "0.52.6"
@@ -1932,6 +1923,24 @@ version = "0.52.6"
1932
1923
  source = "registry+https://github.com/rust-lang/crates.io-index"
1933
1924
  checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
1934
1925
 
1926
+ [[package]]
1927
+ name = "wx-core"
1928
+ version = "0.3.7"
1929
+ dependencies = [
1930
+ "chrono",
1931
+ "flate2",
1932
+ "openjp2",
1933
+ "png",
1934
+ "rayon",
1935
+ "rustls",
1936
+ "rustls-rustcrypto",
1937
+ "thiserror",
1938
+ "ureq",
1939
+ "webpki-roots 0.26.11",
1940
+ "wx-field",
1941
+ "wx-math",
1942
+ ]
1943
+
1935
1944
  [[package]]
1936
1945
  name = "wx-field"
1937
1946
  version = "0.3.6"
@@ -1973,18 +1982,18 @@ dependencies = [
1973
1982
 
1974
1983
  [[package]]
1975
1984
  name = "zerocopy"
1976
- version = "0.8.42"
1985
+ version = "0.8.47"
1977
1986
  source = "registry+https://github.com/rust-lang/crates.io-index"
1978
- checksum = "f2578b716f8a7a858b7f02d5bd870c14bf4ddbbcf3a4c05414ba6503640505e3"
1987
+ checksum = "efbb2a062be311f2ba113ce66f697a4dc589f85e78a4aea276200804cea0ed87"
1979
1988
  dependencies = [
1980
1989
  "zerocopy-derive",
1981
1990
  ]
1982
1991
 
1983
1992
  [[package]]
1984
1993
  name = "zerocopy-derive"
1985
- version = "0.8.42"
1994
+ version = "0.8.47"
1986
1995
  source = "registry+https://github.com/rust-lang/crates.io-index"
1987
- checksum = "7e6cc098ea4d3bd6246687de65af3f920c430e236bee1e3bf2e441463f08a02f"
1996
+ checksum = "0e8bc7269b54418e7aeeef514aa68f8690b8c0489a06b0136e5f57c4c5ccab89"
1988
1997
  dependencies = [
1989
1998
  "proc-macro2",
1990
1999
  "quote",
@@ -8,7 +8,7 @@ license = "MIT"
8
8
 
9
9
  [package]
10
10
  name = "metrust-py"
11
- version = "0.3.6"
11
+ version = "0.3.7"
12
12
  edition.workspace = true
13
13
  description = "Python bindings for metrust — a drop-in replacement for MetPy"
14
14
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metrust
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Science/Research
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -1,13 +1,13 @@
1
1
  [package]
2
2
  name = "metrust"
3
- version = "0.3.6"
3
+ version = "0.3.7"
4
4
  edition = "2021"
5
5
  description = "A pure-Rust drop-in replacement for MetPy — meteorological calculations, data I/O, and visualization"
6
6
  license = "MIT"
7
7
 
8
8
  [dependencies]
9
- # Core dependencies from rustmet
10
- rustmet-core = { path = "../rustmet-core" }
9
+ # Core dependencies
10
+ wx-core = { path = "../wx-core" }
11
11
  wx-math = { path = "../wx-math" }
12
12
  wx-field = { path = "../wx-field" }
13
13
  wx-radar = { path = "../wx-radar" }
@@ -102,13 +102,14 @@ pub mod grid {
102
102
  /// 2003: Close proximity soundings within supercell environments obtained from
103
103
  /// the Rapid Update Cycle. *Wea. Forecasting*, **18**, 1243-1261.
104
104
  pub fn significant_tornado_parameter(
105
- mlcape: f64,
105
+ sbcape: f64,
106
106
  lcl_height_m: f64,
107
107
  srh_0_1km: f64,
108
108
  bulk_shear_0_6km_ms: f64,
109
109
  ) -> f64 {
110
- // CAPE term: mlCAPE / 1500, floored at 0
111
- let cape_term = (mlcape / 1500.0).max(0.0);
110
+ // CAPE term: SBCAPE / 1500, floored at 0
111
+ // Fixed-layer STP uses surface-based CAPE (not MLCAPE)
112
+ let cape_term = (sbcape / 1500.0).max(0.0);
112
113
 
113
114
  // LCL term: (2000 - LCL) / 1000
114
115
  // - Capped at 1.0 when LCL <= 1000 m (very low LCL is always favorable)
@@ -1,21 +1,21 @@
1
1
  //! Data I/O module -- MetPy-compatible structure for reading weather data.
2
2
  //!
3
3
  //! Re-exports GRIB2, NEXRAD Level-II, and data download primitives from
4
- //! rustmet-core and wx-radar. Also provides native parsers for Level-III
4
+ //! wx-core and wx-radar. Also provides native parsers for Level-III
5
5
  //! products, METAR text reports, and station lookup.
6
6
 
7
7
  // ── GRIB2 ────────────────────────────────────────────────────────────
8
- pub use rustmet_core::grib2::{
8
+ pub use wx_core::grib2::{
9
9
  Grib2File, Grib2Message, GridDefinition, ProductDefinition, DataRepresentation,
10
10
  };
11
- pub use rustmet_core::grib2::{unpack_message, unpack_message_normalized, flip_rows, BitReader};
12
- pub use rustmet_core::grib2::tables::{parameter_name, parameter_units, level_name};
13
- pub use rustmet_core::grib2::grid::{grid_latlon, rotated_to_geographic};
14
- pub use rustmet_core::grib2::{search_messages, StreamingParser};
15
- pub use rustmet_core::grib2::{
11
+ pub use wx_core::grib2::{unpack_message, unpack_message_normalized, flip_rows, BitReader};
12
+ pub use wx_core::grib2::tables::{parameter_name, parameter_units, level_name};
13
+ pub use wx_core::grib2::grid::{grid_latlon, rotated_to_geographic};
14
+ pub use wx_core::grib2::{search_messages, StreamingParser};
15
+ pub use wx_core::grib2::{
16
16
  Grib2Writer, MessageBuilder, PackingMethod,
17
17
  };
18
- pub use rustmet_core::grib2::{
18
+ pub use wx_core::grib2::{
19
19
  merge, subset, filter, split, field_diff, field_stats, field_stats_region,
20
20
  FieldStats, FieldOp, apply_op, smooth_gaussian, smooth_n_point,
21
21
  mask_region, wind_speed_dir, rotate_winds, convert_units,
@@ -74,18 +74,18 @@ pub fn is_precip_mode(vcp: u16) -> bool {
74
74
  }
75
75
 
76
76
  // ── Download ─────────────────────────────────────────────────────────
77
- pub use rustmet_core::download::{
77
+ pub use wx_core::download::{
78
78
  DownloadClient, DownloadConfig, Cache, DiskCache,
79
79
  };
80
- pub use rustmet_core::download::{
80
+ pub use wx_core::download::{
81
81
  IdxEntry, parse_idx, find_entries, find_entries_regex,
82
82
  find_entries_criteria, SearchCriteria, byte_ranges,
83
83
  };
84
- pub use rustmet_core::download::{fetch_with_fallback, probe_sources, FetchResult};
85
- pub use rustmet_core::download::{fetch_streaming, fetch_streaming_full};
86
- pub use rustmet_core::download::{
84
+ pub use wx_core::download::{fetch_with_fallback, probe_sources, FetchResult};
85
+ pub use wx_core::download::{fetch_streaming, fetch_streaming_full};
86
+ pub use wx_core::download::{
87
87
  DataSource as DownloadSource, model_sources, model_sources_filtered, source_names,
88
88
  };
89
- pub use rustmet_core::download::{
89
+ pub use wx_core::download::{
90
90
  VariableGroup, variable_groups, expand_var_group, expand_vars, group_names, get_group,
91
91
  };
@@ -4,15 +4,15 @@
4
4
  //! raster, cross-section, and radar PPI renderers.
5
5
 
6
6
  // ── Skew-T / Hodograph / Station ─────────────────────────────────────
7
- pub use rustmet_core::render::skewt::{SkewTConfig, SkewTData, render_skewt};
8
- pub use rustmet_core::render::hodograph::{HodographConfig, HodographData, render_hodograph};
9
- pub use rustmet_core::render::station::{StationObs, StationPlotConfig, render_station_plot};
7
+ pub use wx_core::render::skewt::{SkewTConfig, SkewTData, render_skewt};
8
+ pub use wx_core::render::hodograph::{HodographConfig, HodographData, render_hodograph};
9
+ pub use wx_core::render::station::{StationObs, StationPlotConfig, render_station_plot};
10
10
 
11
11
  // ── Colormaps ────────────────────────────────────────────────────────
12
- pub use rustmet_core::render::colormap::{
12
+ pub use wx_core::render::colormap::{
13
13
  interpolate_color, get_colormap, list_colormaps, ColorStop,
14
14
  };
15
- pub use rustmet_core::render::colormap::{
15
+ pub use wx_core::render::colormap::{
16
16
  TEMPERATURE, DEWPOINT, PRECIPITATION, WIND, REFLECTIVITY, CAPE,
17
17
  RELATIVE_HUMIDITY, VORTICITY, PRESSURE, SNOW, ICE, VISIBILITY,
18
18
  CLOUD_COVER, HELICITY, DIVERGENCE, THETA_E, NWS_REFLECTIVITY,
@@ -22,31 +22,31 @@ pub use rustmet_core::render::colormap::{
22
22
  };
23
23
 
24
24
  // ── Contours ─────────────────────────────────────────────────────────
25
- pub use rustmet_core::render::contour::{
25
+ pub use wx_core::render::contour::{
26
26
  contour_lines, contour_lines_labeled, ContourLine, LabeledContour,
27
27
  };
28
- pub use rustmet_core::render::filled_contour::{
28
+ pub use wx_core::render::filled_contour::{
29
29
  render_filled_contours, render_filled_contours_with_colormap, auto_levels,
30
30
  };
31
31
 
32
32
  // ── Overlays ─────────────────────────────────────────────────────────
33
- pub use rustmet_core::render::overlay::{
33
+ pub use wx_core::render::overlay::{
34
34
  overlay_contours, overlay_wind_barbs, overlay_streamlines,
35
35
  };
36
36
 
37
37
  // ── Raster ───────────────────────────────────────────────────────────
38
- pub use rustmet_core::render::raster::{
38
+ pub use wx_core::render::raster::{
39
39
  render_raster, render_raster_with_colormap, render_raster_par,
40
40
  };
41
41
 
42
42
  // ── Cross-section ────────────────────────────────────────────────────
43
- pub use rustmet_core::render::cross_section::{
43
+ pub use wx_core::render::cross_section::{
44
44
  CrossSectionConfig, CrossSectionData, render_cross_section,
45
45
  };
46
46
 
47
47
  // ── Encoding ─────────────────────────────────────────────────────────
48
- pub use rustmet_core::render::encode::{write_png, encode_png};
49
- pub use rustmet_core::render::ansi::{rgba_to_ansi, rgba_to_ansi_mode, AnsiMode};
48
+ pub use wx_core::render::encode::{write_png, encode_png};
49
+ pub use wx_core::render::ansi::{rgba_to_ansi, rgba_to_ansi_mode, AnsiMode};
50
50
 
51
51
  // ── Radar rendering ──────────────────────────────────────────────────
52
52
  pub use wx_radar::render::{render_ppi, render_ppi_with_table, RenderedPPI};
@@ -1,6 +1,6 @@
1
1
  [package]
2
- name = "rustmet-core"
3
- version = "0.3.6"
2
+ name = "wx-core"
3
+ version = "0.3.7"
4
4
  edition = "2021"
5
5
  description = "Pure Rust GRIB2 processor and weather model data library — HRRR, GFS, NAM, RAP"
6
6
  license = "MIT"