diff --git a/.gitignore b/.gitignore index a3931f1..01b3808 100644 --- a/.gitignore +++ b/.gitignore @@ -163,6 +163,3 @@ cython_debug/ /keys keys/ wri-gee-358d958ce7c6.json - -# notebooks, you need to `git add -f` to force them to be changed -.ipynb diff --git a/city_metrix/layers/layer.py b/city_metrix/layers/layer.py index 609aed1..299b0a1 100644 --- a/city_metrix/layers/layer.py +++ b/city_metrix/layers/layer.py @@ -81,8 +81,6 @@ def write(self, bbox, output_path, tile_degrees=None): file_names.append(file_name) write_layer(file_name, data) - - gdal.BuildVRT(f"{output_path}.vrt", file_names) else: data = self.aggregate.get_data(bbox) write_layer(output_path, data) diff --git a/environment.yml b/environment.yml index 6111f79..ba03c54 100644 --- a/environment.yml +++ b/environment.yml @@ -17,8 +17,8 @@ dependencies: - dask[complete]=2023.11.0 - matplotlib=3.8.2 - jupyterlab=4.0.10 - - geemap=0.32.0 - s3fs=2024.5.0 + - geemap=0.32.0 - pip=23.3.1 - scikit-learn=1.5.0 - pip: diff --git a/notebooks/tutorial/compute indicators.ipynb b/notebooks/tutorial/compute indicators.ipynb index 2a73652..6fe09bf 100644 --- a/notebooks/tutorial/compute indicators.ipynb +++ b/notebooks/tutorial/compute indicators.ipynb @@ -2469,4 +2469,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +} diff --git a/notebooks/tutorial/get layers.ipynb b/notebooks/tutorial/get layers.ipynb index 16689a9..67107f8 100644 --- a/notebooks/tutorial/get layers.ipynb +++ b/notebooks/tutorial/get layers.ipynb @@ -4694,10 +4694,10 @@ "evalue": "name 'TreeCanopyHeight' is not defined", "output_type": "error", "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[0;32mIn[5], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Load 1m Global Tree Canopy Hight layer\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m city_TreeCanopyHeight \u001b[38;5;241m=\u001b[39m \u001b[43mTreeCanopyHeight\u001b[49m()\u001b[38;5;241m.\u001b[39mget_data(city_gdf\u001b[38;5;241m.\u001b[39mtotal_bounds)\n\u001b[1;32m 3\u001b[0m city_TreeCanopyHeight\n", - "\u001b[0;31mNameError\u001b[0m: name 'TreeCanopyHeight' is not defined" + "\u001B[0;31m---------------------------------------------------------------------------\u001B[0m", + "\u001B[0;31mNameError\u001B[0m Traceback (most recent call last)", + "Cell \u001B[0;32mIn[5], line 2\u001B[0m\n\u001B[1;32m 1\u001B[0m \u001B[38;5;66;03m# Load 1m Global Tree Canopy Hight layer\u001B[39;00m\n\u001B[0;32m----> 2\u001B[0m city_TreeCanopyHeight \u001B[38;5;241m=\u001B[39m \u001B[43mTreeCanopyHeight\u001B[49m()\u001B[38;5;241m.\u001B[39mget_data(city_gdf\u001B[38;5;241m.\u001B[39mtotal_bounds)\n\u001B[1;32m 3\u001B[0m city_TreeCanopyHeight\n", + "\u001B[0;31mNameError\u001B[0m: name 'TreeCanopyHeight' is not defined" ] } ],