OceanNetworksCanada/api-python-client

Estimation time when downloading scalardata in multiple pages is not near the actual case sometimes

Closed this issue · 0 comments

When running

deviceCode = 'RBRQUARTZ3BPR202321'

deployments = pd.DataFrame(onc.getDeployments({'deviceCode':deviceCode}))
d = onc.getDirectByLocation({'locationCode':deployments.iloc[1]['locationCode'],
                             'deviceCategoryCode':'BPR',
                             'sensorCategoryCodes':'pressure',
                             'dateFrom':deployments.iloc[1]['begin'],
                             'dateTo':'2020-09-30',#deployments.iloc[1]['end'],
                             'resampleType':'avg',
                             'qualityControl':'clean',
                             'resamplePeriod':1},allPages=True)

The estimated pages is 6 pages, but from the log it is more than that clearly.
Screenshot 2024-09-05 at 3 53 30 PM