Skip to content

Commit 1805869

Browse files
authored
Merge pull request #96 from ocefpaf/use_https
Use https
2 parents 5e4e972 + 845afad commit 1805869

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ repos:
2828
- id: blackdoc
2929

3030
- repo: https://github.com/charliermarsh/ruff-pre-commit
31-
rev: v0.0.272
31+
rev: v0.0.287
3232
hooks:
3333
- id: ruff
3434

3535
- repo: https://github.com/psf/black
36-
rev: 23.3.0
36+
rev: 23.7.0
3737
hooks:
3838
- id: black
3939
language_version: python3
@@ -46,11 +46,11 @@ repos:
4646
- --ignore-words-list=pres
4747

4848
- repo: https://github.com/asottile/add-trailing-comma
49-
rev: v2.5.1
49+
rev: v3.1.0
5050
hooks:
5151
- id: add-trailing-comma
5252

5353
- repo: https://github.com/tox-dev/pyproject-fmt
54-
rev: "0.12.1"
54+
rev: "1.1.0"
5555
hooks:
5656
- id: pyproject-fmt

oceans/RPSstuff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def coast2bln(coast, bln_file):
490490
kk = list(range(ind[k] + 1, ind[k + 1]))
491491
NP = int(len(kk))
492492
bln[ind[k], 0] = NP
493-
bln[ind[k], 1] = int(1)
493+
bln[ind[k], 1] = 1
494494

495495
bln = bln[:-1]
496496
np.savetxt(bln_file, bln, fmt="%g")

oceans/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def etopo_subset(min_lon, max_lon, min_lat, max_lat, tfile=None, smoo=False):
245245
Based on trondkristiansen contourICEMaps.py
246246
"""
247247
if tfile is None:
248-
tfile = "http://gamone.whoi.edu/thredds/dodsC/usgs/data0/bathy/ETOPO2v2c_f4.nc"
248+
tfile = "https://gamone.whoi.edu/thredds/dodsC/usgs/data0/bathy/ETOPO2v2c_f4.nc"
249249

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

0 commit comments

Comments
 (0)