Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
it was written tides_sat instead of tide_sat when loading tides from a file
  • Loading branch information
Kilian Vos committed Dec 9, 2020
1 parent 406a38d commit 0df7c49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example_slope.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
# Option 2. otherwise load tide levels associated with "dates_sat" from a file
# with open(os.path.join('example_data', sitename + '_tide' + '.pkl'), 'rb') as f:
# tide_data = pickle.load(f)
# tides_sat = tide_data['tide']
# tide_sat = tide_data['tide']

# plot time-step distribution
t = np.array([_.timestamp() for _ in dates_sat]).astype('float64')
Expand Down
4 changes: 2 additions & 2 deletions example_slope_Cable_beach.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
"# Option 2. load tide levels corresponding to \"dates_sat\" from a file\n",
"# with open(os.path.join('example_data', sitename + '_tide' + '.pkl'), 'rb') as f:\n",
"# tide_data = pickle.load(f) \n",
"# tides_sat = tide_data['tide']\n",
"# tide_sat = tide_data['tide']\n",
"# print(tides_sat)"
]
},
Expand Down Expand Up @@ -589,7 +589,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.7.6"
},
"toc": {
"base_numbering": 1,
Expand Down
4 changes: 2 additions & 2 deletions example_slope_Narrabeen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
"# Option 2. load tide levels corresponding to \"dates_sat\" from a file\n",
"# with open(os.path.join('example_data', sitename + '_tide' + '.pkl'), 'rb') as f:\n",
"# tide_data = pickle.load(f) \n",
"# tides_sat = tide_data['tide']\n",
"# tide_sat = tide_data['tide']\n",
"# print(tides_sat)"
]
},
Expand Down Expand Up @@ -600,7 +600,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.7.6"
},
"toc": {
"base_numbering": 1,
Expand Down

0 comments on commit 0df7c49

Please sign in to comment.