Open LongJiangOceanOPS opened 10 months ago
Error in log file: 2023-08-12 07:00:12,853 ERROR l.66: HTTPSConnectionPool(host='osmc.noaa.gov', port=443): Max retries exceeded with url: /erddap/tabledap/OSMC_flattened.csv?platform_code,time,latitude,longitude,observation_depth,water_col_ht&platform_type=%22TSUNAMI%20WARNING%20STATIONS%22&time%3E=2023-08-07T00:00:00Z&water_col_ht%3E=-100 (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)')))
In the load_osmc_obs_tsuna.py script, the link used to access the data is: --# URL info startDate = date.today() - timedelta(5) headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36' } dataUrl = "http://osmc.noaa.gov/erddap/tabledap/OSMC_flattened.csv?platform_code,time,latitude,longitude,observation_depth,water_col_ht&platform_type=%22TSUNAMI%20WARNING%20STATIONS%22&time>={startDate}&water_col_ht>=-100" url = dataUrl.format(startDate=startDate.isoformat() + "T00:00:00Z") filename = "osmc_tsunametersobs.csv" filenameDate = date.today().strftime("%Y%m%d") + "" + filename
Context/theme
DBCP
Other context (if applicable)
No response
Describe the bug
OSMC link with OceanOPS down, no tsunami buoys visible
To reproduce
No response
Expected behaviour
No response
Software/browsing information
No response
Other information
No response