Skip to content

Commit

Permalink
docs: undo chango from COPERNICUS/S2_SR_HARMONIZED to COPERNICUS/S2_SR
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Muñoz committed Dec 26, 2024
1 parent dace97c commit 275395e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions geetools/ee_image_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand All @@ -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()
Expand Down Expand Up @@ -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')
Expand All @@ -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')
Expand All @@ -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')
Expand Down

0 comments on commit 275395e

Please sign in to comment.