Metar

Latest version: v1.11.0

Safety actively analyzes 619071 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.11.0

This release adds a missing type hint and supports Python 3.12.

- [174](https://github.com/python-metar/python-metar/pull/174) Fix Type Hints.
- [176](https://github.com/python-metar/python-metar/pull/176) Python 3.12.

1.10.0

This release adds type hints and supports Python 3.11.

- [169](https://github.com/python-metar/python-metar/pull/169) Add Type Hints.

1.9.0

This release is mostly a maintanence release with one small API break that
was unused within this library.

- [110](https://github.com/python-metar/python-metar/issues/110) *API Break*,
Remove unused/broken position.getdistance API.
- [139](https://github.com/python-metar/python-metar/issues/139) Defaults wind
speed units to knots for sites with US identifiers and meters per second for
all others.
- [147](https://github.com/python-metar/python-metar/issues/147) Allow parsing
of METARs with wind and visibility after the sky condition group.
- [148](https://github.com/python-metar/python-metar/issues/148) Parse sea
level pressure (SLP) when found after the altimeter value.
- [24](https://github.com/python-metar/python-metar/issues/24) Fix parsing
of runway identifier in windshear group.
- [136](https://github.com/python-metar/python-metar/issues/136) Allow for
one digit temperatures.
- [156](https://github.com/python-metar/python-metar/issues/156) Rename
`master` branch to `main`.

1.8.0

------------------------------

This release is a bug fix and enhancement release with no known API breakages. The highlights include:

- [84](https://github.com/python-metar/python-metar/issues/84) handle METAR strings that end with `=`.
- [121](https://github.com/python-metar/python-metar/issues/121) allow METAR with `COR AUTO` to be parsed.
- [114](https://github.com/python-metar/python-metar/issues/114) parse METARs with multiple BECOMING groups.
- [107](https://github.com/python-metar/python-metar/issues/107) correct the default units for runway visual range.
- [26](https://github.com/python-metar/python-metar/issues/26) fix parsing of `////` in runway visual.

Unrelated to library improvements, numerous improvements to the build infrasture and code formatting were made.

1.7.0

-----------------------------

This release is a bug fix and enhancement release with no known API breakages. The highlights include:

- [77](https://github.com/python-metar/python-metar/issues/77) Support was added for I-group (ice accretion), see new `Metar` attributes `ice_accretion_1hr`, `ice_accretion_3hr`, and `ice_accretion_6hr`.
- [70](https://github.com/python-metar/python-metar/issues/70) Code tests were migrated to pytest.
- [64](https://github.com/python-metar/python-metar/issues/64) Cloud type `AC` is now supported.
- A number of pull requests were merged that improved the PEP8 and code style. The project's LICENSE was also clarifed as BSD.

1.6.0

----------------------------

The development of the `python-metar` library has been moved to a [Github Organization](https://github.com/python-metar) with the kind approval of Tom Pollard. A few volunteers including phobson and akrherz look to maintain this library doing forward. The best way to submit bug reports is through Github.

The 1.6.0 release is the first made by our new organization and signifies an effort to fix bugs and improve the API. Here are some of the highlights with this release.

- The `Metar` constructor now supports a `strict` parameter (see 51 and 36). When `strict=False`, the parsing of METARs will not raise exceptions for parsing failures nor unparsed groups.
- Python 3.6 is formally supported and actively tested against.
- `print` statements were replaced by standard library loggers.
- In the case of a METAR that contains sea-level pressure (SLP) and not altimeter, the METAR object attribute `press` is left unset. (see 38)
- METAR precipitation and snow reports can be of `Trace` value. (see 34)
- It is now possible to override some class attributes (see 37)
- Add support for METAR 4/ group (snow depth) (see 31)
- Add method to show recent weather as string (see 21)
- A few sundry code fixes, cleanups, and improvements to automated testing

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.