RadGEEToolbox 1.7.3__tar.gz → 1.7.5__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.
Files changed (23) hide show
  1. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/PKG-INFO +6 -6
  2. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/README.md +5 -5
  3. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/CollectionStitch.py +16 -3
  4. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/Export.py +16 -0
  5. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/GenericCollection.py +698 -202
  6. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/LandsatCollection.py +818 -218
  7. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/Sentinel1Collection.py +734 -204
  8. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/Sentinel2Collection.py +771 -219
  9. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/__init__.py +4 -4
  10. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox.egg-info/PKG-INFO +6 -6
  11. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/pyproject.toml +1 -1
  12. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/setup.py +1 -1
  13. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/tests/test_landsat_collection.py +1 -1
  14. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/tests/test_sentinel1_collection.py +1 -1
  15. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/tests/test_sentinel2_collection.py +1 -1
  16. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/LICENSE.txt +0 -0
  17. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/GetPalette.py +0 -0
  18. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox/VisParams.py +0 -0
  19. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox.egg-info/SOURCES.txt +0 -0
  20. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox.egg-info/dependency_links.txt +0 -0
  21. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox.egg-info/requires.txt +0 -0
  22. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/RadGEEToolbox.egg-info/top_level.txt +0 -0
  23. {radgeetoolbox-1.7.3 → radgeetoolbox-1.7.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RadGEEToolbox
3
- Version: 1.7.3
3
+ Version: 1.7.5
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.3`, `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`.
46
+ As of version `1.7.5`, `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
 
@@ -185,15 +185,15 @@ _____________
185
185
 
186
186
  ### Installing via pip
187
187
 
188
- To install `RadGEEToolbox` version 1.7.3 using pip (NOTE: it is recommended to create a new virtual environment):
188
+ To install `RadGEEToolbox` version 1.7.5 using pip (NOTE: it is recommended to create a new virtual environment):
189
189
 
190
190
  ```bash
191
- pip install RadGEEToolbox==1.7.3
191
+ pip install RadGEEToolbox==1.7.5
192
192
  ```
193
193
 
194
194
  ### Installing via Conda
195
195
 
196
- To install `RadGEEToolbox` version 1.7.3 using conda-forge (NOTE: it is recommended to create a new virtual environment):
196
+ To install `RadGEEToolbox` version 1.7.5 using conda-forge (NOTE: it is recommended to create a new virtual environment):
197
197
 
198
198
  ```bash
199
199
  conda install conda-forge::radgeetoolbox
@@ -224,7 +224,7 @@ To verify that `RadGEEToolbox` was installed correctly:
224
224
  python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
225
225
  ```
226
226
 
227
- You should see `1.7.3` printed as the version number.
227
+ You should see `1.7.5` printed as the version number.
228
228
 
229
229
  ### Want to Visualize Data? Install These Too
230
230
 
@@ -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.3`, `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`.
17
+ As of version `1.7.5`, `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
 
@@ -156,15 +156,15 @@ _____________
156
156
 
157
157
  ### Installing via pip
158
158
 
159
- To install `RadGEEToolbox` version 1.7.3 using pip (NOTE: it is recommended to create a new virtual environment):
159
+ To install `RadGEEToolbox` version 1.7.5 using pip (NOTE: it is recommended to create a new virtual environment):
160
160
 
161
161
  ```bash
162
- pip install RadGEEToolbox==1.7.3
162
+ pip install RadGEEToolbox==1.7.5
163
163
  ```
164
164
 
165
165
  ### Installing via Conda
166
166
 
167
- To install `RadGEEToolbox` version 1.7.3 using conda-forge (NOTE: it is recommended to create a new virtual environment):
167
+ To install `RadGEEToolbox` version 1.7.5 using conda-forge (NOTE: it is recommended to create a new virtual environment):
168
168
 
169
169
  ```bash
170
170
  conda install conda-forge::radgeetoolbox
@@ -195,7 +195,7 @@ To verify that `RadGEEToolbox` was installed correctly:
195
195
  python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
196
196
  ```
197
197
 
198
- You should see `1.7.3` printed as the version number.
198
+ You should see `1.7.5` printed as the version number.
199
199
 
200
200
  ### Want to Visualize Data? Install These Too
201
201
 
@@ -1,7 +1,7 @@
1
1
  import ee
2
+ import warnings
2
3
 
3
-
4
- def CollectionStitch(img_col1, img_col2, copy_properties_from=1):
4
+ def collectionStitch(img_col1, img_col2, copy_properties_from=1):
5
5
  """
6
6
  Function to mosaic two RadGEETools image collection objects which share image dates.
7
7
  Mosaics are only formed for dates where both image collections have images. Server-side friendly.
@@ -42,8 +42,14 @@ def CollectionStitch(img_col1, img_col2, copy_properties_from=1):
42
42
  new_col = ee.ImageCollection.fromImages(image_list)
43
43
  return new_col
44
44
 
45
+ def CollectionStitch(img_col1, img_col2, copy_properties_from=1):
46
+ warnings.warn(
47
+ "CollectionStitch is deprecated. Please use collectionStitch instead.",
48
+ DeprecationWarning,
49
+ stacklevel=2)
50
+ return collectionStitch(img_col1, img_col2, copy_properties_from)
45
51
 
46
- def MosaicByDate(img_col):
52
+ def mosaicByDate(img_col):
47
53
  """
48
54
  Function to mosaic collection images that share the same date. Server-side friendly. Requires images to have date property of "Date_Filter"
49
55
 
@@ -80,3 +86,10 @@ def MosaicByDate(img_col):
80
86
 
81
87
  # Convert the list of mosaics to an ImageCollection
82
88
  return new_col
89
+
90
+ def MosaicByDate(img_col):
91
+ warnings.warn(
92
+ "MosaicByDate is deprecated. Please use mosaicByDate instead.",
93
+ DeprecationWarning,
94
+ stacklevel=2)
95
+ return mosaicByDate(img_col)
@@ -11,6 +11,22 @@ class ExportToDrive:
11
11
  `.dates` property for naming files, ensuring readable filenames (e.g., 'MyExport_2023-06-01')
12
12
  instead of long system IDs.
13
13
 
14
+ IMPORTANT: After creating an instance of this class, you must call the `export()` method
15
+ to initiate the export process.
16
+
17
+ For example, to export a RadGEEToolbox collection:
18
+ ```python
19
+ collection = LandsatCollection(...) # Assume this is a RadGEEToolbox object
20
+ exporter = ExportToDrive(
21
+ input_data=collection,
22
+ description="Landsat_Export",
23
+ folder="GEE_Exports",
24
+ scale=30,
25
+ name_pattern="{date}",
26
+ )
27
+ exporter.export()
28
+ ```
29
+
14
30
  Args:
15
31
  input_data (ee.Image, ee.ImageCollection, or RadGEEToolbox object): The data to export.
16
32
  Can be a single image, a collection, or a RadGEEToolbox wrapper object.