Skip to content

Commit

Permalink
Reformatting for proper linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lunasilvestre committed Oct 6, 2023
1 parent a11b008 commit 6378467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/aster_bare_emiss.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import ee


# Load ASTER emissivity
# aster = ee.Image("NASA/ASTER_GED/AG100_003")
def get_aster_image():
return ee.Image("NASA/ASTER_GED/AG100_003")


# Calculate ASTER FVC from NDVI
def get_aster_fvc():
aster = get_aster_image()
Expand All @@ -17,6 +19,7 @@ def get_aster_fvc():
aster_fvc = aster_fvc.where(aster_fvc.gt(1.0), 1.0)
return aster_fvc


def emiss_bare_band(band, image):
"""
Calculate bare ground emissivity for a specific ASTER band.
Expand Down

0 comments on commit 6378467

Please sign in to comment.