ee_extra.STAC.core.getDOI#
- ee_extra.STAC.core.getDOI(x)[source]#
Gets the DOI of the specified platform, if available.
- Parameters:
x (
Union
[Image
,ImageCollection
]) – Image or Image Collection to get the DOI from.- Return type:
str
- Returns:
DOI of the ee.Image or ee.ImageCollection dataset.
Examples
>>> import ee >>> from ee_extra.STAC.core import getDOI >>> ee.Initialize() >>> S2 = ee.ImageCollection("COPERNICUS/S2_SR") >>> getDOI(S2)