Skip to content

Commit 029960a

Browse files
committed
Small fix to example_thredds_resources - stripping newline from URLs
1 parent a7c78ab commit 029960a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/example_thredds_resources.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
o = OceanDrift(loglevel=0)
1313

1414
thredds_resources = open(tdf + '../../opendrift/scripts/data_sources.txt').readlines()
15+
thredds_resources = [t.strip() for t in thredds_resources]
1516
times = {}
1617

1718
#%%

0 commit comments

Comments
 (0)