|
| 1 | +# Comparing `tmp/kossou_hillshade_cli-0.0.3.tar.gz` & `tmp/kossou_hillshade_cli-0.0.4.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "kossou_hillshade_cli-0.0.3.tar", last modified: Tue May 28 05:26:22 2024, max compression |
| 8 | ++gzip compressed data, was "kossou_hillshade_cli-0.0.4.tar", last modified: Tue May 28 14:46:45 2024, max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `kossou_hillshade_cli-0.0.3.tar` & `kossou_hillshade_cli-0.0.4.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,19 +1,19 @@ |
| 17 | +-drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 05:26:22.063624 kossou_hillshade_cli-0.0.3/ |
| 18 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 20 2024-05-28 04:03:41.000000 kossou_hillshade_cli-0.0.3/MANIFEST.in |
| 19 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 3314 2024-05-28 05:26:22.063102 kossou_hillshade_cli-0.0.3/PKG-INFO |
| 20 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 2688 2024-05-28 04:04:58.000000 kossou_hillshade_cli-0.0.3/README.md |
| 21 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 868 2024-05-28 05:07:38.000000 kossou_hillshade_cli-0.0.3/pyproject.toml |
| 22 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 38 2024-05-28 05:26:22.063722 kossou_hillshade_cli-0.0.3/setup.cfg |
| 23 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 69 2024-05-28 04:05:46.000000 kossou_hillshade_cli-0.0.3/setup.py |
| 24 | +-drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 05:26:22.053648 kossou_hillshade_cli-0.0.3/src/ |
| 25 | +-drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 05:26:22.058157 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli/ |
| 26 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 235 2024-05-28 04:16:31.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli/__init__.py |
| 27 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 3112 2024-05-28 05:24:57.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli/kossou_hillshade_cli.py |
| 28 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 90 2024-05-28 05:07:43.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli/version.py |
| 29 | +-drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 05:26:22.062375 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/ |
| 30 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 3314 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/PKG-INFO |
| 31 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 457 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/SOURCES.txt |
| 32 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 1 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/dependency_links.txt |
| 33 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 84 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/entry_points.txt |
| 34 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 29 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/requires.txt |
| 35 | +--rw-r--r-- 0 anthonyaylward (501) staff (20) 21 2024-05-28 05:26:22.000000 kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/top_level.txt |
| 36 | ++drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 14:46:45.972276 kossou_hillshade_cli-0.0.4/ |
| 37 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 20 2024-05-28 14:06:17.000000 kossou_hillshade_cli-0.0.4/MANIFEST.in |
| 38 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 4014 2024-05-28 14:46:45.971452 kossou_hillshade_cli-0.0.4/PKG-INFO |
| 39 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 3388 2024-05-28 14:33:54.000000 kossou_hillshade_cli-0.0.4/README.md |
| 40 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 868 2024-05-28 14:14:17.000000 kossou_hillshade_cli-0.0.4/pyproject.toml |
| 41 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 38 2024-05-28 14:46:45.972493 kossou_hillshade_cli-0.0.4/setup.cfg |
| 42 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 69 2024-05-28 14:06:17.000000 kossou_hillshade_cli-0.0.4/setup.py |
| 43 | ++drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 14:46:45.943198 kossou_hillshade_cli-0.0.4/src/ |
| 44 | ++drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 14:46:45.956570 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli/ |
| 45 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 235 2024-05-28 14:06:17.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli/__init__.py |
| 46 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 2976 2024-05-28 14:32:28.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli/kossou_hillshade_cli.py |
| 47 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 90 2024-05-28 14:14:20.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli/version.py |
| 48 | ++drwxr-xr-x 0 anthonyaylward (501) staff (20) 0 2024-05-28 14:46:45.970470 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/ |
| 49 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 4014 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/PKG-INFO |
| 50 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 457 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/SOURCES.txt |
| 51 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 1 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/dependency_links.txt |
| 52 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 84 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/entry_points.txt |
| 53 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 29 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/requires.txt |
| 54 | ++-rw-r--r-- 0 anthonyaylward (501) staff (20) 21 2024-05-28 14:46:45.000000 kossou_hillshade_cli-0.0.4/src/kossou_hillshade_cli.egg-info/top_level.txt |
| 55 | +``` |
| 56 | + |
| 57 | +### Comparing `kossou_hillshade_cli-0.0.3/PKG-INFO` & `kossou_hillshade_cli-0.0.4/README.md` |
| 58 | + |
| 59 | + * *Files 19% similar despite different names* |
| 60 | + |
| 61 | +```diff |
| 62 | +@@ -1,26 +1,22 @@ |
| 63 | +-Metadata-Version: 2.1 |
| 64 | +-Name: kossou-hillshade-cli |
| 65 | +-Version: 0.0.3 |
| 66 | +-Summary: Plot hillshade over Lake Kossou using satellite elevation data |
| 67 | +-Author-email: Anthony Aylward <[email protected]> |
| 68 | +-Project-URL: Homepage, https://https://gitlab.com/aaylward/kossou-hillshade-cli |
| 69 | +-Project-URL: Documentation, https://aaylward.gitlab.io/kossou-hillshade-cli |
| 70 | +-Classifier: Programming Language :: Python :: 3 |
| 71 | +-Classifier: Operating System :: OS Independent |
| 72 | +-Classifier: License :: OSI Approved :: BSD License |
| 73 | +-Requires-Python: >=3.10 |
| 74 | +-Description-Content-Type: text/markdown |
| 75 | +-Requires-Dist: kossou-hillshade-base |
| 76 | +-Requires-Dist: misaka |
| 77 | +- |
| 78 | + # Python-based analysis of geospatial data |
| 79 | + |
| 80 | + Replication of results described in [^1]. |
| 81 | + |
| 82 | ++```sh |
| 83 | ++conda create -c conda-forge -n kossou-hillshade earthpy matplotlib misaka numpy rasterio |
| 84 | ++pip install kossou-hillshade-cli |
| 85 | ++``` |
| 86 | ++ |
| 87 | ++```sh |
| 88 | ++kossou-hillshade --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 89 | ++kossou-hillshade --azimuth 230 Figure_4_Azimuth_hillshade_Kossou.jpg |
| 90 | ++kossou-hillshade --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 91 | ++``` |
| 92 | ++ |
| 93 | + ## Download elevation file |
| 94 | + |
| 95 | + To download the elevation file, first register an account on the [USGS EROS registration system](https://ers.cr.usgs.gov/login) to get download access via [EarthExplorer](https://earthexplorer.usgs.gov) and/or [GloVis](https://glovis.usgs.gov/). |
| 96 | + |
| 97 | + ### EarthExplorer |
| 98 | + |
| 99 | + Under the Datasets tab, under the Digital Elevation category, under the SRTM subcategory, select SRTM Void Filled. |
| 100 | +@@ -61,15 +57,21 @@ |
| 101 | + |
| 102 | + Similar to above, use EarthExplorer or GloVis to search the Landsat 8-9 OLI/TIRS C2 L1 dataset for a result with Landsat Product Identifier L1 of LC09_L1TP_197055_20220111_20230502_02_T1. |
| 103 | + |
| 104 | + ## Generate plots |
| 105 | + |
| 106 | + The results of [^1] may be replicated by running: |
| 107 | + |
| 108 | ++```sh |
| 109 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 110 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --azimuth 230 --colormap plasma Figure_4_Azimuth_hillshade_Kossou.jpg |
| 111 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 112 | + ``` |
| 113 | +-python plot_geotiff.py n07_w006_3arc_v2.tif Figure_2_DEM_Kossou_1609.jpg |
| 114 | +-python plot_hillshade.py n07_w006_3arc_v2.tif Figure_3_Hillshade_Kossou_1609.jpg |
| 115 | +-python plot_hillshade.py --azimuth 230 --colormap plasma n07_w006_3arc_v2.tif Figure_4_Azimuth_hillshade_Kossou.jpg |
| 116 | +-python plot_hillshade.py --altitude 10 --colormap magma n07_w006_3arc_v2.tif Figure_5_Angle_hillshade_Kossou.jpg |
| 117 | ++ |
| 118 | ++In fact, the geotiff file `n07_w006_3arc_v2.tif` is included in the `kossou-hillshade-base` package, so this will also work: |
| 119 | ++```sh |
| 120 | ++kossou-hillshade --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 121 | ++kossou-hillshade --azimuth 230 --colormap plasma Figure_4_Azimuth_hillshade_Kossou.jpg |
| 122 | ++kossou-hillshade --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 123 | + ``` |
| 124 | + |
| 125 | +-[^1]: Polina Lemenkova and Olivier Debeir, [Satellite Image Processing by Python and R Using Landsat 9 OLI/TIRS and SRTM DEM Data on Côte d’Ivoire, West Africa](https://www.mdpi.com/2313-433X/8/12/317). J. Imaging 2022 |
| 126 | ++[^1]: Polina Lemenkova and Olivier Debeir, [Satellite Image Processing by Python and R Using Landsat 9 OLI/TIRS and SRTM DEM Data on Côte d’Ivoire, West Africa](https://www.mdpi.com/2313-433X/8/12/317). J. Imaging 2022 |
| 127 | +``` |
| 128 | + |
| 129 | +### Comparing `kossou_hillshade_cli-0.0.3/pyproject.toml` & `kossou_hillshade_cli-0.0.4/pyproject.toml` |
| 130 | + |
| 131 | + * *Files 1% similar despite different names* |
| 132 | + |
| 133 | +```diff |
| 134 | +@@ -1,14 +1,14 @@ |
| 135 | + [build-system] |
| 136 | + requires = ["setuptools"] |
| 137 | + build-backend = "setuptools.build_meta" |
| 138 | + |
| 139 | + [project] |
| 140 | + name = "kossou-hillshade-cli" |
| 141 | +-version = "0.0.3" # Don't forget to match with version.py and docs/source/conf.py |
| 142 | ++version = "0.0.4" # Don't forget to match with version.py and docs/source/conf.py |
| 143 | + authors = [ |
| 144 | + { name="Anthony Aylward", email=" [email protected]" }, |
| 145 | + ] |
| 146 | + description = "Plot hillshade over Lake Kossou using satellite elevation data" |
| 147 | + readme = "README.md" |
| 148 | + requires-python = ">=3.10" |
| 149 | + classifiers = [ |
| 150 | +``` |
| 151 | + |
| 152 | +### Comparing `kossou_hillshade_cli-0.0.3/src/kossou_hillshade_cli.egg-info/PKG-INFO` & `kossou_hillshade_cli-0.0.4/PKG-INFO` |
| 153 | + |
| 154 | + * *Files 20% similar despite different names* |
| 155 | + |
| 156 | +```diff |
| 157 | +@@ -1,10 +1,10 @@ |
| 158 | + Metadata-Version: 2.1 |
| 159 | + Name: kossou-hillshade-cli |
| 160 | +-Version: 0.0.3 |
| 161 | ++Version: 0.0.4 |
| 162 | + Summary: Plot hillshade over Lake Kossou using satellite elevation data |
| 163 | + Author-email: Anthony Aylward < [email protected]> |
| 164 | + Project-URL: Homepage, https://https://gitlab.com/aaylward/kossou-hillshade-cli |
| 165 | + Project-URL: Documentation, https://aaylward.gitlab.io/kossou-hillshade-cli |
| 166 | + Classifier: Programming Language :: Python :: 3 |
| 167 | + Classifier: Operating System :: OS Independent |
| 168 | + Classifier: License :: OSI Approved :: BSD License |
| 169 | +@@ -13,14 +13,25 @@ |
| 170 | + Requires-Dist: kossou-hillshade-base |
| 171 | + Requires-Dist: misaka |
| 172 | + |
| 173 | + # Python-based analysis of geospatial data |
| 174 | + |
| 175 | + Replication of results described in [^1]. |
| 176 | + |
| 177 | ++```sh |
| 178 | ++conda create -c conda-forge -n kossou-hillshade earthpy matplotlib misaka numpy rasterio |
| 179 | ++pip install kossou-hillshade-cli |
| 180 | ++``` |
| 181 | ++ |
| 182 | ++```sh |
| 183 | ++kossou-hillshade --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 184 | ++kossou-hillshade --azimuth 230 Figure_4_Azimuth_hillshade_Kossou.jpg |
| 185 | ++kossou-hillshade --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 186 | ++``` |
| 187 | ++ |
| 188 | + ## Download elevation file |
| 189 | + |
| 190 | + To download the elevation file, first register an account on the [USGS EROS registration system](https://ers.cr.usgs.gov/login) to get download access via [EarthExplorer](https://earthexplorer.usgs.gov) and/or [GloVis](https://glovis.usgs.gov/). |
| 191 | + |
| 192 | + ### EarthExplorer |
| 193 | + |
| 194 | + Under the Datasets tab, under the Digital Elevation category, under the SRTM subcategory, select SRTM Void Filled. |
| 195 | +@@ -61,15 +72,21 @@ |
| 196 | + |
| 197 | + Similar to above, use EarthExplorer or GloVis to search the Landsat 8-9 OLI/TIRS C2 L1 dataset for a result with Landsat Product Identifier L1 of LC09_L1TP_197055_20220111_20230502_02_T1. |
| 198 | + |
| 199 | + ## Generate plots |
| 200 | + |
| 201 | + The results of [^1] may be replicated by running: |
| 202 | + |
| 203 | ++```sh |
| 204 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 205 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --azimuth 230 --colormap plasma Figure_4_Azimuth_hillshade_Kossou.jpg |
| 206 | ++kossou-hillshade --geotiff n07_w006_3arc_v2.tif --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 207 | + ``` |
| 208 | +-python plot_geotiff.py n07_w006_3arc_v2.tif Figure_2_DEM_Kossou_1609.jpg |
| 209 | +-python plot_hillshade.py n07_w006_3arc_v2.tif Figure_3_Hillshade_Kossou_1609.jpg |
| 210 | +-python plot_hillshade.py --azimuth 230 --colormap plasma n07_w006_3arc_v2.tif Figure_4_Azimuth_hillshade_Kossou.jpg |
| 211 | +-python plot_hillshade.py --altitude 10 --colormap magma n07_w006_3arc_v2.tif Figure_5_Angle_hillshade_Kossou.jpg |
| 212 | ++ |
| 213 | ++In fact, the geotiff file `n07_w006_3arc_v2.tif` is included in the `kossou-hillshade-base` package, so this will also work: |
| 214 | ++```sh |
| 215 | ++kossou-hillshade --colormap cividis Figure_3_Hillshade_Kossou_1609.jpg |
| 216 | ++kossou-hillshade --azimuth 230 --colormap plasma Figure_4_Azimuth_hillshade_Kossou.jpg |
| 217 | ++kossou-hillshade --altitude 10 --colormap magma Figure_5_Angle_hillshade_Kossou.jpg |
| 218 | + ``` |
| 219 | + |
| 220 | + [^1]: Polina Lemenkova and Olivier Debeir, [Satellite Image Processing by Python and R Using Landsat 9 OLI/TIRS and SRTM DEM Data on Côte d’Ivoire, West Africa](https://www.mdpi.com/2313-433X/8/12/317). J. Imaging 2022 |
| 221 | +``` |
| 222 | + |
0 commit comments