Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Updating function names for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleresterly committed Dec 13, 2017
1 parent ba3ec39 commit 1ffd854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ESSCTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def compareLoadMethods(buoy):
buoy.saveAsTxt('.\TestTxt')
buoy.saveAsH5()
txtBuoy = ESSC.Buoy('46022', 'NDBC')
txtBuoy.loadFromText('.\TestTxt\NDBC46022\\')
txtBuoy.loadFromTxt('.\TestTxt\NDBC46022\\')
h5Buoy = ESSC.Buoy('46022', 'NDBC')
h5Buoy.loadFromH5()

Expand Down
2 changes: 1 addition & 1 deletion WDRT/ESSC.py
Original file line number Diff line number Diff line change
Expand Up @@ -3076,7 +3076,7 @@ def __fetchNDBC(self, proxy):
self._prepData()


def loadFromText(self, dirPath = None):
def loadFromTxt(self, dirPath = None):
'''Loads NDBC data previously downloaded to a series of text files in the
specified directory.
Expand Down
2 changes: 1 addition & 1 deletion examples/example_envSampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
buoy46022.saveAsH5()

# Load data from .txt file if avilable
# buoy46022.loadFromText()
# buoy46022.loadFromTxt()

# Load data from .h5 file if available
# buoy46022.loadFromH5('./data/NDBC46022.h5')
Expand Down

0 comments on commit 1ffd854

Please sign in to comment.