smnorris / roadintegrator

Quickly merge multiple BC road datasets into a single layer for Cumulative Effects analysis
Apache License 2.0
10 stars 1 forks source link

download of RESULTS polys times out #5

Closed smnorris closed 6 years ago

smnorris commented 6 years ago

results-forest-cover-inventory is likely too big to download via bcdata:

$ bcdata results-forest-cover-inventory
Traceback (most recent call last):
  File "/usr/local/bin/bcdata", line 11, in <module>
    load_entry_point('bcdata==0.0.5.dev0', 'console_scripts', 'bcdata')()
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/bcdata/scripts/cli.py", line 56, in cli
    driver=driver)
  File "/usr/local/lib/python2.7/site-packages/bcdata/__init__.py", line 93, in download
    raise RuntimeError("Download for order_id "+order_id+" timed out")
RuntimeError: Download for order_id 1795138 timed out
smnorris commented 6 years ago

Request eventually completes after 1h 22min, bcdata times out at 1hr.

smnorris commented 6 years ago

modified bcdata to wait for up to 2hrs https://github.com/smnorris/bcdata/commit/7b07a392a765327d87036ca246604a40188de779