Closed ircwaves closed 6 years ago
In similar fashion to how landsat cloud filtering is implemented. For assets we have, just extract the metadata (MTD_MSIL1C.xml) file. But for files we don't have, the metadata can be grabbed using the URL for downloads
https://scihub.copernicus.eu/dhus/odata/v1/Products('f51ef2d6-eb18-46b9-8075-0a6458012abc')/$value
and replacing the last /$value with
/$value
/Nodes('{ASSETID}.SAFE')/Nodes('MTD_MSIL1C.xml')/$value
Enabling filtering of files that we don't have yet will make it so we can hook filters into the fetch.
In similar fashion to how landsat cloud filtering is implemented. For assets we have, just extract the metadata (MTD_MSIL1C.xml) file. But for files we don't have, the metadata can be grabbed using the URL for downloads
and replacing the last
/$value
withEnabling filtering of files that we don't have yet will make it so we can hook filters into the fetch.