IN040-08
STAREPandas – a dataframe based STARE interface
Abstract:
STAREPandas is a Python library built on top of GeoPandas that allows users to perform STARE based spatial operations and relation tests on sets of geospatial features that would otherwise require a STARE-extended spatial database or geographic information system. In contrast to GeoPandas’ GeoDataFrames, where geometries are represented as well known text, STAREPandas’ STAREDataFrames represent geometries as STARE index values corresponding to trixels of variable size and resolution. Polygons are represented as sets of trixels that cover the corresponding polygon, while points are represented as individual trixels at the HTM tree’s leaf resolution. Features such as sensor fields-of-view (FOVs) can be represented as individual trixels at a resolution corresponding to the FOV’s spatial extent.
Using GeoPandas’ input/output (I/O) capabilities, STAREPandas is able to read and convert most vector-based data formats to their STARE representation. STAREPandas further extends the GeoPandas I/O functionality to load raster formats of remote sensing granules and tiles such as MOD09 or MOD09GA. The STARE representations can here either be generated during loading or read from a pre-generated STARE “sidecar” file.
STAREPandas exposes STARE functionality using pendants to the familiar GeoPandas API, lowering technical hurdles for users to carry out STARE based geospatial analysis. Exploiting GeoPandas' rich I/O capabilities, STAREDataFrames are also a convenient pivot format at the beginning and end of a data processing pipeline.