earthlib.NIRv
Methods for computing NIRv (near infrared reflectance of vegetation) from ee.Image data
ASTER(image)
¶
Transform ASTER image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
43 44 45 46 47 | |
AVNIR2(image)
¶
Transform ALOS-AVNIR2 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
50 51 52 53 54 | |
DoveR(image)
¶
Transform Planet DoveR image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
57 58 59 60 61 | |
Landsat4(image)
¶
Transform Landsat4 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
64 65 66 67 68 | |
Landsat5(image)
¶
Transform Landsat5 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
71 72 73 74 75 | |
Landsat7(image)
¶
Transform Landsat7 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
78 79 80 81 82 | |
Landsat8(image)
¶
Transform Landsat8 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
85 86 87 88 89 | |
MODIS(image)
¶
Transform MODIS image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
92 93 94 95 96 | |
NIRvWrapper(image, red_band, nir_band)
¶
Compute NIRv for an image.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
image
|
Image
|
the input image object. |
required |
red_band
|
str
|
the name of the red band to use |
required |
nir_band
|
str
|
the name of the near infrared band to use |
required |
Returns:
| Type | Description |
|---|---|
Image
|
appends the input image with and "NIRv" band. |
Source code in earthlib/geelib/NIRv.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | |
PlanetScope(image)
¶
Transform PlanetScope image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
99 100 101 102 103 | |
Sentinel2(image)
¶
Transform Sentinel2 image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
106 107 108 109 110 | |
SuperDove(image)
¶
Transform Planet SuperDove image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
113 114 115 116 117 | |
VIIRS(image)
¶
Transform VIIRS image data to scaled reflectance values
Source code in earthlib/geelib/NIRv.py
120 121 122 123 124 | |
bySensor(sensor)
¶
Returns the appropriate NIRv function to use by sensor type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
sensor
|
str
|
string with the sensor name to return (e.g. "Landsat8", "Sentinel2"). |
required |
Returns:
| Type | Description |
|---|---|
Callable
|
the NIRv function associated with a sensor to pass to an ee .map() call |
Source code in earthlib/geelib/NIRv.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |
getNIRvBands(sensor)
¶
Look-up the red and near infrared bands for NIRv calculation
Source code in earthlib/geelib/NIRv.py
127 128 129 130 131 132 133 134 135 | |