RadGEEToolbox 1.6.9__py3-none-any.whl → 1.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- RadGEEToolbox/GenericCollection.py +2623 -0
- RadGEEToolbox/LandsatCollection.py +599 -9
- RadGEEToolbox/Sentinel1Collection.py +126 -3
- RadGEEToolbox/Sentinel2Collection.py +575 -10
- RadGEEToolbox/__init__.py +3 -1
- {radgeetoolbox-1.6.9.dist-info → radgeetoolbox-1.7.0.dist-info}/METADATA +25 -14
- radgeetoolbox-1.7.0.dist-info/RECORD +13 -0
- radgeetoolbox-1.6.9.dist-info/RECORD +0 -12
- {radgeetoolbox-1.6.9.dist-info → radgeetoolbox-1.7.0.dist-info}/WHEEL +0 -0
- {radgeetoolbox-1.6.9.dist-info → radgeetoolbox-1.7.0.dist-info}/licenses/LICENSE.txt +0 -0
- {radgeetoolbox-1.6.9.dist-info → radgeetoolbox-1.7.0.dist-info}/top_level.txt +0 -0
RadGEEToolbox/__init__.py
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
GenericCollection__version__ = "1.7.0"
|
|
2
2
|
|
|
3
3
|
from .CollectionStitch import CollectionStitch, MosaicByDate
|
|
4
4
|
from .GetPalette import get_palette
|
|
5
5
|
from .LandsatCollection import LandsatCollection
|
|
6
6
|
from .Sentinel1Collection import Sentinel1Collection
|
|
7
7
|
from .Sentinel2Collection import Sentinel2Collection
|
|
8
|
+
from .GenericCollection import GenericCollection
|
|
8
9
|
from .VisParams import get_visualization_params
|
|
9
10
|
|
|
10
11
|
__all__ = [
|
|
@@ -14,5 +15,6 @@ __all__ = [
|
|
|
14
15
|
"LandsatCollection",
|
|
15
16
|
"Sentinel1Collection",
|
|
16
17
|
"Sentinel2Collection",
|
|
18
|
+
"GenericCollection",
|
|
17
19
|
"get_visualization_params",
|
|
18
20
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RadGEEToolbox
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: Streamlined Multispectral & SAR Analysis for Google Earth Engine Python API
|
|
5
5
|
Home-page: https://github.com/radwinskis/RadGEEToolbox
|
|
6
6
|
Author: Mark Radwin
|
|
@@ -37,12 +37,14 @@ Dynamic: requires-python
|
|
|
37
37
|
|
|
38
38
|
### [See documentation here](https://radgeetoolbox.readthedocs.io/en/latest/)
|
|
39
39
|
|
|
40
|
-
**RadGEEToolbox** is an open-source Python package that simplifies the processing and analysis of satellite imagery using the Google Earth Engine Python API
|
|
40
|
+
**RadGEEToolbox** is an open-source Python package that **simplifies the processing and analysis of satellite imagery using the Google Earth Engine Python API**. It provides **ready-to-use tools for filtering, masking, mosaicking, image/band management, spectral index calculations, and extracting statistics** from multispectral (Landsat, Sentinel-2) and SAR (Sentinel-1) datasets.
|
|
41
41
|
|
|
42
42
|
Designed for both new and advanced users of Google Earth Engine, RadGEEToolbox minimizes repetitive scripting, accelerates common remote sensing workflows, and aims to maximize efficiency within the constraints of the Google Earth Engine API. Whether you’re building a time series of vegetation indices or extracting surface properties along transects, this package helps get results faster.
|
|
43
43
|
|
|
44
44
|
Although similar packages exist (eemont, geetools, etc.), `RadGEEToolbox` extends functionality and provides cohesive, chainable methods for research oriented projects working with Landsat TM & OLI, Sentinel-1 SAR, and/or Sentinel-2 MSI datasets (Table 1). The ultimate goal of `RadGEEToolbox` is to make satellite image processing easier and faster for real world applications relying on the most commonly utilized remote sensing platforms.
|
|
45
45
|
|
|
46
|
+
As of version `1.7.0`, `RadGEEToolbox` supports any generic image collection via the `GenericCollection` module which allows for utilization of the same data management, temporal reduction, zonal statistics, and data export tools available for the `LandsatCollection`, `Sentinel1Collection`, and `Sentinel2Collection` modules. This allows users to provide their own image collection of choice, such as PRISM or MODIS data, to benefit from the tools available with `RadGEEToolbox`.
|
|
47
|
+
|
|
46
48
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
47
49
|
|
|
48
50
|
| Capability | **RadGEEToolbox** | **eemont** | **geetools** |
|
|
@@ -53,13 +55,16 @@ Although similar packages exist (eemont, geetools, etc.), `RadGEEToolbox` extend
|
|
|
53
55
|
| **Area Time-series Extraction** | **YES** | NO | NO |
|
|
54
56
|
| **Transect Time-series Extraction** | **YES** | NO | NO |
|
|
55
57
|
| **Comprehensive Preprocessing Operations** | **YES** | **YES** | **YES** |
|
|
56
|
-
| **Reflectance Scaling
|
|
58
|
+
| **Reflectance Scaling** | **YES** | **YES** | **YES** |
|
|
59
|
+
| **Land Surface Temperature Calculation (Landsat)** | **YES** | NO | NO |
|
|
57
60
|
| **Narrowband to Broadband Albedo Calculation** | **YES** | NO | NO |
|
|
58
61
|
| **Built-in Spectral Index Calculations** | **YES** | **YES** | **YES** |
|
|
59
|
-
| **
|
|
62
|
+
| **Anomaly (Deviation from Mean) Calculations** | **YES** | NO | NO |
|
|
63
|
+
| **Image Masking for Classified Images** | **YES** | NO | NO |
|
|
64
|
+
| **Merging of Multiple Collections** | **YES** | NO | NO |
|
|
60
65
|
| **Image Selection by Date or Index** | **YES** | **YES** | NO |
|
|
61
66
|
| **Visualization Presets/Tools** | **YES** | NO | NO |
|
|
62
|
-
|
|
67
|
+
| **Batch Export to GEE Asset** | **YES** | **YES** | **YES** |
|
|
63
68
|
_________
|
|
64
69
|
## Getting Started with Google Earth Engine
|
|
65
70
|
|
|
@@ -128,12 +133,16 @@ _________
|
|
|
128
133
|
## Key Features
|
|
129
134
|
|
|
130
135
|
- Modular tools for processing **Landsat, Sentinel-1 SAR, and Sentinel-2** imagery
|
|
131
|
-
- Efficient filtering, masking, and mosaicking of Earth Engine image collections
|
|
136
|
+
- Efficient filtering, **cloud/shadow/water masking, threshold masking, spectral classification, and mosaicking** of Earth Engine image collections
|
|
137
|
+
- Collection management such as **collection merging and band renaming**
|
|
132
138
|
- Built-in support for computing **spectral indices** (see below for complete list)
|
|
139
|
+
- **Temporal reductions** (mean, median, min, etc.) and **monthly median/mean/min/max** functionality
|
|
140
|
+
- Image anomaly calculation
|
|
133
141
|
- SAR utilities for **multilooking**, **speckle filtering**, and **backscatter conversion**
|
|
134
|
-
- Automated and flexible extraction of **transect and zonal statistics** across image collections
|
|
142
|
+
- Automated and flexible extraction of **transect and zonal statistics (supporting multiple coordinates or geometries)** across image collections
|
|
135
143
|
- Easy conversion between RadGEEToolbox and standard Earth Engine objects
|
|
136
144
|
- Server-side–friendly workflows and caching for **faster, scalable** processing
|
|
145
|
+
- Automatically **batch export image collections to GEE assets**
|
|
137
146
|
|
|
138
147
|
**List of all spectral index calculations available for
|
|
139
148
|
Landsat (TM & OLI) and Sentinel-2 (MSI) imagery:**
|
|
@@ -158,7 +167,7 @@ Landsat (TM & OLI) and Sentinel-2 (MSI) imagery:**
|
|
|
158
167
|
|
|
159
168
|
Features of `RadGEEToolbox` will be expanded in the future - if there is something you would like to see implemented in `RadGEEToolbox`, please open an issue or discussion on GitHub.
|
|
160
169
|
|
|
161
|
-
🔍 For a full breakdown of available tools, see the [RadGEEToolbox documentation »](https://radgeetoolbox.readthedocs.io/en/latest/)
|
|
170
|
+
🔍 For a full breakdown of available features and tools, see the [RadGEEToolbox documentation »](https://radgeetoolbox.readthedocs.io/en/latest/)
|
|
162
171
|
|
|
163
172
|
_____________
|
|
164
173
|
|
|
@@ -172,15 +181,15 @@ _____________
|
|
|
172
181
|
|
|
173
182
|
### Installing via pip
|
|
174
183
|
|
|
175
|
-
To install `RadGEEToolbox` version 1.
|
|
184
|
+
To install `RadGEEToolbox` version 1.7.0 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
176
185
|
|
|
177
186
|
```bash
|
|
178
|
-
pip install RadGEEToolbox==1.
|
|
187
|
+
pip install RadGEEToolbox==1.7.0
|
|
179
188
|
```
|
|
180
189
|
|
|
181
190
|
### Installing via Conda
|
|
182
191
|
|
|
183
|
-
To install `RadGEEToolbox` version 1.
|
|
192
|
+
To install `RadGEEToolbox` version 1.7.0 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
184
193
|
|
|
185
194
|
```bash
|
|
186
195
|
conda install conda-forge::radgeetoolbox
|
|
@@ -211,7 +220,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
211
220
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
212
221
|
```
|
|
213
222
|
|
|
214
|
-
You should see `1.
|
|
223
|
+
You should see `1.7.0` printed as the version number.
|
|
215
224
|
|
|
216
225
|
### Want to Visualize Data? Install These Too
|
|
217
226
|
|
|
@@ -251,7 +260,7 @@ from RadGEEToolbox import LandsatCollection
|
|
|
251
260
|
|
|
252
261
|
# 2. Authenticate & Initialize GEE API
|
|
253
262
|
ee.Authenticate()
|
|
254
|
-
ee.Initialize(project='my-cloud-project-ID) #replace with your Google Cloud project ID
|
|
263
|
+
ee.Initialize(project='my-cloud-project-ID') #replace with your Google Cloud project ID
|
|
255
264
|
|
|
256
265
|
# 3. Define study area boundary - in this case Lake Powell, Utah
|
|
257
266
|
study_area = ee.Geometry.Polygon(
|
|
@@ -288,6 +297,7 @@ water_classification_maps = cloud_masked_collection.ndwi_collection(
|
|
|
288
297
|
threshold=0
|
|
289
298
|
)
|
|
290
299
|
```
|
|
300
|
+
Then, explore images from `water_classification_maps` as shown below either by exporting to a GEE asset for download, or by using `geemap` 👇
|
|
291
301
|
|
|
292
302
|

|
|
293
303
|
|
|
@@ -302,8 +312,9 @@ calculate_water_area = cloud_masked_NDWI_collection.PixelAreaSumCollection(
|
|
|
302
312
|
scale=90 #pixel size for zonal statistics
|
|
303
313
|
)
|
|
304
314
|
water_area_time_series = calculate_water_area.ExtractProperties('ndwi')
|
|
305
|
-
print('List of square meters of water in images:', water_area_time_series)
|
|
306
315
|
```
|
|
316
|
+
Then, directly plot `water_area_time_series` using Matplotlib as shown below 👇
|
|
317
|
+
|
|
307
318
|
|
|
308
319
|

|
|
309
320
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
RadGEEToolbox/CollectionStitch.py,sha256=dLRzJZLZ1QTJqqbWPElyTjxb1m0T_WuBTo6wNzcCXq4,3884
|
|
2
|
+
RadGEEToolbox/GenericCollection.py,sha256=jEges6kTn4JXA7dBLrByYhKVli4LIlMS3ndh4ME6xNg,130817
|
|
3
|
+
RadGEEToolbox/GetPalette.py,sha256=YpAE9lzI5aXWHJKs1SXwZ62e8nKo8zfjKSpz5oJQSA8,2872
|
|
4
|
+
RadGEEToolbox/LandsatCollection.py,sha256=Zc0vlFoCE7UuhBKSODpOIEC3oG4RmdJEXFnedSnK6B8,178197
|
|
5
|
+
RadGEEToolbox/Sentinel1Collection.py,sha256=w18ebXjhgBgh2_ZBbThd1xlT-C3gGtREFUpcqWlbdh0,93333
|
|
6
|
+
RadGEEToolbox/Sentinel2Collection.py,sha256=V1N8q4sk_GvoJUUonEcBYEvHI4beTaNFl2GBbG03ozY,147513
|
|
7
|
+
RadGEEToolbox/VisParams.py,sha256=4aQV4l_IA-CjMBUXYDDLQ2fQyA3USSRN0A3VY07dGQ8,8571
|
|
8
|
+
RadGEEToolbox/__init__.py,sha256=ISa20_SfGMR-B4GMsoRMhi8QJF6rSEjOfxR8fwKSt90,623
|
|
9
|
+
radgeetoolbox-1.7.0.dist-info/licenses/LICENSE.txt,sha256=5Xj9dwVkawz6d8zhCwJy0SmXvm0U4K_msJnOrkHLO1w,1089
|
|
10
|
+
radgeetoolbox-1.7.0.dist-info/METADATA,sha256=97vdZE6HZfatWd-Tu0kUUxncYEO-_i8yFUITNaiOZyk,16891
|
|
11
|
+
radgeetoolbox-1.7.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
+
radgeetoolbox-1.7.0.dist-info/top_level.txt,sha256=W2E520tugQoptDkhctKFbzsheL2l_DyYLKqKXkD9G_E,14
|
|
13
|
+
radgeetoolbox-1.7.0.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
RadGEEToolbox/CollectionStitch.py,sha256=dLRzJZLZ1QTJqqbWPElyTjxb1m0T_WuBTo6wNzcCXq4,3884
|
|
2
|
-
RadGEEToolbox/GetPalette.py,sha256=YpAE9lzI5aXWHJKs1SXwZ62e8nKo8zfjKSpz5oJQSA8,2872
|
|
3
|
-
RadGEEToolbox/LandsatCollection.py,sha256=HlO-J2occ5Do5tCijI-cR1OJsbX_Zz7qASuLO-cMRYQ,146542
|
|
4
|
-
RadGEEToolbox/Sentinel1Collection.py,sha256=mG0JiRcds5oyjNtOrToMTQunBaJgwZJsvM8gIpfTypc,87632
|
|
5
|
-
RadGEEToolbox/Sentinel2Collection.py,sha256=Y4aAupQgx6H9-oRZN9u7Qyc4pR2gWVGnkoqLt6hSQtM,116567
|
|
6
|
-
RadGEEToolbox/VisParams.py,sha256=4aQV4l_IA-CjMBUXYDDLQ2fQyA3USSRN0A3VY07dGQ8,8571
|
|
7
|
-
RadGEEToolbox/__init__.py,sha256=ef7g5CJ2yM82g3fFlJc0wVcC-9qRN-B_uibyz8At1Lo,530
|
|
8
|
-
radgeetoolbox-1.6.9.dist-info/licenses/LICENSE.txt,sha256=5Xj9dwVkawz6d8zhCwJy0SmXvm0U4K_msJnOrkHLO1w,1089
|
|
9
|
-
radgeetoolbox-1.6.9.dist-info/METADATA,sha256=KTRVJ2W4wLn-_L-eaZB6dWJWbQa3onEfKJInNJk4Fs4,15571
|
|
10
|
-
radgeetoolbox-1.6.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
-
radgeetoolbox-1.6.9.dist-info/top_level.txt,sha256=W2E520tugQoptDkhctKFbzsheL2l_DyYLKqKXkD9G_E,14
|
|
12
|
-
radgeetoolbox-1.6.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|