Releases: Rory-Sullivan/metno-locationforecast
Releases · Rory-Sullivan/metno-locationforecast
v2.1.0
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
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
andintervals between
methods on theData
class.
v1.2.0
A minor release adding some functionality.
Added
- Adds ability to convert wind speeds to Beaufort scale
v1.1.0
v1.0.0
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
- Methods for retrieving intervals for a given day and intervals between given
- 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
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
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
Version 1 pre-release. If this release proves to be stable it will be released as the official version 1 release.