From d0d43f4787d36c12980340c6e2d1b289d567f8bd Mon Sep 17 00:00:00 2001 From: Witold1 <35763329+Witold1@users.noreply.github.com> Date: Wed, 17 Jan 2024 18:10:16 -0500 Subject: [PATCH 1/2] Add two more global raster datasets as valid DEM types in code --- bmi_topography/topography.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bmi_topography/topography.py b/bmi_topography/topography.py index ea05622..3fab6a1 100644 --- a/bmi_topography/topography.py +++ b/bmi_topography/topography.py @@ -41,6 +41,8 @@ class Topography: "NASADEM", "COP30", "COP90", + "EU_DTM", + "GEDI_L3", ) VALID_OUTPUT_FORMATS = {"GTiff": "tif", "AAIGrid": "asc", "HFA": "img"} From 0fc08f378eb094cbb1fe3b68aeb99c8566fe612c Mon Sep 17 00:00:00 2001 From: Witold1 <35763329+Witold1@users.noreply.github.com> Date: Wed, 17 Jan 2024 18:16:17 -0500 Subject: [PATCH 2/2] Updated README.md with mention of two new datasets --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d5c452..55e8624 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ The *bmi-topography* library provides access to the following global raster data * NASADEM (NASADEM Global DEM) * COP30 (Copernicus Global DSM 30m) * COP90 (Copernicus Global DSM 90m) +* EU_DTM (DTM 30m) +* GEDI_L3 (DTM 1000m) The library includes an API and a CLI that accept the dataset type, @@ -81,7 +83,7 @@ there are three ways to use it with *bmi-topography*: 3. *dot file*: Put the API key in the file `.opentopography.txt` in the current directory or in your home directory. If you attempt to use *bmi-topography* to access an OpenTopography dataset without an API key, -you'll get a error like this: +you'll get a error like this: ``` requests.exceptions.HTTPError: 401 Client Error: This dataset requires an API Key for access. ```