Skip to content

Releases: Rory-Sullivan/metno-locationforecast

v2.1.0

04 Dec 00:48
2c8d817
Compare
Choose a tag to compare

A minor release adding the ability to convert from millimetres to inches and fixing a minor bug.

Added

  • The ability to convert precipitation from millimetres to inches

Fixed

  • A minor bug in the Variable.convert_to method that would cause the incorrect error to be raised when trying to convert a unit that has no valid conversions.

v2.0.0

26 Nov 05:07
d9743e7
Compare
Choose a tag to compare

Major release. This release deprecates support for old versions of Python and improves the handling of timezones.

Deprecated

  • Support for Python versions 3.6, 3.7, and 3.8. The new minimum version supported is 3.9. This was done to take advantage of the zoneinfo module added in Python 3.9.

Updated

  • Minimum supported requests version updated to v2.25.1
  • Adds better support for timezones to the intervals_for and intervals between methods on the Data class.

v1.2.0

03 Jul 01:33
Compare
Choose a tag to compare

A minor release adding some functionality.

Added

  • Adds ability to convert wind speeds to Beaufort scale

v1.1.0

01 Jan 17:26
Compare
Choose a tag to compare

A minor release adding some functionality.

Added

  • Save location configuration now has support for home directory ('~/') and relative ('../') path notations, fixing #3
  • Updates requests dependency to be more permissive, fixing #5

v1.0.0

21 Aug 11:54
Compare
Choose a tag to compare

The first official release.

Added

  • Place class for storing location information
  • Forecast class for handling fetching, parsing, storing and caching of data
    • Update method for performing an all-encompassing update of data
    • Load method for loading data from a cached file
    • Save method for saving data
  • Data class for storing data
  • Interval class for storing data related to an interval
    • Methods for retrieving intervals for a given day and intervals between given
      times
  • Variable class for storing variables
    • Support equality and comparison operations provided units are the same
    • Method for converting units
  • Support for configuration to be stored in a configuration file (setup.cfg or
    .locationforecast)

v1.0.0 Beta 3

05 Aug 21:44
Compare
Choose a tag to compare
v1.0.0 Beta 3 Pre-release
Pre-release

Version 1 pre-release. If this release proves to be stable it will be released as the official version 1 release.

Added:

  • Proper type checking so that mypy can type check package when imported by a user
  • Equality methods for classes
  • Add and subtract methods for Variable class

v1.0.0 Beta 2

05 Aug 10:09
Compare
Choose a tag to compare
v1.0.0 Beta 2 Pre-release
Pre-release

Version 1 pre-release. If this release proves to be stable it will be released as the official version 1 release.

Changed:

  • Now using metno-locationforecast.ini file for configurations
  • Get specific interval methods moved to Data class

Fixed:

  • Type checking issues in Forecast class

v1.0.0 Beta 1

31 Jul 19:28
Compare
Choose a tag to compare
v1.0.0 Beta 1 Pre-release
Pre-release

Version 1 pre-release. If this release proves to be stable it will be released as the official version 1 release.