diff --git a/ndbc_api/api/parsers/http/_base.py b/ndbc_api/api/parsers/http/_base.py index 22b843d..0cce406 100644 --- a/ndbc_api/api/parsers/http/_base.py +++ b/ndbc_api/api/parsers/http/_base.py @@ -11,7 +11,7 @@ class BaseParser: HEADER_PREFIX = '#' NAN_VALUES = ['MM'] DATE_PARSER = '%Y %m %d %H %M' - PARSE_DATES = ['YY', 'MM', 'DD', 'hh', 'mm'] + PARSE_DATES = [0, 1, 2, 3, 4] INDEX_COL = False REVERT_COL_NAMES = [] @@ -43,7 +43,7 @@ def _read_response(cls, response: dict, if not data: return pd.DataFrame() # check that parsed names match parsed values or revert - if len([v.strip() for v in data[0].split(' ') if v]) != len(names): + if len([v.strip() for v in data[0].strip('\n').split(' ') if v]) != len(names): names = cls.REVERT_COL_NAMES if '(' in data[0]: data = cls._clean_data(data) @@ -67,6 +67,7 @@ def _read_response(cls, response: dict, df.index.name = 'timestamp' except (NotImplementedError, TypeError, ValueError) as e: + print(e) return pd.DataFrame() # check whether to parse dates diff --git a/notebooks/overview.ipynb b/notebooks/overview.ipynb index 6f27204..5d5aa9d 100644 --- a/notebooks/overview.ipynb +++ b/notebooks/overview.ipynb @@ -222,7 +222,7 @@ " Prediction and Research Moored Array in the At...\n", " International Partners\n", " buoy\n", - " False\n", + " True\n", " False\n", " False\n", " False\n", @@ -243,7 +243,7 @@ " ...\n", " \n", " \n", - " 1343\n", + " 1338\n", " yata2\n", " 59.548\n", " -139.733\n", @@ -258,7 +258,7 @@ " False\n", " \n", " \n", - " 1344\n", + " 1339\n", " ygnn6\n", " 43.262\n", " -79.064\n", @@ -273,7 +273,7 @@ " False\n", " \n", " \n", - " 1345\n", + " 1340\n", " yktv2\n", " 37.227\n", " -76.479\n", @@ -288,7 +288,7 @@ " False\n", " \n", " \n", - " 1346\n", + " 1341\n", " yrsv2\n", " 37.414\n", " -76.712\n", @@ -303,7 +303,7 @@ " False\n", " \n", " \n", - " 1347\n", + " 1342\n", " zbqn7\n", " 33.955\n", " -77.935\n", @@ -319,7 +319,7 @@ " \n", " \n", "\n", - "

1348 rows × 12 columns

\n", + "

1343 rows × 12 columns

\n", "" ], "text/plain": [ @@ -330,11 +330,11 @@ "3 13008 15.000 -38.000 0.0 \n", "4 13009 8.000 -38.000 0.0 \n", "... ... ... ... ... \n", - "1343 yata2 59.548 -139.733 \n", - "1344 ygnn6 43.262 -79.064 73.0 \n", - "1345 yktv2 37.227 -76.479 3.7 \n", - "1346 yrsv2 37.414 -76.712 11.0 \n", - "1347 zbqn7 33.955 -77.935 \n", + "1338 yata2 59.548 -139.733 \n", + "1339 ygnn6 43.262 -79.064 73.0 \n", + "1340 yktv2 37.227 -76.479 3.7 \n", + "1341 yrsv2 37.414 -76.712 11.0 \n", + "1342 zbqn7 33.955 -77.935 \n", "\n", " Name \\\n", "0 Sturgeon Bay CG Station, WI \n", @@ -343,11 +343,11 @@ "3 Reggae \n", "4 Lambada \n", "... ... \n", - "1343 9453220 - Yakutat, Yakutat Bay, AK \n", - "1344 Niagara Coast Guard Station, NY \n", - "1345 8637689 - Yorktown USCG Training Center, VA \n", - "1346 Taskinas Creek, Chesapeake Bay Reserve, VA \n", - "1347 Zeke's Basin, North Carolina \n", + "1338 9453220 - Yakutat, Yakutat Bay, AK \n", + "1339 Niagara Coast Guard Station, NY \n", + "1340 8637689 - Yorktown USCG Training Center, VA \n", + "1341 Taskinas Creek, Chesapeake Bay Reserve, VA \n", + "1342 Zeke's Basin, North Carolina \n", "\n", " Owner \\\n", "0 U.S.C.G. Marine Reporting Stations \n", @@ -356,24 +356,24 @@ "3 Prediction and Research Moored Array in the At... \n", "4 Prediction and Research Moored Array in the At... \n", "... ... \n", - "1343 NOS \n", - "1344 NWS Eastern Region \n", - "1345 NOS \n", - "1346 National Estuarine Research Reserve System \n", - "1347 National Estuarine Research Reserve System \n", + "1338 NOS \n", + "1339 NWS Eastern Region \n", + "1340 NOS \n", + "1341 National Estuarine Research Reserve System \n", + "1342 National Estuarine Research Reserve System \n", "\n", " Program Type Includes Meteorology Includes Currents \\\n", "0 IOOS Partners fixed False False \n", "1 International Partners buoy True False \n", "2 International Partners buoy True False \n", "3 International Partners buoy True False \n", - "4 International Partners buoy False False \n", + "4 International Partners buoy True False \n", "... ... ... ... ... \n", - "1343 NOS/CO-OPS fixed True False \n", - "1344 IOOS Partners fixed True False \n", - "1345 NOS/CO-OPS fixed True False \n", - "1346 NERRS fixed True False \n", - "1347 NERRS fixed False False \n", + "1338 NOS/CO-OPS fixed True False \n", + "1339 IOOS Partners fixed True False \n", + "1340 NOS/CO-OPS fixed True False \n", + "1341 NERRS fixed True False \n", + "1342 NERRS fixed False False \n", "\n", " Includes Water Quality DART Program \n", "0 False False \n", @@ -382,13 +382,13 @@ "3 False False \n", "4 False False \n", "... ... ... \n", - "1343 False False \n", - "1344 False False \n", - "1345 False False \n", - "1346 False False \n", - "1347 False False \n", + "1338 False False \n", + "1339 False False \n", + "1340 False False \n", + "1341 False False \n", + "1342 False False \n", "\n", - "[1348 rows x 12 columns]" + "[1343 rows x 12 columns]" ] }, "execution_count": 5, @@ -563,7 +563,7 @@ " \n", " \n", " \n", - " 1283\n", + " 1278\n", " tplm2\n", " 38.899\n", " -76.436\n", @@ -589,13 +589,13 @@ " IOOS Partners\n", " buoy\n", " True\n", - " True\n", - " True\n", + " False\n", + " False\n", " False\n", " 9.369909\n", " \n", " \n", - " 625\n", + " 622\n", " apam2\n", " 38.983\n", " -76.479\n", @@ -611,7 +611,7 @@ " 12.225590\n", " \n", " \n", - " 733\n", + " 729\n", " cpvm2\n", " 38.995\n", " -76.388\n", @@ -627,7 +627,7 @@ " 13.307985\n", " \n", " \n", - " 681\n", + " 678\n", " bslm2\n", " 38.781\n", " -76.708\n", @@ -659,7 +659,7 @@ " ...\n", " \n", " \n", - " 697\n", + " 693\n", " cblo1\n", " 41.981\n", " -80.556\n", @@ -707,7 +707,7 @@ " 497.152323\n", " \n", " \n", - " 1183\n", + " 1178\n", " rprn6\n", " 43.263\n", " -77.598\n", @@ -723,7 +723,7 @@ " 497.635930\n", " \n", " \n", - " 1172\n", + " 1167\n", " rcrn6\n", " 43.269\n", " -77.626\n", @@ -740,76 +740,76 @@ " \n", " \n", "\n", - "

128 rows × 13 columns

\n", + "

126 rows × 13 columns

\n", "" ], "text/plain": [ " Station Lat Lon Elevation \\\n", - "1283 tplm2 38.899 -76.436 0.0 \n", + "1278 tplm2 38.899 -76.436 0.0 \n", "213 44063 38.963 -76.448 0.0 \n", - "625 apam2 38.983 -76.479 1.4 \n", - "733 cpvm2 38.995 -76.388 3.4 \n", - "681 bslm2 38.781 -76.708 0.3 \n", + "622 apam2 38.983 -76.479 1.4 \n", + "729 cpvm2 38.995 -76.388 3.4 \n", + "678 bslm2 38.781 -76.708 0.3 \n", "... ... ... ... ... \n", - "697 cblo1 41.981 -80.556 177.0 \n", + "693 cblo1 41.981 -80.556 177.0 \n", "270 45142 42.740 -79.290 174.0 \n", "239 44402 39.295 -70.700 0.0 \n", - "1183 rprn6 43.263 -77.598 75.0 \n", - "1172 rcrn6 43.269 -77.626 76.7 \n", + "1178 rprn6 43.263 -77.598 75.0 \n", + "1167 rcrn6 43.269 -77.626 76.7 \n", "\n", " Name \\\n", - "1283 Thomas Point, MD \n", + "1278 Thomas Point, MD \n", "213 Annapolis, MD \n", - "625 8575512 - Annapolis, MD \n", - "733 8575437 - Chesapeake Bay Bridge Visibility, MD \n", - "681 Jug Bay, Chesapeake Bay Reserve, MD \n", + "622 8575512 - Annapolis, MD \n", + "729 8575437 - Chesapeake Bay Bridge Visibility, MD \n", + "678 Jug Bay, Chesapeake Bay Reserve, MD \n", "... ... \n", - "697 Conneaut Breakwater Light, OH \n", + "693 Conneaut Breakwater Light, OH \n", "270 Port Colborne \n", "239 SOUTHEAST BLOCK CANYON - 130 NM SE of Fire Isl... \n", - "1183 Rochester Coast Guard, NY \n", - "1172 9052058 - Rochester, NY \n", + "1178 Rochester Coast Guard, NY \n", + "1167 9052058 - Rochester, NY \n", "\n", " Owner \\\n", - "1283 NDBC \n", + "1278 NDBC \n", "213 Chesapeake Bay Interpretive Buoy System (CBIBS) \n", - "625 NOS \n", - "733 NOAA NOS PORTS \n", - "681 National Estuarine Research Reserve System \n", + "622 NOS \n", + "729 NOAA NOS PORTS \n", + "678 National Estuarine Research Reserve System \n", "... ... \n", - "697 NWS Eastern Region \n", + "693 NWS Eastern Region \n", "270 Environment and Climate Change Canada \n", "239 NDBC \n", - "1183 NWS Eastern Region \n", - "1172 NOS \n", + "1178 NWS Eastern Region \n", + "1167 NOS \n", "\n", " Program Type Includes Meteorology \\\n", - "1283 NDBC Meteorological/Ocean fixed True \n", + "1278 NDBC Meteorological/Ocean fixed True \n", "213 IOOS Partners buoy True \n", - "625 NOS/CO-OPS fixed True \n", - "733 NOS/CO-OPS fixed True \n", - "681 NERRS fixed True \n", + "622 NOS/CO-OPS fixed True \n", + "729 NOS/CO-OPS fixed True \n", + "678 NERRS fixed True \n", "... ... ... ... \n", - "697 IOOS Partners fixed True \n", + "693 IOOS Partners fixed True \n", "270 International Partners buoy True \n", "239 Tsunami dart False \n", - "1183 IOOS Partners fixed True \n", - "1172 NOS/CO-OPS fixed True \n", + "1178 IOOS Partners fixed True \n", + "1167 NOS/CO-OPS fixed True \n", "\n", " Includes Currents Includes Water Quality DART Program distance \n", - "1283 False False False 2.177979 \n", - "213 True True False 9.369909 \n", - "625 False False False 12.225590 \n", - "733 False False False 13.307985 \n", - "681 False False False 26.506690 \n", + "1278 False False False 2.177979 \n", + "213 False False False 9.369909 \n", + "622 False False False 12.225590 \n", + "729 False False False 13.307985 \n", + "678 False False False 26.506690 \n", "... ... ... ... ... \n", - "697 False False False 491.192873 \n", + "693 False False False 491.192873 \n", "270 False False False 492.561301 \n", "239 False False True 497.152323 \n", - "1183 False False False 497.635930 \n", - "1172 False False False 498.756609 \n", + "1178 False False False 497.635930 \n", + "1167 False False False 498.756609 \n", "\n", - "[128 rows x 13 columns]" + "[126 rows x 13 columns]" ] }, "execution_count": 9, @@ -1179,7 +1179,8 @@ " 'Apr 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm242024.txt.gz&dir=data/stdmet/Apr/',\n", " 'May 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm252024.txt.gz&dir=data/stdmet/May/',\n", " 'Jun 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm262024.txt.gz&dir=data/stdmet/Jun/',\n", - " 'Jul 2024': 'https://www.ndbc.noaa.gov/data/stdmet/Jul/tplm2.txt',\n", + " 'Jul 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm272024.txt.gz&dir=data/stdmet/Jul/',\n", + " 'Aug 2024': 'https://www.ndbc.noaa.gov/data/stdmet/Aug/tplm2.txt',\n", " '1985': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2h1985.txt.gz&dir=data/historical/stdmet/',\n", " '1986': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2h1986.txt.gz&dir=data/historical/stdmet/',\n", " '1987': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2h1987.txt.gz&dir=data/historical/stdmet/',\n", @@ -1225,7 +1226,8 @@ " 'Apr 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm242024.txt.gz&dir=data/cwind/Apr/',\n", " 'May 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm252024.txt.gz&dir=data/cwind/May/',\n", " 'Jun 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm262024.txt.gz&dir=data/cwind/Jun/',\n", - " 'Jul 2024': 'https://www.ndbc.noaa.gov/data/cwind/Jul/tplm2.txt',\n", + " 'Jul 2024': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm272024.txt.gz&dir=data/cwind/Jul/',\n", + " 'Aug 2024': 'https://www.ndbc.noaa.gov/data/cwind/Aug/tplm2.txt',\n", " '1990': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2c1990.txt.gz&dir=data/historical/cwind/',\n", " '1991': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2c1991.txt.gz&dir=data/historical/cwind/',\n", " '1992': 'https://www.ndbc.noaa.gov/download_data.php?filename=tplm2c1992.txt.gz&dir=data/historical/cwind/',\n", @@ -1309,9 +1311,9 @@ " May 2024\n", " Jun 2024\n", " Jul 2024\n", + " Aug 2024\n", " 1985\n", " 1986\n", - " 1987\n", " ...\n", " 2014\n", " 2015\n", @@ -1334,8 +1336,8 @@ " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", - " https://www.ndbc.noaa.gov/data/stdmet/Jul/tplm...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", + " https://www.ndbc.noaa.gov/data/stdmet/Aug/tplm...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " ...\n", @@ -1358,8 +1360,8 @@ " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", " https://www.ndbc.noaa.gov/download_data.php?fi...\n", - " https://www.ndbc.noaa.gov/data/cwind/Jul/tplm2...\n", - " NaN\n", + " https://www.ndbc.noaa.gov/download_data.php?fi...\n", + " https://www.ndbc.noaa.gov/data/cwind/Aug/tplm2...\n", " NaN\n", " NaN\n", " ...\n", @@ -1376,7 +1378,7 @@ " \n", " \n", "\n", - "

2 rows × 46 columns

\n", + "

2 rows × 47 columns

\n", "" ], "text/plain": [ @@ -1405,8 +1407,12 @@ "Continuous winds data https://www.ndbc.noaa.gov/download_data.php?fi... \n", "\n", " Jul 2024 \\\n", - "Standard meteorological data https://www.ndbc.noaa.gov/data/stdmet/Jul/tplm... \n", - "Continuous winds data https://www.ndbc.noaa.gov/data/cwind/Jul/tplm2... \n", + "Standard meteorological data https://www.ndbc.noaa.gov/download_data.php?fi... \n", + "Continuous winds data https://www.ndbc.noaa.gov/download_data.php?fi... \n", + "\n", + " Aug 2024 \\\n", + "Standard meteorological data https://www.ndbc.noaa.gov/data/stdmet/Aug/tplm... \n", + "Continuous winds data https://www.ndbc.noaa.gov/data/cwind/Aug/tplm2... \n", "\n", " 1985 \\\n", "Standard meteorological data https://www.ndbc.noaa.gov/download_data.php?fi... \n", @@ -1416,10 +1422,6 @@ "Standard meteorological data https://www.ndbc.noaa.gov/download_data.php?fi... \n", "Continuous winds data NaN \n", "\n", - " 1987 \\\n", - "Standard meteorological data https://www.ndbc.noaa.gov/download_data.php?fi... \n", - "Continuous winds data NaN \n", - "\n", " ... \\\n", "Standard meteorological data ... \n", "Continuous winds data ... \n", @@ -1464,7 +1466,7 @@ "Standard meteorological data https://www.ndbc.noaa.gov/download_data.php?fi... \n", "Continuous winds data https://www.ndbc.noaa.gov/download_data.php?fi... \n", "\n", - "[2 rows x 46 columns]" + "[2 rows x 47 columns]" ] }, "execution_count": 16, @@ -30363,7 +30365,7 @@ "\n", "root group (NETCDF4 data model, file format HDF5):\n", " dimensions(sizes): time(39874), latitude(1), longitude(1)\n", - " variables(dimensions): float64 time(time), float64 latitude(latitude), float64 longitude(longitude), float32 air_temperature(time, latitude, longitude), float32 wave_height(time, latitude, longitude), float32 visibility(time, latitude, longitude), float32 sea_surface_temperature(time, latitude, longitude), float32 water_level(time, latitude, longitude), float32 dewpt_temperature(time, latitude, longitude), float32 dominant_wpd(time, latitude, longitude), float32 wind_spd(time, latitude, longitude), float32 average_wpd(time, latitude, longitude), float32 gust(time, latitude, longitude), int32 mean_wave_dir(time, latitude, longitude), int32 wind_dir(time, latitude, longitude), float32 air_pressure(time, latitude, longitude)\n", + " variables(dimensions): float64 time(time), float64 latitude(latitude), float64 longitude(longitude), float32 air_temperature(time, latitude, longitude), float32 gust(time, latitude, longitude), float32 average_wpd(time, latitude, longitude), float32 dewpt_temperature(time, latitude, longitude), float32 wave_height(time, latitude, longitude), float32 dominant_wpd(time, latitude, longitude), float32 water_level(time, latitude, longitude), float32 air_pressure(time, latitude, longitude), int32 wind_dir(time, latitude, longitude), int32 mean_wave_dir(time, latitude, longitude), float32 sea_surface_temperature(time, latitude, longitude), float32 wind_spd(time, latitude, longitude), float32 visibility(time, latitude, longitude)\n", " groups: " ] }, @@ -30435,11 +30437,11 @@ "name": "stderr", "output_type": "stream", "text": [ - "[DEBUG]: {'message': \"`get_data` called with arguments: {'station_id': None, 'mode': None, 'station_ids': ['tplm2', 'apam2'], 'modes': ['stdmet', 'cwind'], 'as_df': True, 'cols': None, 'end_time': '2024-01-01', 'self': , 'start_time': '2023-01-01', 'use_opendap': False, 'use_timestamp': True}\"}\n", + "[DEBUG]: {'message': \"`get_data` called with arguments: {'station_id': None, 'mode': None, 'station_ids': ['tplm2', 'apam2'], 'modes': ['stdmet', 'cwind'], 'as_df': True, 'cols': None, 'end_time': '2024-01-01', 'self': , 'start_time': '2023-01-01', 'use_opendap': False, 'use_timestamp': True}\"}\n", "{'message': \"`get_data` called with arguments: {'station_id': None, 'mode': \"\n", " \"None, 'station_ids': ['tplm2', 'apam2'], 'modes': ['stdmet', \"\n", " \"'cwind'], 'as_df': True, 'cols': None, 'end_time': '2024-01-01', \"\n", - " \"'self': , \"\n", + " \"'self': , \"\n", " \"'start_time': '2023-01-01', 'use_opendap': False, \"\n", " \"'use_timestamp': True}\"}\n", "[INFO]: {'message': \"Processing request for station_ids ['tplm2', 'apam2'] and modes ['stdmet', 'cwind']\"}\n", @@ -30456,33 +30458,33 @@ " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2h2023.txt.gz&dir=data/historical/stdmet/.'}\n", "[INFO]: {'message': 'Handling 2 requests for station apam2.'}\n", "{'message': 'Handling 2 requests for station apam2.'}\n", - "[DEBUG]: {'station_id': 'tplm2', 'message': 'Found station tplm2 in cache.'}\n", - "{'message': 'Found station tplm2 in cache.', 'station_id': 'tplm2'}\n", "[INFO]: {'message': 'Handling 2 requests for station apam2.'}\n", "{'message': 'Handling 2 requests for station apam2.'}\n", + "[DEBUG]: {'station_id': 'tplm2', 'message': 'Found station tplm2 in cache.'}\n", + "{'message': 'Found station tplm2 in cache.', 'station_id': 'tplm2'}\n", "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2h2023.txt.gz&dir=data/historical/stdmet/ already in cache.'}\n", "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2h2023.txt.gz&dir=data/historical/stdmet/ '\n", " 'already in cache.'}\n", "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", + "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", + "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2c2023.txt.gz&dir=data/historical/cwind/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2c2023.txt.gz&dir=data/historical/cwind/.'}\n", - "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", - "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", "[DEBUG]: {'station_id': 'tplm2', 'message': 'Found station tplm2 in cache.'}\n", "{'message': 'Found station tplm2 in cache.', 'station_id': 'tplm2'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2h2023.txt.gz&dir=data/historical/stdmet/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2h2023.txt.gz&dir=data/historical/stdmet/.'}\n", + "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/.'}\n", + "{'message': 'Handling request '\n", + " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/.'}\n", "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2c2023.txt.gz&dir=data/historical/cwind/ already in cache.'}\n", "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm2c2023.txt.gz&dir=data/historical/cwind/ '\n", " 'already in cache.'}\n", - "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/.'}\n", - "{'message': 'Handling request '\n", - " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/.'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/stdmet/Jan/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/stdmet/Jan/.'}\n", @@ -30490,30 +30492,26 @@ "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2h2023.txt.gz&dir=data/historical/stdmet/ '\n", " 'already in cache.'}\n", - "[DEBUG]: {'station_id': 'tplm2', 'message': 'Found station tplm2 in cache.'}\n", - "{'message': 'Found station tplm2 in cache.', 'station_id': 'tplm2'}\n", "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/ already in cache.'}\n", "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam2c2023.txt.gz&dir=data/historical/cwind/ '\n", " 'already in cache.'}\n", + "[DEBUG]: {'station_id': 'tplm2', 'message': 'Found station tplm2 in cache.'}\n", + "{'message': 'Found station tplm2 in cache.', 'station_id': 'tplm2'}\n", "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/stdmet/Jan/ already in cache.'}\n", "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/stdmet/Jan/ '\n", " 'already in cache.'}\n", "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", + "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", + "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/cwind/Jan/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/cwind/Jan/.'}\n", - "[DEBUG]: {'station_id': 'apam2', 'message': 'Found station apam2 in cache.'}\n", - "{'message': 'Found station apam2 in cache.', 'station_id': 'apam2'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/.'}\n", - "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/ already in cache.'}\n", - "{'message': 'Request '\n", - " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/ '\n", - " 'already in cache.'}\n", "[DEBUG]: {'message': 'Handling request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/cwind/Jan/.'}\n", "{'message': 'Handling request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/cwind/Jan/.'}\n", @@ -30521,6 +30519,10 @@ "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=tplm212024.txt.gz&dir=data/cwind/Jan/ '\n", " 'already in cache.'}\n", + "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/ already in cache.'}\n", + "{'message': 'Request '\n", + " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/stdmet/Jan/ '\n", + " 'already in cache.'}\n", "[DEBUG]: {'message': 'Request https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/cwind/Jan/ already in cache.'}\n", "{'message': 'Request '\n", " 'https://www.ndbc.noaa.gov/view_text_file.php?filename=apam212024.txt.gz&dir=data/cwind/Jan/ '\n",