From 275395e0f994d96e843bcedfce3b9dcf7108e4d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mu=C3=B1oz?= Date: Thu, 26 Dec 2024 20:08:44 -0300 Subject: [PATCH] docs: undo chango from COPERNICUS/S2_SR_HARMONIZED to COPERNICUS/S2_SR --- geetools/ee_image_collection.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/geetools/ee_image_collection.py b/geetools/ee_image_collection.py index 0992a042..a2ed6e0b 100644 --- a/geetools/ee_image_collection.py +++ b/geetools/ee_image_collection.py @@ -282,7 +282,7 @@ def scaleAndOffset(self) -> ee.ImageCollection: ee.Initialize() - S2 = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED').scaleAndOffset() + S2 = ee.ImageCollection('COPERNICUS/S2_SR').scaleAndOffset() """ return ee_extra.STAC.core.scaleAndOffset(self._obj) @@ -308,7 +308,7 @@ def preprocess(self, **kwargs) -> ee.ImageCollection: import geetools ee.Initialize() - S2 = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED').preprocess() + S2 = ee.ImageCollection('COPERNICUS/S2_SR').preprocess() """ return ee_extra.QA.pipelines.preprocess(self._obj, **kwargs) @@ -326,7 +326,7 @@ def getSTAC(self) -> dict[str, Any]: ee.Initialize() - ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED').geetools.getSTAC() + ee.ImageCollection('COPERNICUS/S2_SR').geetools.getSTAC() """ # extract the Asset id from the imagecollection assetId = self._obj.get("system:id").getInfo() @@ -496,7 +496,7 @@ def append(self, image: ee.Image) -> ee.ImageCollection: ee.Initialize() - ic = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED'); + ic = ee.ImageCollection('COPERNICUS/S2_SR'); geom = ee.Geometry.Point(-122.196, 41.411); ic2018 = ic.filterBounds(geom).filterDate('2019-07-01', '2019-10-01') @@ -520,7 +520,7 @@ def collectionMask(self) -> ee.Image: ee.Initialize() - ic = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED'); + ic = ee.ImageCollection('COPERNICUS/S2_SR'); geom = ee.Geometry.Point(-122.196, 41.411); ic2018 = ic.filterBounds(geom).filterDate('2019-07-01', '2019-10-01') @@ -546,7 +546,7 @@ def iloc(self, index: int) -> ee.Image: ee.Initialize() - ic = ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED'); + ic = ee.ImageCollection('COPERNICUS/S2_SR'); geom = ee.Geometry.Point(-122.196, 41.411); ic2018 = ic.filterBounds(geom).filterDate('2019-07-01', '2019-10-01')