starepandas.folder2catalog#
- folder2catalog(path, granule_trunk='', granule_extension='*', add_sf=False, client=None)#
Reads a folder of granules into a STAREDataFrame catalog
- Parameters:
path (str) – Path of the folder containing granules
granule_trunk (str) – Granule identifier (e.g. MOD09)
granule_extension (str) – Extension of the granule (e.g. hdf, nc, HDF5)
add_sf (bool) – toggle creating simple feature representation of the iFOVs
client –
- Returns:
catalog
- Return type: