-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
The feds moved on to https this last year or so, and lots of old http links are now broken. Does this package still work? I get errors on importing:
import noaadata.waterlevel_dap
...
FileNotFoundError Traceback (most recent call last)
<ipython-input-1-cce3f05f6995> in <module>()
----> 1 import noaadata.waterlevel_dap
/Users/drf/anaconda/envs/python3/lib/python3.5/site-packages/noaadata/waterlevel_dap.py in <module>()
29 datasetURL='http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Raw_Water_Level'
30 "OPeNDAP URL for NOAA CO-OPS database"
---> 31 waterlevelDataset=pydap.client.open(datasetURL)
32 "This set only contains raw 6 minute water level data"
33 waterlevelSeq = waterlevelDataset['WATERLEVEL_RAW_PX']
FileNotFoundError: [Errno 2] No such file or directory: 'http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Raw_Water_Level'
The link in https://github.com/schwehr/noaadata/blob/master/noaadata/waterlevel_dap.py#L29 to datasetURL='http://opendap.co-ops.nos.noaa.gov/dods/IOOS/Raw_Water_Levelsort of has been superseded by the server at https://opendap.co-ops.nos.noaa.gov/erddap or
https://opendap.co-ops.nos.noaa.gov/erddap/tabledap/IOOS_Raw_Water_Level.html or
Metadata
Metadata
Assignees
Labels
No labels