rework catalog/collections/archives customizations#17
Conversation
|
|
The |
|
…more default field values to S2Metadata.from_stac_item()
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
|
||
| class StacSearchConfig(BaseModel): | ||
| max_cloud_cover: float = 100.0 | ||
| query: Optional[str] = None |
There was a problem hiding this comment.
Query as List[str] ? for pystac_client from the get go? If string will need a parser, ideally here as well
|
When passing whole huge polygons to stac search as area the STAC API on the other side rejects it with InternalServerError; fix in my PR to this via just making bounds from area |
DEV make EOSTAC driver work, some typing for searching and adding basic test for COPERNICUS DEM
|
With this thee mhub job workers have quite large RAM usage, also tasks dont seem to be passed to scheduler proprly (might be too large entities); this would indicate potencial materializing of some metadata objects. Also investigating if the search returns proper number of products, seeing quite large numbers. |
Please investigate, I'll do the same. |
|
Buffer also applies to footprint mask it feels which should not be the case (https://github.com/mapchete/mapchete-eo/blob/main/mapchete_eo/platforms/sentinel2/product.py#L556). |
true. especially as we are already provide a mechanism to buffer the footprint separately. ideally, we should buffer each individual mask before combining them but until we have found a more performant (i.e. raster based) implementation for |
fixes #9
core
archivewithsourceSentinel-2driver configuration:archive,cat_baseurlandmax_cloud_coverparametersSentinel2Source: new configuration element to customize a sourceEarthSearchsentinel-2-c1-l2acollection is now the defaultarchives,known_catalogs,platforms.sentinel2.archivesmodulesio.items.get_item_property(): addeddefaultkwarg which behaves similar todict.get();propertynow also accepts a tuple of strings which are checked in that order and the first matching property is being returnedio.path.asset_mpath():assetnow accepts a tuple of strings and the first matching asset path is being returnedplatforms.sentinel2: addedpreconfigured_sourcesmodule which holds all custom mapper functions between collections and data/metadata archivesplatforms.sentinel2.path_mappersmodulegeometrymoduletimeparameter optionalsettings: addlazy_load_stac_itemsoptionpackaging
cql2to dependencies