Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 Change Log
2 ==========
3
4 metar-2.0.1 (20 March 2026)
5
6 Over the years, this package has gone by the name `metar` and `python-metar`. We are
7 settling on `metar` going forward, which matches the most recent pypi and conda-forge
8 coordinates.
9
10 - [#201](https://github.com/python-metar/python-metar/pull/201) Use SCM to define project version
11
12 metar-2.0.0 (18 March 2026)
13
14 This release rolls up fixes and updates made by the community. The version number
15 is bumped to 2.0.0 due to the dropping of `utcdelta` with the `Metar` constructor.
16
17
18 - [#178](https://github.com/python-metar/python-metar/pull/178) Support No Significant Weather NSW
19 - [#187](https://github.com/python-metar/python-metar/pull/187) Fixup pyproject.toml
20 - [#189](https://github.com/python-metar/python-metar/pull/189) Update README with install/testing steps
21 - [#190](https://github.com/python-metar/python-metar/pull/190) Update noaa.gov URLs used.
22 - [#191](https://github.com/python-metar/python-metar/pull/191) Remove unused utcdelta in `Metar` constructor.
23 - [#195](https://github.com/python-metar/python-metar/pull/195) Support Python 3.10 through 3.14.
24 - [#197](https://github.com/python-metar/python-metar/pull/197) Display pressure as hPa.
25
26 metar-1.11.0 (5 July 2023)
27
28 This release adds a missing type hint and supports Python 3.12.
29
30 - [#174](https://github.com/python-metar/python-metar/pull/174) Fix Type Hints.
31 - [#176](https://github.com/python-metar/python-metar/pull/176) Python 3.12.
32
33 metar-1.10.0 (18 May 2023)
34
35 This release adds type hints and supports Python 3.11.
36
37 - [#169](https://github.com/python-metar/python-metar/pull/169) Add Type Hints.
38
39 metar-1.9.0 (2 January 2022)
40
41 This release is mostly a maintanence release with one small API break that
42 was unused within this library.
43
44 - [#110](https://github.com/python-metar/python-metar/issues/110) *API Break*,
45 Remove unused/broken position.getdistance API.
46 - [#139](https://github.com/python-metar/python-metar/issues/139) Defaults wind
47 speed units to knots for sites with US identifiers and meters per second for
48 all others.
49 - [#147](https://github.com/python-metar/python-metar/issues/147) Allow parsing
50 of METARs with wind and visibility after the sky condition group.
51 - [#148](https://github.com/python-metar/python-metar/issues/148) Parse sea
52 level pressure (SLP) when found after the altimeter value.
53 - [#24](https://github.com/python-metar/python-metar/issues/24) Fix parsing
54 of runway identifier in windshear group.
55 - [#136](https://github.com/python-metar/python-metar/issues/136) Allow for
56 one digit temperatures.
57 - [#156](https://github.com/python-metar/python-metar/issues/156) Rename
58 `master` branch to `main`.
59
60 metar-1.8.0 (28 December 2020)
61 ------------------------------
62
63 This release is a bug fix and enhancement release with no known API breakages. The highlights include:
64
65 - [#84](https://github.com/python-metar/python-metar/issues/84) handle METAR strings that end with `=`.
66 - [#121](https://github.com/python-metar/python-metar/issues/121) allow METAR with `COR AUTO` to be parsed.
67 - [#114](https://github.com/python-metar/python-metar/issues/114) parse METARs with multiple BECOMING groups.
68 - [#107](https://github.com/python-metar/python-metar/issues/107) correct the default units for runway visual range.
69 - [#26](https://github.com/python-metar/python-metar/issues/26) fix parsing of `////` in runway visual.
70
71 Unrelated to library improvements, numerous improvements to the build infrasture and code formatting were made.
72
73 metar-1.7.0 (15 January 2019)
74 -----------------------------
75
76 This release is a bug fix and enhancement release with no known API breakages. The highlights include:
77
78 - [#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`.
79 - [#70](https://github.com/python-metar/python-metar/issues/70) Code tests were migrated to pytest.
80 - [#64](https://github.com/python-metar/python-metar/issues/64) Cloud type `AC` is now supported.
81 - A number of pull requests were merged that improved the PEP8 and code style. The project's LICENSE was also clarifed as BSD.
82
83
84 metar-1.6.0 (20 August 2018)
85 ----------------------------
86
87 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.
88
89 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.
90
91 - 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.
92 - Python 3.6 is formally supported and actively tested against.
93 - `print` statements were replaced by standard library loggers.
94 - 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)
95 - METAR precipitation and snow reports can be of `Trace` value. (see #34)
96 - It is now possible to override some class attributes (see #37)
97 - Add support for METAR 4/ group (snow depth) (see #31)
98 - Add method to show recent weather as string (see #21)
99 - A few sundry code fixes, cleanups, and improvements to automated testing
100
101
102 metar-1.5 (18 December 2017)
103 ---------------------------
104
105 Python-metar v1.5 includes updated documentation and a few minor bug fixes.
106 The old sourceforge site is no longer being updated, and so the only authoritative
107 source repository is the GitHub repo. To clone the project from there, use
108
109 git clone https://github.com/python-metar/python-metar.git
110
111
112
113 metar-1.4 (2 May 2009)
114 ---------------------------
115 Python-metar v1.4 incorporates a handful of bug fixes and enhancements
116 made over the last couple of years. Notably, Toby White contributed code to
117 let the parser recognize and ignore trend forecasts and runway-state groups.
118
119 Starting with this release, new releases will be made available through my
120 sourceforge project, at http://python-metar.sourceforge.net/. I've also
121 converted my code repository from CVS to Git, and made public copies of the
122 Git repository available on Sourceforge and on Github. To clone the
123 repository, you can use either
124
125 git clone git://python-metar.git.sourceforge.net/gitroot/python-metar
126 or
127 git clone git://github.com/tomp/python-metar.git
128
129
130 - Merged Toby White's changes for parsing (and ignoring) runway state groups
131 and trend forecasts. (Thanks!)
132
133 - Report the peak wind and wind shift times, if included in the remarks.
134 (Requested by Daryl Herzmann.)
135
136 - Changed the date-handling code to avoid automatic month/year adjustment
137 if the month or year are specified explicitly.
138 (Thanks to Scott McKuen for reporting this.)
139
140 - Only allow single-digit numerator in fractional visibility values, to avoid
141 confusion with following temp/dewpt group.
142 (Reported by Franco Fiorese, Francesco Spada, and David Gregory.)
143
144 - Fixed the misuse of str() function and string() methods in a couple of spots.
145 (Reported by David Gregory and others.)
146
147 - Added tests for the visibility, trend, and runway state parsers.
148
149 - Added tests to verify that automatic month/year adjustment of the observation
150 date were being done correctly.
151
152 - Updated links to METAR resources in the README
153
154
155 metar 1.3 (1 August 2006)
156 ---------
157
158 - The datatype classes now have __str__ methods, so you can user the
159 generic str() function to get their string representation.
160
161 - 'MMM' is now accepted to represent missing data in the wind group.
162
163 - Fixed bugs in the handling of wind observations reported in KMH and MPH.
164 (Thanks to Erik Bryer for reporting the MPH problem.)
165
166 - '/' placeholders for missing data in the weather group are handled better now.
167
168 - Added tests for KMH and MPH conversions to the test_speed.py script.
169
170 - Added tests for wind-group parsing to the test_metar.py script.
171
172 - Accept "11/2" as equivalent to "1 1/2" in the visibility group.
173
174 - Fixed a bug that prevented the error handler in get_report.py from reporting
175 the error message :-) (Thanks to Erik Bryer for reporting this.)
176
177
178 metar 1.2 (6 February 2005)
179 ---------
180
181 - Save the 1-, 3-, 6- and 24-hr preciptation values as Metar attributes.
182
183 - Save the 6- and 24-hour max and min temperatures as Metar attributes.
184
185 - Save the peak wind speed and direction as Metar attributes.
186
187 - Save the sea-level pressure as a Metar attribute. The sea-level
188 pressure is treated as the station pressure, as well, if no station
189 pressure is otherwise reported.
190
191 - Added a peak_wind() method, to report peak wind data.
192
193 - 'QNH' and 'SLP' pressure groups are now accepted. 'INS' at the end of
194 a pressure group is recognized, as well.
195
196 - A group of four digits is accepted as a pressure group, now.
197
198 - Present-weather and cloud-cover lines are only written in the textual
199 output if observations of those phenomena were reported.
200
201 - The character 'O' is treated as a zero in the cloud-height, visibility
202 and wind fields.
203
204 - 'CORR' (in the modification field) is interpretted as 'COR'
205
206 - 'NIL' and 'FINO' (in the modification field) are interpretted as 'NO DATA'
207
208 - 'K', 'T' and 'LT' are all interpretted as 'KT'.
209
210 - 'SCK' is interpretted as 'SKC'
211
212 - 'MM' is now accepted as a placeholder in the 'temp' and 'dewpoint' groups.
213
214 - An 'integrity' field ('+' or-) has been created.
215
216 - 'RVRNO' groups are ignored, now.
217
218 - '0VC' is treated as 'OVC'.
219
220 - A pressure group consisting of just four digits with no leading 'A' or
221 'Q' is accepted now. The units are assumed to be inches if the value
222 is greater than 2500.
223
224 - An 'O' in a cloud height field is treated as a '0'.
225
226 - Modified to handle "MIFZFG".
227
228 - Moved regexp matching out of the _parse* methods and into the `__init__`
229 method. This lets me avoid unnecessary method calls and removes a bunch
230 of previously duplicated code. It gives a 10-15% speedup. The ability to
231 ignore trend groups has been temporarily lost as a result of this change.
232
233 - The date parsing code will assume we're in the previous month if the day
234 is greater than today's date.
235
236 - Rearranged the VISIBILITY_RE regexp to fix a parsing bug, which had
237 caused "1 1/2SM" to be parsed as two groups.
238
239 - Modified SKY_RE regexp to accept two to four digits in the cloud height,
240 and to treat 'O' as '0', if found in the height.
241
242 - Fixed a bug (a typo) in the vertical visibility handling code. This was
243 reported by Joseph Sheedy.
244
245 - Fixed a bug in reporting maximum visibility when there was no direction
246 for the maximum visibility.
247
248 - Changed the way the visibility group was parsed to allow better
249 handling of units. '9999U' and '7000M' are now accepted.
250
251 - Added support for sky group of the form '///030///', indicating cloud
252 height without coverage or type info.
253
254 - Support "KTS" as an alternative to "KT".
255 - Support "XX" as a placeholder for a missing temperature or dewpoint.
256 (These are violations of the spec, but are sometimes used, anyway.)
257
258 metar 1.1 (28 January 2005)
259 ---------
260
261 No notes available for this release.
262
263 metar 1.0 (16 August 2004)
264 ---------
265
266 No notes available for this release.