diff --git a/src/application/ee.py b/src/application/ee.py index 3004ef9..a3dc5f2 100755 --- a/src/application/ee.py +++ b/src/application/ee.py @@ -10,8 +10,9 @@ from time_utils import timestamp METER2_TO_KM2 = 1.0/(1000*1000) - CALL_SCOPE = "SAD" +#KRIGING = CALL_SCOPE + "/" + "com.google.earthengine.examples.sad.KrigingStub" +KRIGING = "kriging/com.google.earthengine.examples.kriging.KrigedModisImage" class Stats(object): @@ -380,7 +381,7 @@ def _NDFI_image(self, period): "args": [{ "creator": CALL_SCOPE + '/com.google.earthengine.examples.sad.UnmixModis', "args": [{ - "creator": CALL_SCOPE + '/com.google.earthengine.examples.sad.KrigingStub', + "creator": KRIGING, "args": [ self._MakeMosaic(period) ] }] }] @@ -435,7 +436,7 @@ def _RGB_image_command(self, period): """ commands for RGB image """ return { "image": json.dumps({ - "creator": CALL_SCOPE + '/com.google.earthengine.examples.sad.KrigingStub', + "creator": KRIGING, "args": [ self._MakeMosaic(period) ] }), "bands": 'sur_refl_b01,sur_refl_b04,sur_refl_b03', @@ -457,7 +458,7 @@ def _SMA_image_command(self, period): "image": json.dumps({ "creator": CALL_SCOPE + '/com.google.earthengine.examples.sad.UnmixModis', "args": [{ - "creator": CALL_SCOPE + '/com.google.earthengine.examples.sad.KrigingStub', + "creator": KRIGING, "args": [self._MakeMosaic(period)] }] }), @@ -476,7 +477,7 @@ def _RGB_streched_command(self, period, polygon, bands): "args":[{ "creator":"ClipToMultiPolygon", "args":[{ - "creator":CALL_SCOPE + "/com.google.earthengine.examples.sad.KrigingStub", + "creator":KRIGING, "args":[ self._MakeMosaic(period)] }, polygon]