Copernicus Senwise RoseL-like imagery - Mazia Matsch catchment, South Tyrol, IT, 2024
FAIR Overall Score
Abstract
The input RoseL-like imagery dataset is a copy of SAOCOM-1A SAR Stripmap dual pol (VH-VV) data collection downloaded from saocom.asi.it and covering the Glorenza-Merano region, including the Mazia-Matsch catchment, in South-Tyrol, Italy. Coordinates are [10.33, 46.91], [11.33, 46.28]. Data are in the Single Look Complex (SLC - Level-1A) format suitable for InSAR/PolSAR processing. Data are acquired in ascending (ASC) orbit and are given here in the SAR acquisition geometry (slant range, azimuth coordinates). Both extent and numbers of rows and columns vary a bit from one image to the other: values given here correspond to the 1st image of the collection. One geoprojected (.tif) image out of the collection is provided for information only, for allowing to locate the relevant area.
Keywords
Legal constraints
other
FAIR Overall Score: 77%
| Principle | Score | Earned | Level |
|---|---|---|---|
| Findable | 57% | 4 of 7 | moderate |
| Accessible | 100% | 7 of 7 | advanced |
| Interoperable | 67% | 4 of 6 | moderate |
| Reusable | 83% | 5 of 6 | moderate |
Evaluated by F-UJI web service: Anusuriya Devaraju, & Robert Huber. (2020). F-UJI - An Automated FAIR Data Assessment Tool. Zenodo. https://doi.org/10.5281/zenodo.6361400
Snippet code
##### ----Explore and download STAC data with Python ----- #####
from pystac_client import Client
## Read the example catalog
URL = 'https://stac.eurac.edu/'
catalog = Client.open(URL)
## List the Collections in the given Catalog
stac_collections = list(catalog.get_collections())
print(f"Number of collections: {len(stac_collections)}")
## Print collection IDs
print("Collections IDs:")
for collection in stac_collections:
print(f"- {collection.id}")
print("-------------------------")
## Retrieve a specific collection
collection = catalog.get_collection("ID_OfTheCollection")
## Search for items in the collection
collection_items = list(catalog.search(collections=['ID_OfTheCollection'], max_items=10).items())
print(collection_items)
## Retrieve a list of the first 10 items belonging to a specific collection
item = collection.get_item("NameOfTheItem")
#print(list(item.assets.items())[0:10])
##Print the band name and the href of a specific item retrieved from the previous list
print(item.assets["ID_OfTheCollection"].title)
print(item.assets["ID_OfTheCollection"].href)
## Print Item’s assets through the assets attribute, which is a dictionary
for asset_key in item.assets:
asset = item.assets[asset_key]
print("{}: {} ({})".format(asset_key, asset.href, asset.media_type))
## ------------- DONWLOAD COG files from a specific collection ------- ####
from pystac_client import Client
import requests
## Read the example catalog
URL = 'https://stac.eurac.edu/'
catalog = Client.open(URL)
## List the Collections in the given Catalog
stac_collections = list(catalog.get_collections())
# print(f"Number of collections: {len(stac_collections)}")
## Print collection IDs
print("Collections IDs:")
for collection in stac_collections:
print(f"- {collection.id}")
print("-------------------------")
## Retrieve a specific collection
collection = catalog.get_collection("ID_OfTheCollection")
## Search for items in the collection
collection_items = list(catalog.search(collections=['ID_OfTheCollection'], max_items=10).items())
print(collection_items)
url_basepath = "https://eurac-eo.s3-eu-west-1.amazonaws.com/"
collection_url = url_basepath + "ID_OfTheCollection" + "/"
print(collection_url)
for item_id in collection_items:
# item = item.assets[asset_key]
print(item_id.id)
cog_file = str(item_id.id + '.tif')
url = collection_url + cog_file
response = requests.get(url)
with open(cog_file, "wb") as f:
f.write(response.content)
Related docs
| # | Name | Description | Link | Date published | Category |
|---|---|---|---|---|---|
| 1 | MOOC Cubes and Clouds | Free Online Course teaching the concepts of data cubes, cloud platforms and open science in geospatial and EO. | Link | March 8, 2024 | OpenEO, STAC |
| 2 | STAC guidelines | Documentation to browse and download items of the STAC catalog | Link | Feb. 22, 2024 | STAC |