mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Trying to find out why downloads are failing for band maths
This commit is contained in:
parent
99678b9792
commit
fcada57719
8 changed files with 3029 additions and 866 deletions
|
|
@ -51,15 +51,6 @@ def plot_all(items, extra_kwargs=[]):
|
|||
ax = item.plot(**kwargs)
|
||||
else:
|
||||
item.plot(ax=ax, **kwargs)
|
||||
|
||||
|
||||
def scihub_product_ids(geodataframe):
|
||||
'''
|
||||
Returns the product ids of items in a GeoDataFrame returned by
|
||||
`sentinelsat.to_geodataframe` as expected by `sentinelsat.download` and
|
||||
`sentinelsat.download_all`.
|
||||
'''
|
||||
return [link.split('Products(\'')[-1].split('\')/$value')[0] for link in geodataframe['link'].values]
|
||||
|
||||
|
||||
def scihub_band_paths(p, bands, resolution=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue