<filename>gateway-lesson/gateway/hourofcidemo.py<gh_stars>1-10
def readimage(filename):
    print("Reading image", filename)
    return "this thing"

def ndvi(image):
    print("Calculating NDVI")
    if "this thing" == image:
        # Do something here.
        print("Displaying NDVI")
        return "Calculated NDVI."
    return "Nope"
<filename>gateway-lesson/gateway/hourofcidemo.py<gh_stars>1-10
def readimage(filename):
    print("Reading image", filename)
    return "this thing"

def ndvi(image):
    print("Calculating NDVI")
    if "this thing" == image:
        # Do something here.
        print("Displaying NDVI")
        return "Calculated NDVI."
    return "Nope"
# Do something here.