Based on this block (from here):
spatial = SpatialExtent.factory(cls, site=site, key=key, where=where, tiles=tiles, pcov=pcov, ptile=ptile)
temporal = TemporalExtent(dates, days)
return DataInventory(cls, spatial[0], temporal, **kwargs)
Previously we were able to (I believe) inventory via tiles and dates (i.e. without a shapefile). The above results in only inventorying the data for the first tile. This seems like a bug.
I see that gips.core.SpatialExtent.factory returns a list of SpatialExtent objects, always. Seems like DataInventory.__init__ should handle (or always expect) the spatial extent being a list of SpatialExtent objects; OR SpatialExtent should internally keep track of the list of extents, and thus factory would return one SpatialExtent. I'm aesthetically drawn to the latter, but architectural constraints might necessitate the former.
What do you think, Matt?
Based on this block (from here):
Previously we were able to (I believe) inventory via tiles and dates (i.e. without a shapefile). The above results in only inventorying the data for the first tile. This seems like a bug.
I see that
gips.core.SpatialExtent.factoryreturns a list of SpatialExtent objects, always. Seems likeDataInventory.__init__should handle (or always expect) the spatial extent being a list ofSpatialExtentobjects; ORSpatialExtentshould internally keep track of the list of extents, and thusfactorywould return oneSpatialExtent. I'm aesthetically drawn to the latter, but architectural constraints might necessitate the former.What do you think, Matt?