store
— Interface to remote data storage¶
Warning
The store
module is under construction. Its purpose is to
provide a simple interface for accessing large data files, stored remotly.
Currently it uses GitHub release area, which is a bit of a hack.
-
grand.store.
get
(name: str, tag: str = '101') → bytes¶ Get a BLOB from the store.
For example, the following retrieves an SRTMGL1 topography tile from the store, as a
bytes
object.>>> data = store.get('N39E090.SRTMGL1.hgt')
-
class
grand.store.
InvalidBLOB
¶ Wrapper for store errors.