You can download the product file for a given data point using the download method.

Parameters

datapoint
xarray.Dataset

The datapoint to download.

verify
bool

Whether to verify the md5sum of the downloaded file against the expected md5sum stored in the granule metadata. Defaults to True. In case the md5sum doesn’t match a ValueError is raised.

extract
bool

Whether to automatically extract the downloaded file in case it’s a zip archive. Defaults to True. In case the file is not a zip archive a ValueError is raised.

show_progress
bool

Whether to show a progress bar while downloading. Defaults to True.

Errors

ValueError
md5sum mismatch: The downloaded file is corrupt.

In case the md5sum verification failed.

ValueError
Failed to extract: The downloaded file is not a zip file.

If trying to extract a file that is not a zip archive.