Skip to content

Commit

Permalink
use https
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Sep 5, 2023
1 parent 0505b1c commit 845afad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oceans/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def etopo_subset(min_lon, max_lon, min_lat, max_lat, tfile=None, smoo=False):
Based on trondkristiansen contourICEMaps.py
"""
if tfile is None:
tfile = "http://gamone.whoi.edu/thredds/dodsC/usgs/data0/bathy/ETOPO2v2c_f4.nc"
tfile = "https://gamone.whoi.edu/thredds/dodsC/usgs/data0/bathy/ETOPO2v2c_f4.nc"

with Dataset(tfile, "r") as etopo:
lons = etopo.variables["x"][:]
Expand Down

0 comments on commit 845afad

Please sign in to comment.