From e8392701f15e8367dc621b3faa42e6a6b4a6de2b Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sun, 25 Sep 2011 19:39:29 +0000 Subject: [PATCH] Update San Juan site --- src/aweather-location.c | 2 +- src/plugins/radar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aweather-location.c b/src/aweather-location.c index 93ac844..5b14a00 100644 --- a/src/aweather-location.c +++ b/src/aweather-location.c @@ -218,7 +218,7 @@ city_t cities[] = { {LOCATION_STATE, NULL, "Puerta Rico", {0, 0, 0}, 0.0}, {LOCATION_NOP, "KJUA", "Cayey", {18.1, -66.07, 0}, 0.1}, - {LOCATION_CITY, "TJUA", "San Juan", {18.12, -66.08, 0}, 0.3}, + {LOCATION_CITY, "TJUA", "San Juan", {18.12, -66.08, 0}, 0.8}, {LOCATION_STATE, NULL, "South Carolina", {0, 0, 0}, 0.0}, {LOCATION_CITY, "KCAE", "Columbia", {33.948, -81.1183, 0}, 0.5}, diff --git a/src/plugins/radar.c b/src/plugins/radar.c index d6bcd7b..555534f 100644 --- a/src/plugins/radar.c +++ b/src/plugins/radar.c @@ -141,7 +141,7 @@ gpointer _site_update_thread(gpointer _site) gchar *dir_list = g_strconcat(nexrad_url, "/", site->city->code, "/", "dir.list", NULL); GList *files = grits_http_available(site->http, - "^K\\w{3}_\\d{8}_\\d{4}$", site->city->code, + "^\\w{4}_\\d{8}_\\d{4}$", site->city->code, "\\d+ (.*)", (offline ? NULL : dir_list)); g_free(dir_list); gchar *nearest = _find_nearest(site->time, files, 5, "%Y%m%d_%H%M"); -- 2.43.2