- When information about a runway is incomplete in a METAR, a
ParseErroris 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
WeatherConditiontokens with recent (RE) intensity.
WindandWindShearelements now supports 3 digits in gusts part
- Implementation of method
__repr__on class of modulemodel.
- Use
getlocale()instead ofgetdefaultlocale()
- Parsing of
TAFwith stations starting byFM.
- Parsing of token
0000KTno longer causes an error.
- Parsing of Runway does not fail if thickness and braking capacity are not in the enum.
- RunwayInfo properties
thicknessandbraking_capacitytype is changed to string. EnumsDepositThicknessandDepositBreakingCapacityare 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. TurbulenceandIcingelements are available inTAFandTAFTrendobjects. The new properties areturbulenceandicings.
- 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
flagsproperty toAbstractWeatherCode. This property is a set holding flags: AUTO, AMD, CNL, NIL and COR. Propertiesauto,amendment,nil,canceledandcorrectedare also available. - Added new translations.
- Parsing of visibility in miles having indication:
Pfor greater than andMfor less than.
- Added
WeatherChangeType.INTERfor TAFTrend. - Added methods to retrieve Taf trends by
WeatherChangeType: taf.becmgs, taf.fms, taf.inters, taf.probs and taf.tempos - Turkish translation
- Added
PrecipitationBegCommandandPrecipitationEndCommandin 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.cfgto 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
remarkandremarks. Theremarksproperty contains an element for each remark or token. Theremarkproperty 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