Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new ot global raster datasets #63

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
```
Expand Down
2 changes: 2 additions & 0 deletions bmi_topography/topography.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class Topography:
"NASADEM",
"COP30",
"COP90",
"EU_DTM",
"GEDI_L3",
)
VALID_OUTPUT_FORMATS = {"GTiff": "tif", "AAIGrid": "asc", "HFA": "img"}

Expand Down