RadGEEToolbox 1.6.6__tar.gz → 1.6.7__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.6.6 → radgeetoolbox-1.6.7}/PKG-INFO +6 -6
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/README.md +5 -5
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/__init__.py +1 -1
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox.egg-info/PKG-INFO +6 -6
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox.egg-info/SOURCES.txt +4 -1
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/pyproject.toml +1 -1
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/setup.py +1 -1
- radgeetoolbox-1.6.7/tests/test_landsat_collection.py +15 -0
- radgeetoolbox-1.6.7/tests/test_sentinel1_collection.py +30 -0
- radgeetoolbox-1.6.7/tests/test_sentinel2_collection.py +15 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/LICENSE.txt +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/CollectionStitch.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/GetPalette.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/LandsatCollection.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/Sentinel1Collection.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/Sentinel2Collection.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox/VisParams.py +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox.egg-info/dependency_links.txt +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox.egg-info/requires.txt +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/RadGEEToolbox.egg-info/top_level.txt +0 -0
- {radgeetoolbox-1.6.6 → radgeetoolbox-1.6.7}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RadGEEToolbox
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.7
|
|
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
|
|
@@ -46,7 +46,7 @@ Although similar packages exist (eemont, geetools, etc.), `RadGEEToolbox` extend
|
|
|
46
46
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
47
47
|
|
|
48
48
|
| Capability | **RadGEEToolbox** | **eemont** | **geetools** |
|
|
49
|
-
|
|
49
|
+
|:--------------:|:---:|:---:|:---:|
|
|
50
50
|
| **Dataset & Workflow Specific API's** | **YES** | NO | NO |
|
|
51
51
|
| **Synthetic Aperture Radar (S1) Support** | **YES** | NO | NO |
|
|
52
52
|
| **Zonal Time-series Extraction** | **YES** | **YES** | **YES** |
|
|
@@ -149,15 +149,15 @@ _____________
|
|
|
149
149
|
|
|
150
150
|
### Installing via pip
|
|
151
151
|
|
|
152
|
-
To install `RadGEEToolbox` version 1.6.
|
|
152
|
+
To install `RadGEEToolbox` version 1.6.7 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
|
-
pip install RadGEEToolbox==1.6.
|
|
155
|
+
pip install RadGEEToolbox==1.6.7
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
### Installing via Conda
|
|
159
159
|
|
|
160
|
-
To install `RadGEEToolbox` version 1.6.
|
|
160
|
+
To install `RadGEEToolbox` version 1.6.7 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
163
|
conda install conda-forge::radgeetoolbox
|
|
@@ -188,7 +188,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
188
188
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
You should see `1.6.
|
|
191
|
+
You should see `1.6.7` printed as the version number.
|
|
192
192
|
|
|
193
193
|
### Want to Visualize Data? Install These Too
|
|
194
194
|
|
|
@@ -17,7 +17,7 @@ Although similar packages exist (eemont, geetools, etc.), `RadGEEToolbox` extend
|
|
|
17
17
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
18
18
|
|
|
19
19
|
| Capability | **RadGEEToolbox** | **eemont** | **geetools** |
|
|
20
|
-
|
|
20
|
+
|:--------------:|:---:|:---:|:---:|
|
|
21
21
|
| **Dataset & Workflow Specific API's** | **YES** | NO | NO |
|
|
22
22
|
| **Synthetic Aperture Radar (S1) Support** | **YES** | NO | NO |
|
|
23
23
|
| **Zonal Time-series Extraction** | **YES** | **YES** | **YES** |
|
|
@@ -120,15 +120,15 @@ _____________
|
|
|
120
120
|
|
|
121
121
|
### Installing via pip
|
|
122
122
|
|
|
123
|
-
To install `RadGEEToolbox` version 1.6.
|
|
123
|
+
To install `RadGEEToolbox` version 1.6.7 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
124
124
|
|
|
125
125
|
```bash
|
|
126
|
-
pip install RadGEEToolbox==1.6.
|
|
126
|
+
pip install RadGEEToolbox==1.6.7
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
### Installing via Conda
|
|
130
130
|
|
|
131
|
-
To install `RadGEEToolbox` version 1.6.
|
|
131
|
+
To install `RadGEEToolbox` version 1.6.7 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
134
|
conda install conda-forge::radgeetoolbox
|
|
@@ -159,7 +159,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
159
159
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
160
160
|
```
|
|
161
161
|
|
|
162
|
-
You should see `1.6.
|
|
162
|
+
You should see `1.6.7` printed as the version number.
|
|
163
163
|
|
|
164
164
|
### Want to Visualize Data? Install These Too
|
|
165
165
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RadGEEToolbox
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.7
|
|
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
|
|
@@ -46,7 +46,7 @@ Although similar packages exist (eemont, geetools, etc.), `RadGEEToolbox` extend
|
|
|
46
46
|
***Table 1.*** *Comparison of functionality between RadGEEToolbox, eemont, and geetools.*
|
|
47
47
|
|
|
48
48
|
| Capability | **RadGEEToolbox** | **eemont** | **geetools** |
|
|
49
|
-
|
|
49
|
+
|:--------------:|:---:|:---:|:---:|
|
|
50
50
|
| **Dataset & Workflow Specific API's** | **YES** | NO | NO |
|
|
51
51
|
| **Synthetic Aperture Radar (S1) Support** | **YES** | NO | NO |
|
|
52
52
|
| **Zonal Time-series Extraction** | **YES** | **YES** | **YES** |
|
|
@@ -149,15 +149,15 @@ _____________
|
|
|
149
149
|
|
|
150
150
|
### Installing via pip
|
|
151
151
|
|
|
152
|
-
To install `RadGEEToolbox` version 1.6.
|
|
152
|
+
To install `RadGEEToolbox` version 1.6.7 using pip (NOTE: it is recommended to create a new virtual environment):
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
|
-
pip install RadGEEToolbox==1.6.
|
|
155
|
+
pip install RadGEEToolbox==1.6.7
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
### Installing via Conda
|
|
159
159
|
|
|
160
|
-
To install `RadGEEToolbox` version 1.6.
|
|
160
|
+
To install `RadGEEToolbox` version 1.6.7 using conda-forge (NOTE: it is recommended to create a new virtual environment):
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
163
|
conda install conda-forge::radgeetoolbox
|
|
@@ -188,7 +188,7 @@ To verify that `RadGEEToolbox` was installed correctly:
|
|
|
188
188
|
python -c "import RadGEEToolbox; print(RadGEEToolbox.__version__)"
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
You should see `1.6.
|
|
191
|
+
You should see `1.6.7` printed as the version number.
|
|
192
192
|
|
|
193
193
|
### Want to Visualize Data? Install These Too
|
|
194
194
|
|
|
@@ -13,4 +13,7 @@ RadGEEToolbox.egg-info/PKG-INFO
|
|
|
13
13
|
RadGEEToolbox.egg-info/SOURCES.txt
|
|
14
14
|
RadGEEToolbox.egg-info/dependency_links.txt
|
|
15
15
|
RadGEEToolbox.egg-info/requires.txt
|
|
16
|
-
RadGEEToolbox.egg-info/top_level.txt
|
|
16
|
+
RadGEEToolbox.egg-info/top_level.txt
|
|
17
|
+
tests/test_landsat_collection.py
|
|
18
|
+
tests/test_sentinel1_collection.py
|
|
19
|
+
tests/test_sentinel2_collection.py
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "RadGEEToolbox"
|
|
7
|
-
version = "1.6.
|
|
7
|
+
version = "1.6.7"
|
|
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.6.
|
|
5
|
+
version="1.6.7",
|
|
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",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from RadGEEToolbox import LandsatCollection
|
|
2
|
+
import ee
|
|
3
|
+
|
|
4
|
+
def test_landsat_collection():
|
|
5
|
+
|
|
6
|
+
col = LandsatCollection(start_date='2023-06-01', end_date='2023-06-30', tile_row=32, tile_path=38)
|
|
7
|
+
dates = col.dates
|
|
8
|
+
assert isinstance(dates, list), "Expected dates to be a list - issue in defining base collection"
|
|
9
|
+
|
|
10
|
+
col_scaled = LandsatCollection(start_date='2023-06-01', end_date='2023-06-30', tile_row=32, tile_path=38, scale_bands=True)
|
|
11
|
+
scaled_dates = col_scaled.dates
|
|
12
|
+
assert isinstance(scaled_dates, list), "Expected scaled_dates to be a list - issue in defining reflectance scaled collection"
|
|
13
|
+
|
|
14
|
+
water_area = LandsatCollection.PixelAreaSum(image=col.ndwi.image_grab(-1), band_name='ndwi', geometry=col.ndwi.image_grab(-1).geometry(), threshold=0, scale=90)
|
|
15
|
+
assert water_area.getInfo().get('properties')['ndwi'] is not None, "Expected water_area to have a non-None value - issue in calculating pixel area sum for NDWI"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import ee
|
|
2
|
+
from RadGEEToolbox import Sentinel1Collection
|
|
3
|
+
|
|
4
|
+
def test_sentinel1_collection():
|
|
5
|
+
counties = ee.FeatureCollection('TIGER/2018/Counties')
|
|
6
|
+
salt_lake_county = counties.filter(ee.Filter.And(
|
|
7
|
+
ee.Filter.eq('NAME', 'Salt Lake'),
|
|
8
|
+
ee.Filter.eq('STATEFP', '49')))
|
|
9
|
+
salt_lake_geometry = salt_lake_county.geometry()
|
|
10
|
+
|
|
11
|
+
SAR_collection = Sentinel1Collection(
|
|
12
|
+
start_date='2024-05-01',
|
|
13
|
+
end_date='2024-05-31',
|
|
14
|
+
instrument_mode='IW',
|
|
15
|
+
polarization=['VV', 'VH'],
|
|
16
|
+
orbit_direction='DESCENDING',
|
|
17
|
+
boundary=salt_lake_geometry,
|
|
18
|
+
resolution_meters=10
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
SAR_collection = SAR_collection.mask_to_polygon(salt_lake_geometry)
|
|
22
|
+
|
|
23
|
+
dates = SAR_collection.dates
|
|
24
|
+
assert isinstance(dates, list), "Expected dates to be a list - issue in defining base collection or masking"
|
|
25
|
+
|
|
26
|
+
SAR_collection_sigma0 = SAR_collection.Sigma0FromDb
|
|
27
|
+
SAR_collection_multilooked = SAR_collection_sigma0.multilook(looks=4)
|
|
28
|
+
SAR_collection_multilooked_and_filtered = SAR_collection_multilooked.speckle_filter(5, geometry=salt_lake_geometry, looks=4)
|
|
29
|
+
multilooked_dates = SAR_collection_multilooked_and_filtered.dates
|
|
30
|
+
assert isinstance(multilooked_dates, list), "Expected multilooked_dates to be a list - issue in defining multilooked and filtered collection"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from RadGEEToolbox import Sentinel2Collection
|
|
2
|
+
import ee
|
|
3
|
+
|
|
4
|
+
def test_sentinel2_collection():
|
|
5
|
+
|
|
6
|
+
col = Sentinel2Collection(start_date='2023-06-01', end_date='2023-06-30', tile='12TUL')
|
|
7
|
+
dates = col.dates
|
|
8
|
+
assert isinstance(dates, list), "Expected dates to be a list - issue in defining base collection"
|
|
9
|
+
|
|
10
|
+
col_scaled = Sentinel2Collection(start_date='2023-06-01', end_date='2023-06-30', tile='12TUL', scale_bands=True)
|
|
11
|
+
scaled_dates = col_scaled.dates
|
|
12
|
+
assert isinstance(scaled_dates, list), "Expected scaled_dates to be a list - issue in defining reflectance scaled collection"
|
|
13
|
+
|
|
14
|
+
water_area = Sentinel2Collection.PixelAreaSum(image=col.ndwi.image_grab(-1), band_name='ndwi', geometry=col.ndwi.image_grab(-1).geometry(), threshold=0, scale=50)
|
|
15
|
+
assert water_area.getInfo().get('properties')['ndwi'] is not None, "Expected water_area to have a non-None value - issue in calculating pixel area sum for NDWI"
|
|
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
|