Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions getDataFRF.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def getnc(dataLoc, callingClass, epoch1=0, epoch2=0, dtRound=60, cutrange=100000
THREDDSloc = chlDataLoc
pName = u'frf'
except:
print('Could not aquire socket using CHLdata')
print('Could not acquire socket using CHLdata')

THREDDSloc = chlDataLoc
pName = u'frf'
Expand Down Expand Up @@ -2716,7 +2716,7 @@ def getBathyIntegratedTransect(self, method=1, ForcedSurveyDate=None, **kwargs):
####################################################################
# go ahead and assign the ncfile first....
self.ncfile, self.allEpoch = getnc(dataLoc=self.dataloc, callingClass=self.callingClass,
dtRound=1 * 60, start=self.start, end=self.end)
dtRound=1 * 60, start=self.start, end=self.end, server=self.server)

try:
self.bathydataindex = gettime(allEpoch=self.allEpoch, epochStart=self.epochd1,
Expand Down Expand Up @@ -2850,6 +2850,7 @@ def getBathyIntegratedTransect(self, method=1, ForcedSurveyDate=None, **kwargs):
'lon': lon, }
# then its a survey, get the survey number
if 'surveyNumber' in self.ncfile.variables.keys():

gridDict['surveyNumber'] = self.ncfile['surveyNumber'][idx]

return gridDict
Expand Down