- When information about a runway is incomplete in a METAR, a
ParseError
is raised instead ofValueError
.
- Fix the calm wind regex to prevent parsing error with visibility.
- Fix single quotes in French translations.
- Support of Russian locale thanks to @a184ot
- Reformat object representation. Removed breaking lines in formatting.
- Parsing of
WeatherCondition
tokens with recent (RE
) intensity.
Wind
andWindShear
elements now supports 3 digits in gusts part
- Implementation of method
__repr__
on class of modulemodel
.
- Use
getlocale()
instead ofgetdefaultlocale()
- Parsing of
TAF
with stations starting byFM
.
- Parsing of token
0000KT
no longer causes an error.
- Parsing of Runway does not fail if thickness and braking capacity are not in the enum.
- RunwayInfo properties
thickness
andbraking_capacity
type is changed to string. EnumsDepositThickness
andDepositBreakingCapacity
are removed.
- Implement parsing of deposit on a Runway. Properties
indicator
,deposit_type
,coverage
,thickness
,braking_capacity
.
- Support for unknown height and unknown types in cloud elements. Clouds elements with
///
are no longer ignored. Turbulence
andIcing
elements are available inTAF
andTAFTrend
objects. The new properties areturbulence
andicings
.
- WeatherConditions are now added to the list only if the entire token was parsed. This prevents false positive matches.
- Phenomenons in WeatherConditions are now listed in the same order they appear in the token.
- Cloud regex matches the cloud type part only of the height is present. Tokens made of 6 letters do not match the regex anymore.
- Added
flags
property toAbstractWeatherCode
. This property is a set holding flags: AUTO, AMD, CNL, NIL and COR. Propertiesauto
,amendment
,nil
,canceled
andcorrected
are also available. - Added new translations.
- Parsing of visibility in miles having indication:
P
for greater than andM
for less than.
- Added
WeatherChangeType.INTER
for TAFTrend. - Added methods to retrieve Taf trends by
WeatherChangeType
: taf.becmgs, taf.fms, taf.inters, taf.probs and taf.tempos - Turkish translation
- Added
PrecipitationBegCommand
andPrecipitationEndCommand
in remark parsing.
- Parsing of remarks added Phenomenon.FC to the list of WeatherConditions when the remarks contained
FCST
- i18n support for simplified Chinese locale
- Completed remarks parsing
- i18n support for Italian locale
- Added packages source directory in
setup.cfg
to fix deployment.
-
i18n module to support English, French, German and Polish locales.
-
Remarks are now parsed and converted in a readable sentence. The value is stored in properties
remark
andremarks
. Theremarks
property contains an element for each remark or token. Theremark
property contains the whole decoded remarks in a sentence. -
Makefile and
pyproject.toml
. -
Coverage measurement.
- The packaging now uses setuptools and build modules instead of
setup.py
.
- Removed the regex search from the weatherCondition parsing. Replaced by a single string search.
- Added
^
(start of string) at the beginning of the wind regex.
- First version of the MetarParser and the TAFParser.
- Github actions to handle commits, release and