diff --git a/.github/workflows/ubuntu_test.yml b/.github/workflows/ubuntu_test.yml index 3291dd67af..403d4d81d7 100644 --- a/.github/workflows/ubuntu_test.yml +++ b/.github/workflows/ubuntu_test.yml @@ -1,4 +1,4 @@ -name: Testing Leafmap Package +name: "TestingLeafmapUbuntu" on: push: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 319397f89e..55a68ac017 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,4 +1,4 @@ -name: Testing Leafmap Package (windows) +name: "TestingLeafmapWindows" on: push: diff --git a/docs/notebooks/52_netcdf.ipynb b/docs/notebooks/52_netcdf.ipynb index 7c8b18223a..ef9e079816 100644 --- a/docs/notebooks/52_netcdf.ipynb +++ b/docs/notebooks/52_netcdf.ipynb @@ -59,7 +59,7 @@ "metadata": {}, "outputs": [], "source": [ - "url = \"https://github.com/opengeos/leafmap/raw/master/examples/data/wind_global.nc\"\n", + "url = \"https://github.com/opengeos/datasets/releases/download/raster/wind_global.nc\"\n", "filename = \"wind_global.nc\"" ] }, @@ -70,7 +70,7 @@ "metadata": {}, "outputs": [], "source": [ - "leafmap.download_file(url, output=filename)" + "leafmap.download_file(url, output=filename, overwrite=True)" ] }, { @@ -218,6 +218,18 @@ "display_name": "Python 3", "language": "python", "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.8" } }, "nbformat": 4, diff --git a/examples/notebooks/52_netcdf.ipynb b/examples/notebooks/52_netcdf.ipynb index 7c8b18223a..6679376c14 100644 --- a/examples/notebooks/52_netcdf.ipynb +++ b/examples/notebooks/52_netcdf.ipynb @@ -59,7 +59,7 @@ "metadata": {}, "outputs": [], "source": [ - "url = \"https://github.com/opengeos/leafmap/raw/master/examples/data/wind_global.nc\"\n", + "url = \"https://github.com/opengeos/datasets/releases/download/raster/wind_global.nc\"\n", "filename = \"wind_global.nc\"" ] }, diff --git a/leafmap/examples/datasets.txt b/leafmap/examples/datasets.txt index e0ba61d08d..70d43a0b2a 100644 --- a/leafmap/examples/datasets.txt +++ b/leafmap/examples/datasets.txt @@ -17,8 +17,6 @@ mask.geojson README.md sf_zip_geo.json states.csv -states.kml -states.kmz training_samples.geojson us_cities.cpg us_cities.csv diff --git a/tests/test_common.py b/tests/test_common.py index 4a16f28a6b..bcf0831014 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -19,8 +19,8 @@ def setUp(self): self.in_csv = os.path.abspath("examples/data/world_cities.csv") self.in_geojson = os.path.abspath("examples/data/cable_geo.geojson") self.in_shp = os.path.abspath("examples/data/countries.shp") - self.in_kml = os.path.abspath("examples/data/states.kml") - self.in_kmz = os.path.abspath("examples/data/states.kmz") + self.in_kml = os.path.abspath("examples/data/us_states.kml") + self.in_kmz = os.path.abspath("examples/data/us_states.kmz") self.in_cog = "https://github.com/opengeos/data/releases/download/raster/Libya-2023-07-01.tif" def tearDown(self):