RadGEEToolbox 1.7.1__tar.gz → 1.7.2__tar.gz
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-1.7.1 → radgeetoolbox-1.7.2}/PKG-INFO +6 -6
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/README.md +5 -5
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/GenericCollection.py +6 -3
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/LandsatCollection.py +6 -3
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/Sentinel1Collection.py +6 -3
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/Sentinel2Collection.py +6 -3
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/__init__.py +1 -1
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox.egg-info/PKG-INFO +6 -6
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/pyproject.toml +1 -1
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/setup.py +1 -1
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/LICENSE.txt +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/CollectionStitch.py +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/GetPalette.py +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox/VisParams.py +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox.egg-info/SOURCES.txt +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox.egg-info/dependency_links.txt +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox.egg-info/requires.txt +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/RadGEEToolbox.egg-info/top_level.txt +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/setup.cfg +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/tests/test_landsat_collection.py +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/tests/test_sentinel1_collection.py +0 -0
- {radgeetoolbox-1.7.1 → radgeetoolbox-1.7.2}/tests/test_sentinel2_collection.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RadGEEToolbox
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
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
|
|
@@ -43,7 +43,7 @@ Designed for both new and advanced users of Google Earth Engine, RadGEEToolbox m
|
|
|
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.
|
|
46
|
+
As of version `1.7.2`, `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
47
|
|
|
48
48
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
49
49
|
|
|
@@ -181,15 +181,15 @@ _____________
|
|
|
181
181
|
|
|
182
182
|
### Installing via pip
|
|
183
183
|
|
|
184
|
-
To install `RadGEEToolbox` version 1.7.
|
|
184
|
+
To install `RadGEEToolbox` version 1.7.2 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
185
185
|
|
|
186
186
|
```bash
|
|
187
|
-
pip install RadGEEToolbox==1.7.
|
|
187
|
+
pip install RadGEEToolbox==1.7.2
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
### Installing via Conda
|
|
191
191
|
|
|
192
|
-
To install `RadGEEToolbox` version 1.7.
|
|
192
|
+
To install `RadGEEToolbox` version 1.7.2 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
193
193
|
|
|
194
194
|
```bash
|
|
195
195
|
conda install conda-forge::radgeetoolbox
|
|
@@ -220,7 +220,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
220
220
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
You should see `1.7.
|
|
223
|
+
You should see `1.7.2` printed as the version number.
|
|
224
224
|
|
|
225
225
|
### Want to Visualize Data? Install These Too
|
|
226
226
|
|
|
@@ -14,7 +14,7 @@ Designed for both new and advanced users of Google Earth Engine, RadGEEToolbox m
|
|
|
14
14
|
|
|
15
15
|
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.
|
|
16
16
|
|
|
17
|
-
As of version `1.7.
|
|
17
|
+
As of version `1.7.2`, `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`.
|
|
18
18
|
|
|
19
19
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
20
20
|
|
|
@@ -152,15 +152,15 @@ _____________
|
|
|
152
152
|
|
|
153
153
|
### Installing via pip
|
|
154
154
|
|
|
155
|
-
To install `RadGEEToolbox` version 1.7.
|
|
155
|
+
To install `RadGEEToolbox` version 1.7.2 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
|
-
pip install RadGEEToolbox==1.7.
|
|
158
|
+
pip install RadGEEToolbox==1.7.2
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
### Installing via Conda
|
|
162
162
|
|
|
163
|
-
To install `RadGEEToolbox` version 1.7.
|
|
163
|
+
To install `RadGEEToolbox` version 1.7.2 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
164
164
|
|
|
165
165
|
```bash
|
|
166
166
|
conda install conda-forge::radgeetoolbox
|
|
@@ -191,7 +191,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
191
191
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
You should see `1.7.
|
|
194
|
+
You should see `1.7.2` printed as the version number.
|
|
195
195
|
|
|
196
196
|
### Want to Visualize Data? Install These Too
|
|
197
197
|
|
|
@@ -365,17 +365,18 @@ class GenericCollection:
|
|
|
365
365
|
# Storing the result in the instance variable to avoid redundant calculations
|
|
366
366
|
self._PixelAreaSumCollection = AreaCollection
|
|
367
367
|
|
|
368
|
+
prop_names = band_name if isinstance(band_name, list) else [band_name]
|
|
369
|
+
|
|
368
370
|
# If an export path is provided, the area data will be exported to a CSV file
|
|
369
371
|
if area_data_export_path:
|
|
370
|
-
GenericCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
371
|
-
|
|
372
|
+
GenericCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names, file_path=area_data_export_path+'.csv')
|
|
372
373
|
# Returning the result in the desired format based on output_type argument or raising an error for invalid input
|
|
373
374
|
if output_type == 'ImageCollection' or output_type == 'ee.ImageCollection':
|
|
374
375
|
return self._PixelAreaSumCollection
|
|
375
376
|
elif output_type == 'GenericCollection':
|
|
376
377
|
return GenericCollection(collection=self._PixelAreaSumCollection)
|
|
377
378
|
elif output_type == 'DataFrame' or output_type == 'Pandas' or output_type == 'pd' or output_type == 'dataframe' or output_type == 'df':
|
|
378
|
-
return GenericCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
379
|
+
return GenericCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names)
|
|
379
380
|
else:
|
|
380
381
|
raise ValueError("Incorrect `output_type`. The `output_type` argument must be one of the following: 'ImageCollection', 'ee.ImageCollection', 'GenericCollection', 'DataFrame', 'Pandas', 'pd', 'dataframe', or 'df'.")
|
|
381
382
|
|
|
@@ -552,6 +553,8 @@ class GenericCollection:
|
|
|
552
553
|
# Ensure property_names is a list for consistent processing
|
|
553
554
|
if isinstance(property_names, str):
|
|
554
555
|
property_names = [property_names]
|
|
556
|
+
elif isinstance(property_names, list):
|
|
557
|
+
property_names = property_names
|
|
555
558
|
|
|
556
559
|
# Ensure properties are included without duplication, including 'Date_Filter'
|
|
557
560
|
all_properties_to_fetch = list(set(['Date_Filter'] + property_names))
|
|
@@ -1260,17 +1260,18 @@ class LandsatCollection:
|
|
|
1260
1260
|
# Storing the result in the instance variable to avoid redundant calculations
|
|
1261
1261
|
self._PixelAreaSumCollection = AreaCollection
|
|
1262
1262
|
|
|
1263
|
+
prop_names = band_name if isinstance(band_name, list) else [band_name]
|
|
1264
|
+
|
|
1263
1265
|
# If an export path is provided, the area data will be exported to a CSV file
|
|
1264
1266
|
if area_data_export_path:
|
|
1265
|
-
LandsatCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
1266
|
-
|
|
1267
|
+
LandsatCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names, file_path=area_data_export_path+'.csv')
|
|
1267
1268
|
# Returning the result in the desired format based on output_type argument or raising an error for invalid input
|
|
1268
1269
|
if output_type == 'ImageCollection' or output_type == 'ee.ImageCollection':
|
|
1269
1270
|
return self._PixelAreaSumCollection
|
|
1270
1271
|
elif output_type == 'LandsatCollection':
|
|
1271
1272
|
return LandsatCollection(collection=self._PixelAreaSumCollection)
|
|
1272
1273
|
elif output_type == 'DataFrame' or output_type == 'Pandas' or output_type == 'pd' or output_type == 'dataframe' or output_type == 'df':
|
|
1273
|
-
return LandsatCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
1274
|
+
return LandsatCollection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names)
|
|
1274
1275
|
else:
|
|
1275
1276
|
raise ValueError("Incorrect `output_type`. The `output_type` argument must be one of the following: 'ImageCollection', 'ee.ImageCollection', 'LandsatCollection', 'DataFrame', 'Pandas', 'pd', 'dataframe', or 'df'.")
|
|
1276
1277
|
|
|
@@ -1518,6 +1519,8 @@ class LandsatCollection:
|
|
|
1518
1519
|
# Ensure property_names is a list for consistent processing
|
|
1519
1520
|
if isinstance(property_names, str):
|
|
1520
1521
|
property_names = [property_names]
|
|
1522
|
+
elif isinstance(property_names, list):
|
|
1523
|
+
property_names = property_names
|
|
1521
1524
|
|
|
1522
1525
|
# Ensure properties are included without duplication, including 'Date_Filter'
|
|
1523
1526
|
all_properties_to_fetch = list(set(['Date_Filter'] + property_names))
|
|
@@ -339,17 +339,18 @@ class Sentinel1Collection:
|
|
|
339
339
|
# Storing the result in the instance variable to avoid redundant calculations
|
|
340
340
|
self._PixelAreaSumCollection = AreaCollection
|
|
341
341
|
|
|
342
|
+
prop_names = band_name if isinstance(band_name, list) else [band_name]
|
|
343
|
+
|
|
342
344
|
# If an export path is provided, the area data will be exported to a CSV file
|
|
343
345
|
if area_data_export_path:
|
|
344
|
-
Sentinel1Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
345
|
-
|
|
346
|
+
Sentinel1Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names, file_path=area_data_export_path+'.csv')
|
|
346
347
|
# Returning the result in the desired format based on output_type argument or raising an error for invalid input
|
|
347
348
|
if output_type == 'ImageCollection' or output_type == 'ee.ImageCollection':
|
|
348
349
|
return self._PixelAreaSumCollection
|
|
349
350
|
elif output_type == 'Sentinel1Collection':
|
|
350
351
|
return Sentinel1Collection(collection=self._PixelAreaSumCollection)
|
|
351
352
|
elif output_type == 'DataFrame' or output_type == 'Pandas' or output_type == 'pd' or output_type == 'dataframe' or output_type == 'df':
|
|
352
|
-
return Sentinel1Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
353
|
+
return Sentinel1Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names)
|
|
353
354
|
else:
|
|
354
355
|
raise ValueError("Incorrect `output_type`. The `output_type` argument must be one of the following: 'ImageCollection', 'ee.ImageCollection', 'Sentinel1Collection', 'DataFrame', 'Pandas', 'pd', 'dataframe', or 'df'.")
|
|
355
356
|
|
|
@@ -853,6 +854,8 @@ class Sentinel1Collection:
|
|
|
853
854
|
# Ensure property_names is a list for consistent processing
|
|
854
855
|
if isinstance(property_names, str):
|
|
855
856
|
property_names = [property_names]
|
|
857
|
+
elif isinstance(property_names, list):
|
|
858
|
+
property_names = property_names
|
|
856
859
|
|
|
857
860
|
# Ensure properties are included without duplication, including 'Date_Filter'
|
|
858
861
|
all_properties_to_fetch = list(set(['Date_Filter'] + property_names))
|
|
@@ -844,17 +844,18 @@ class Sentinel2Collection:
|
|
|
844
844
|
# Storing the result in the instance variable to avoid redundant calculations
|
|
845
845
|
self._PixelAreaSumCollection = AreaCollection
|
|
846
846
|
|
|
847
|
+
prop_names = band_name if isinstance(band_name, list) else [band_name]
|
|
848
|
+
|
|
847
849
|
# If an export path is provided, the area data will be exported to a CSV file
|
|
848
850
|
if area_data_export_path:
|
|
849
|
-
Sentinel2Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
850
|
-
|
|
851
|
+
Sentinel2Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names, file_path=area_data_export_path+'.csv')
|
|
851
852
|
# Returning the result in the desired format based on output_type argument or raising an error for invalid input
|
|
852
853
|
if output_type == 'ImageCollection' or output_type == 'ee.ImageCollection':
|
|
853
854
|
return self._PixelAreaSumCollection
|
|
854
855
|
elif output_type == 'Sentinel2Collection':
|
|
855
856
|
return Sentinel2Collection(collection=self._PixelAreaSumCollection)
|
|
856
857
|
elif output_type == 'DataFrame' or output_type == 'Pandas' or output_type == 'pd' or output_type == 'dataframe' or output_type == 'df':
|
|
857
|
-
return Sentinel2Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=
|
|
858
|
+
return Sentinel2Collection(collection=self._PixelAreaSumCollection).ExportProperties(property_names=prop_names)
|
|
858
859
|
else:
|
|
859
860
|
raise ValueError("Incorrect `output_type`. The `output_type` argument must be one of the following: 'ImageCollection', 'ee.ImageCollection', 'Sentinel2Collection', 'DataFrame', 'Pandas', 'pd', 'dataframe', or 'df'.")
|
|
860
861
|
|
|
@@ -1010,6 +1011,8 @@ class Sentinel2Collection:
|
|
|
1010
1011
|
# Ensure property_names is a list for consistent processing
|
|
1011
1012
|
if isinstance(property_names, str):
|
|
1012
1013
|
property_names = [property_names]
|
|
1014
|
+
elif isinstance(property_names, list):
|
|
1015
|
+
property_names = property_names
|
|
1013
1016
|
|
|
1014
1017
|
# Ensure properties are included without duplication, including 'Date_Filter'
|
|
1015
1018
|
all_properties_to_fetch = list(set(['Date_Filter'] + property_names))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RadGEEToolbox
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
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
|
|
@@ -43,7 +43,7 @@ Designed for both new and advanced users of Google Earth Engine, RadGEEToolbox m
|
|
|
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.
|
|
46
|
+
As of version `1.7.2`, `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
47
|
|
|
48
48
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
49
49
|
|
|
@@ -181,15 +181,15 @@ _____________
|
|
|
181
181
|
|
|
182
182
|
### Installing via pip
|
|
183
183
|
|
|
184
|
-
To install `RadGEEToolbox` version 1.7.
|
|
184
|
+
To install `RadGEEToolbox` version 1.7.2 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
185
185
|
|
|
186
186
|
```bash
|
|
187
|
-
pip install RadGEEToolbox==1.7.
|
|
187
|
+
pip install RadGEEToolbox==1.7.2
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
### Installing via Conda
|
|
191
191
|
|
|
192
|
-
To install `RadGEEToolbox` version 1.7.
|
|
192
|
+
To install `RadGEEToolbox` version 1.7.2 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
193
193
|
|
|
194
194
|
```bash
|
|
195
195
|
conda install conda-forge::radgeetoolbox
|
|
@@ -220,7 +220,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
220
220
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
You should see `1.7.
|
|
223
|
+
You should see `1.7.2` printed as the version number.
|
|
224
224
|
|
|
225
225
|
### Want to Visualize Data? Install These Too
|
|
226
226
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "RadGEEToolbox"
|
|
7
|
-
version = "1.7.
|
|
7
|
+
version = "1.7.2"
|
|
8
8
|
description = "Streamlined Multispectral & SAR Analysis for Google Earth Engine Python API"
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "Mark Radwin", email = "markradwin@gmail.com"}
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="RadGEEToolbox",
|
|
5
|
-
version="1.7.
|
|
5
|
+
version="1.7.2",
|
|
6
6
|
author="Mark Radwin",
|
|
7
7
|
author_email="markradwin@gmail.com",
|
|
8
8
|
description="Streamlined Multispectral & SAR Analysis for Google Earth Engine Python API",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|