]> Pileus Git - aweather/commitdiff
Update San Juan site
authorAndy Spencer <andy753421@gmail.com>
Sun, 25 Sep 2011 19:39:29 +0000 (19:39 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 25 Sep 2011 19:39:29 +0000 (19:39 +0000)
src/aweather-location.c
src/plugins/radar.c

index 93ac8448713f99aca5a1497fd436d772f3f2a054..5b14a002c54fa4d4a2a55b811c1286217fa577d3 100644 (file)
@@ -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},
index d6bcd7bd4ba76101590840e1664a377f400ec49f..555534f9c9b9c3d528ec0a10f4cf8eba5139d599 100644 (file)
@@ -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");