Skip to content

v0.39.6

Compare
Choose a tag to compare
@zebengberg zebengberg released this 13 Apr 11:35
· 1818 commits to main since this release

v0.39.6

Features

  • Add geo.azimuth and geo.segment_azimuth functions to calculate the azimuth
    between coordinates.
    Azimuth is the angle between coordinates relative to true north on the range [0, 360].

Fixes

  • Fix edge case in polygon algorithm by utilizing the fully_connected parameter in measure.find_contours. This update leads to slight changes in interior contours in some cases.
  • Fix hard-coded POSIX path in conftest.py for windows compatibility.
  • Address PermissionError raised by shutil.copy when the destination file is open in another thread. The copy is skipped and a warning is logged.
  • Fix some unit tests in test_vector.py and test_ecmwf.py for windows compatibility. There are still a few tests that fail on windows (unrelated to changes in this release) that will be fixed in v0.40.0.
  • Allow cachestore=None to skip caching in ERA5, HRES, and GFS interfaces. Previously a default DiskCacheStore was created even when cachestore=None. By default, caching is still enabled.

Internals

  • Clean up geo module docstrings.
  • Add Wikipedia reference for Azimuth.
  • Convert MetBase._load to from a class method to a function.