Basic utility functions across ard-workflows.
import pandas as pd
For NovaSAR and other Catapult-hosted datasets, me must download from Sedas.
sedas_client()
should inc. test for env vars...?
And we'll want to find datasets from different Collections, which sedas expects as groups.
sedas_get_collections()
For example for a small area over Oxford we can find...
result = sedas_find_datasets("POLYGON((-1.91 51.81,-1.15 51.81,-1.15 51.50,-1.91 51.50,-1.91 51.81))",
"2000-01-01T00:00:00Z",
"2020-10-27T00:00:00Z",
"Pleiades"
)
pd.DataFrame(result['products']).head(2)