Skip to content

Commit

Permalink
Adding real kriging to the mosaic creation pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Thau committed Feb 6, 2012
1 parent cd5c1c8 commit 573fac6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/application/ee.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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) ]
}]
}]
Expand Down Expand Up @@ -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',
Expand All @@ -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)]
}]
}),
Expand All @@ -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]
Expand Down

0 comments on commit 573fac6

Please # to comment.