John Wiseman
bc3f3210d7
Filter out aircraft on the ground(!).
2020-05-11 16:51:46 -07:00
John Wiseman
919cbd7faa
Filter out ground positions.
2020-05-09 14:28:04 -07:00
John Wiseman
3e840690be
Added altitude to geojson.
2020-05-09 13:43:05 -07:00
John Wiseman
79e675b263
Accidentally left :headless? false for debugging.
2020-05-07 18:58:35 -07:00
John Wiseman
a46d8d9245
Fixed zoom.
2020-05-07 18:58:24 -07:00
John Wiseman
184cb14aa8
Added screenshot config, with zoom and layer selection.
2020-05-07 13:01:34 -07:00
John Wiseman
9d9e9ba59e
Added reverse geocode description fallback: name.
...
Previously the bot couldn't generate a description or tweet if the
centroid wasn't in a locality or localadmin. Now there's a "name"
fallback so it will always tweet if it can reverse geocode at all.
Typically this means you'll see something like "over Los Angeles
County".
2020-05-06 13:36:37 -07:00
John Wiseman
9ab7b0616f
Handle localadmin and log-prefix.
2020-05-05 17:52:11 -07:00
John Wiseman
b9c2e02ecb
More unitization.
2020-05-04 14:13:48 -07:00
John Wiseman
2e0ad025a9
We don't use vrs-settings.json anymore.
2020-05-04 07:39:16 -07:00
John Wiseman
cb4b2d149f
WIP.
2020-05-03 20:10:54 -07:00
John Wiseman
78dc03e970
Renaming circlebot -> advisorycircular.
2020-05-03 16:19:45 -07:00
John Wiseman
dd92df15f9
Renaming circlebot -> advisorycircular.
2020-05-03 16:18:10 -07:00
John Wiseman
de7c72b2f6
Renamed circlebot -> advisorycircular.
2020-05-03 15:29:42 -07:00
John Wiseman
579a180d51
Renaming circlebot -> advisorycircular.
2020-05-03 15:26:25 -07:00
John Wiseman
fcbb023a5e
FIxed altitude filtering.
...
(I forgot to store altitude in history, duh.)
2020-04-11 14:06:53 -07:00
John Wiseman
6246a9d3ab
Filter out positions that are too low.
...
Related to issue #25 .
2020-04-10 17:23:55 -07:00
John Wiseman
f1738938b8
Write recent and old track to geojson.
2020-04-05 14:10:36 -07:00
John Wiseman
4d95ee73c1
Call write-file with correct number of args.
2020-04-04 16:37:32 -07:00
John Wiseman
ac56fb0b61
Write geojson of each track.
2020-04-04 16:32:33 -07:00
John Wiseman
4573e421d5
Added 1 second delay before taking screenshot to let tiles load.
2020-03-05 11:58:04 -08:00
John Wiseman
2be3df79c4
Delete AdSense element from screenshot.
2020-03-04 13:51:30 -08:00
John Wiseman
e910eddc4a
Log tar1090 url.
2020-03-03 16:29:47 -08:00
John Wiseman
e06f82a73f
Headless!
2020-03-02 22:59:14 -08:00
John Wiseman
70474938ac
Fixed screenshots.
...
adsbexchange.com switched from VRS to tar1090 and broke the screenshot
code.
2020-03-02 22:26:35 -08:00
John Wiseman
567cf8a4f9
Added variable "paths" to templates, like {person.age}.
2020-02-05 21:24:33 -08:00
John Wiseman
0eb2a425f7
Fixed filter-landmarks tests.
2020-02-05 11:01:05 -08:00
John Wiseman
8e88b8771f
Fixed bug in template. Fixes #20 .
2020-02-04 17:35:08 -08:00
John Wiseman
fdbd345682
Added a default basestation.sqb path.
2020-02-03 16:37:38 -08:00
John Wiseman
eee2acbc5e
Fixed landmark handling.
2020-01-29 13:28:23 -08:00
John Wiseman
2ed77de13e
Removed unneeded debug logging.
2020-01-29 10:08:47 -08:00
John Wiseman
709b8b7d25
Added landmark blocklist. Fixes issue #8 .
2020-01-29 07:04:18 -08:00
John Wiseman
29f9030413
Show info if we can't generate a description.
2020-01-25 10:57:37 -08:00
John Wiseman
7037c04ba2
Fixed typo.
2020-01-22 11:32:29 -08:00
John Wiseman
704c856387
Fix for config validation.
2020-01-21 20:33:45 -08:00
John Wiseman
fe17c489d9
Validate config.
2020-01-21 20:29:18 -08:00
John Wiseman
ea0bb782dc
Quit on promise rejections.
2020-01-21 18:32:19 -08:00
John Wiseman
e5dc170ca5
Tweaks to config file handling.
...
If --config config.yaml wasn't specified, don't error out if
config.yaml doesn't exist.
2020-01-21 17:10:28 -08:00
John Wiseman
220067c980
Fixed :radius -> :radius-km.
2020-01-20 22:42:07 -08:00
John Wiseman
b22a403651
Fixed typo.
2020-01-20 21:45:13 -08:00
John Wiseman
4c230226bb
Don't die on an empty config.yaml.
2020-01-20 21:44:29 -08:00
John Wiseman
074f7c77c3
Now reads config.yaml.
...
Configuration now comes from config.yaml. Command line flags override
config.yaml values.
Added --config and --secrets to specify the path to config.yaml and
secrets.yaml.
2020-01-20 21:30:50 -08:00
John Wiseman
14c743e53d
Minor test tweaks.
2020-01-08 22:58:17 -08:00
John Wiseman
4daf50d9ce
Take a more granular approach to checking descriptions.
2020-01-07 15:29:27 -08:00
John Wiseman
4c2786ce56
Add link to tar1090.adsbexchange.com in tweets.
2020-01-07 15:22:06 -08:00
John Wiseman
041c07e782
Forgot to use the new SQB record.
2020-01-03 16:52:12 -08:00
John Wiseman
4183048c3c
Cleaning up use of SQB info.
2020-01-03 16:39:59 -08:00
John Wiseman
817e632326
Final fix? for issue #4 , use SQB for backup registration info.
2020-01-03 15:58:52 -08:00
John Wiseman
2099bac9bf
Fixed bug in attempt to use sqb registration info.
2020-01-01 21:08:57 -08:00
John Wiseman
61cc57fe4f
Use basestation.sqb for backup registration info.
2019-12-31 13:45:14 -08:00
John Wiseman
3c7d1c25f6
Fix generation bug: "...a MD-50..."
2019-12-28 22:26:47 -08:00
John Wiseman
516ec4bd24
Logging tweaks.
2019-12-28 22:26:38 -08:00
John Wiseman
24ab89d6a6
Back off twitter logging now that geotagging seems to work.
2019-12-21 12:17:58 -08:00
John Wiseman
9c17f86f53
Fix geo-taging.
2019-12-20 21:33:21 -08:00
John Wiseman
19ca5c4735
Geo-tag tweets.
2019-12-20 21:31:49 -08:00
John Wiseman
5e70b3233b
Less log spam.
2019-12-19 17:06:26 -08:00
John Wiseman
5228f02507
Fixed a/an generation for, for example, "Eurocopter".
2019-12-19 16:57:26 -08:00
John Wiseman
af40b86410
Less verbose logging of adbsx screenshot.
2019-12-19 13:54:17 -08:00
John Wiseman
062e963456
Fixed "a Airbus" problem (issue #7 ).
...
* Added generation filters, e.g. {var|a-an}
* Added an a-an filter.
* Used a-an filter in template.
2019-12-19 13:48:02 -08:00
John Wiseman
b93c2f71d4
Renamed --url to --adsbx-url, added --pelias-url. Config cleanup.
2019-12-18 14:14:55 -08:00
John Wiseman
0f9dddacee
Working toward varref psths in generation.
2019-12-18 09:21:51 -08:00
John Wiseman
8cc08d0ebc
Can now use basestation.sqb for aircraft type info.
2019-12-17 11:01:35 -08:00
John Wiseman
6d80d0e77c
Improved filtering when computing recent centroid.
2019-12-15 16:39:21 -08:00
John Wiseman
f7d1701054
Fixed landmark logging.
2019-12-14 17:16:36 -08:00
John Wiseman
7a6567af88
Distance reports now limited to 2 digits after the decimal point.
2019-12-14 14:20:54 -08:00
John Wiseman
9f859ee204
Fixed landmark distance units.
2019-12-14 14:01:16 -08:00
John Wiseman
bb89e13737
Increased refractory period from 20 minutes to 30 minutes.
2019-12-14 13:48:02 -08:00
John Wiseman
f9f689828b
Added --no-tweeing flag.
2019-12-14 10:20:42 -08:00
John Wiseman
7a5db5ab19
Re-enabled airport filter.
2019-12-14 02:39:06 -08:00
John Wiseman
e36e176f8e
Initial commit.
2019-12-13 23:50:19 -08:00