Commit Graph

22 Commits

Author SHA1 Message Date
Jeremy Stanley
2288de8e20 Refresh correlation data
Update to the latest NWS ZoneCounty database, OurAirports database,
and active METAR stations and NWS forecast zones lists as of
2024-08-01.
2024-08-01 20:10:05 +00:00
Jeremy Stanley
cb9c9cf74b Include time zones in WX weather zone data
Some NWS products, such as forecasts and other alerts, have
expiration times marked relative to the issuing authority's local
time zone. In preparation for being able to calculate expirations
accurately relative to the user's local time, embed IANA TZDB
compliant identifiers in all WX weather zone definitions, translated
from their NWS time zone codes.

Correlation files are all updated because of amending overrides
accordingly.
2024-05-09 19:24:08 +00:00
Jeremy Stanley
68518f4631 Refresh correlation data
Switch to the 2023 US Census Bureau data, March 2024 NWS WX zones,
latest OurAirports open data set, refresh active forecast and
station lists, and clean up obsolete overrides. Regenerate all
correlation sets based on these updated sources.
2024-05-08 02:18:49 +00:00
Jeremy Stanley
4dab9400e7 Refresh correlation data
Clean up the overrides.conf a bit and regenerate correlations now
that the NWS has retired some WX weather zones. This addresses some
incorrect correlations to now dead forecasts in the Los Angeles
area (thanks to Chime Hart for reporting), as well as likely others.
2023-03-14 13:27:24 +00:00
Jeremy Stanley
6ac3deabd4 Prepare for 2.4.3 release
Switch to the 2022 US Census Bureau data, March 2023 NWS WX zones,
latest OurAirports open data set, and refreshed active forecast and
station lists. Regenerate all correlation sets based on these
updated sources.
2023-02-09 21:00:02 +00:00
Jeremy Stanley
22d32da112 Refresh correlation data
A new correlation data build, based on more recent active WX zones
(notably, the Los Angeles California area was re-zones earlier this
year).
2022-06-11 18:02:37 +00:00
Jeremy Stanley
257f9f9a0b Refresh correlation data and update copyright year
Just a basic correlation update based on more recent active METAR
station and WX zone lists. Also update the copyright year for files
which have been edited so far in 2021 as well as in the LICENSE
file.
2021-11-24 14:57:15 +00:00
Jeremy Stanley
d556621fea Refresh active station list and correlation data
Perform a fresh build of data sets from current sources, and add a
few additional overrides for previously unknown stations. Also
update from 2019 to 2021 US Census data, from March 2020 to
September 2021 CountyZone maps, and from 2020-08-29 to 2021-08-29
airport IDs and active METAR stations/WX zones.
2021-08-29 17:57:19 +00:00
Jeremy Stanley
4b17a82e15 Refresh correlation data
Another data refresh, preparing for an upcoming release.
2020-08-30 18:07:36 +00:00
Jeremy Stanley
16188d7157 Update correlation data
Normalize the overrides, remove some stale overrides for defunct
stations, and regenerate the correlation data set.
2020-08-01 19:21:12 +00:00
Jeremy Stanley
230ad93b11 Refresh active station list and correlation data
Perform a fresh build of data sets from current sources, and add a
few additional overrides for previously unknown stations.
2020-07-26 19:10:14 +00:00
Jeremy Stanley
0a4712f9a8 Be more thorough about file copyrights
Add a copyright header to the .gitignore file with start and end
years determined from its commit history. Add copyright headers for
the current year to overrides.log and qa.log, and also add
functionality to correlate() which adds these headers from now on.
Update the copyright year on overrides.conf, which was missed in
8a37edd and later commits. All files tracked in this repository now
declare a copyright and refer to the main LICENSE file for licensing
terms.
2020-06-21 13:46:39 +00:00
Jeremy Stanley
fd4b0ae5b2 Add weather zone hkz000 for Hong Kong Observatory
Thanks to Bill Agee for suggesting the Hong Kong Observatory's
weather forecast page. A custom filter is implemented to strip the
forecast text from the HTML page in which it is embedded (if anyone
finds a plaintext version published at an alternate URL, let me know
and I'll rip out the extra routine).
2020-05-31 00:16:07 +00:00
Jeremy Stanley
8e0d7c6e1a Add some fresh overrides
Override a number of active weather stations where searches of
various online sites return names and locations for them which are
not provided by the included sources.
2020-05-24 19:18:35 +00:00
Jeremy Stanley
8a37eddc06 Update correlation sources
Remove the stale metar.tbl and zonecatalog.curr.tar, which the USA
NWS hasn't been updating for many years, and add the public domain
airports.csv file from the amazing ourairports.com community. Also
update to latest (2019) USA Census Bureau location data, March 2020
WX zone information, cooperative sites list from 2018 (latest), and
regenerated active station and zone lists. Loss of the zonecatalog
necessitates directly applying various forecast and alert URL
patterns, though some which appeared unused by NWS for many years
were not included.

Clear out all old overrides, since the vast majority are obsoleted
by refreshed data, and build fresh correlation sets from the above
sources. Basically all sites have switched from HTTP to HTTPS, so
update URLs for this too.
2020-05-24 16:27:58 +00:00
Jeremy Stanley
840b91b4fd Correlation set update
* overrides.conf: Latest source data corrections from
script-assisted research.

These remaining files are generated data. Normally they're not
something I feel good about committing into version control, but in
this case it allows for logging and tracking deltas in the data over
time...

* airports: Removed 18 airports corresponding to nonexistent
stations.

* stations: Removed 326 stations with no recent conditions, added
429.

* zones: Removed 45 zones with no recent forecasts, added 104.

* places, zctas: Based on latest Census Bureau data corrections,
updated with new correlations.

* overrides.log: Record of correlation set build.

* slist, zlist: State of active stations and weather zones at the
time of generation.
2016-10-05 01:17:14 +00:00
Jeremy Stanley
e35fbc4d60 Update NOAA WX weather products URLs
Per http://www.wxforum.net/index.php?topic=29502.0 the old
http://weather.noaa.gov/pub site was deprecated and as of August 23
is no longer in service. Update the software and current dataset to
use working http://tgftp.nws.noaa.gov URLs instead.
2016-08-24 22:56:37 +00:00
Jeremy Stanley
92a0869395 Correlation set update
* overrides.conf: Latest source data corrections from
script-assisted research.

These remaining files are generated data. Normally they're not
something I feel good about committing into version control, but in
this case it allows for logging and tracking deltas in the data over
time...

* airports: Removed 527 airports corresponding to nonexistent
stations.

* stations: Removed 176 stations with no recent conditions, added
196.

* zones: Removed 5 zones with no recent forecasts.

* places, zctas: Based on latest Census Bureau data corrections,
updated with new correlations.

* overrides.log: Record of correlation set build.

* slist, zlist: State of active stations and weather zones at the
time of generation.
2014-11-10 22:15:35 +00:00
Jeremy Stanley
676e13b0be Correlation set update
* overrides.conf: Latest source data corrections from
script-assisted research.

These remaining files are generated data. Normally they're not
something I feel good about committing into version control, but in
this case it allows for logging and tracking deltas in the data over
time...

* airports: Removed 42 airports corresponding to nonexistent
stations, added 8.

* stations: Removed 303 stations with no recent conditions, added
403.

* zones: Removed 15 zones with no recent forecasts, added 13.

* places, zctas: Based on latest Census Bureau data corrections,
updated with new correlations.

* overrides.log: Record of correlation set build.

* slist, zlist: State of active stations and weather zones at the
time of generation.
2014-02-13 01:57:20 +00:00
Jeremy Stanley
185b9eb660 Normalize data override configuration.
* overrides.conf: The data override configuration is now grouped and
alphabetized, so that it can have future updates more easily integrated.
No entries are added or removed in this change.
2012-09-19 01:33:09 +00:00
Jeremy Stanley
f48348794a Rework data override configuration comments.
* overrides.conf: The data override configuration got very large and
unwieldy. In an effort to be able to normalize the content
programmatically, code comments have been replaced by comment
configuration options for each section.
2012-09-19 01:04:34 +00:00
Jeremy Stanley
93f58b4538 Imported from archive.
* Release 2.0: Heavy rewrite with too many new features to enumerate
here in the ChangeLog file.

* NEWS: List of important changes since 1.x releases.

* weather, weather.py: Implemented support for Python 3000 as
requested by ptchinster on behalf of Arch Linux, conditions/forecast
searches by latitude/longitude requested by Brandt Daniels, support
for newer NOAA forecasts pointed out by Darryl Mouck and Richard
Dooling, custom URIs requested by Michel Pelzer, international
weather stations requested by Milton Hubsher, and fixed a metric
conversion issue with negative values reported by Jochen Keil,
Michiel Appelman and Stefan Metzlaff. Thanks to everyone for your
input and assistance!
2012-06-26 00:48:37 +00:00