Estimation time when downloading scalardata in multiple pages is not near the actual case sometimes
Closed this issue · 0 comments
kan-fu commented
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.