Skip to content

Commit

Permalink
Merge pull request #5 from pymt-lab/mdpiper/update-parameters
Browse files Browse the repository at this point in the history
Update parameters for latest model_metadata
  • Loading branch information
mdpiper authored Oct 22, 2024
2 parents 93534c6 + 9e0d797 commit 154a6e7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pretty:
black .

test: ## run tests quickly with the default Python
bmi-test pymt_topography.bmi:Topography --config-file=examples/bmi-topography.yaml --root-dir=examples -vvv
bmi-test pymt_topography.bmi:Topography --config-file=${PWD}/examples/bmi-topography.yaml --root-dir=examples -vvv

coverage: ## check code coverage quickly with the default Python
coverage run --source pymt_topography -m pytest
Expand Down
1 change: 1 addition & 0 deletions examples/bmi_topography_ex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""An example of running the babelized topography library through its BMI."""

import numpy as np
from pymt_topography import Topography

Expand Down
2 changes: 1 addition & 1 deletion examples/pymt_topography_config_file_ex.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
}
],
"source": [
"ls ~/.bmi_topography"
"!ls ~/.bmi_topography"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions examples/pymt_topography_ex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Run the topography library in pymt."""

from pymt.models import Topography


Expand Down
3 changes: 0 additions & 3 deletions meta/Topography/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ dem_type:
value:
type: string
default: SRTMGL3
units: 1
south:
description: WGS 84 bounding box south coordinate
value:
Expand Down Expand Up @@ -44,9 +43,7 @@ output_format:
value:
type: string
default: GTiff
units: 1
cache_dir:
value:
type: string
default: "~/.bmi_topography"
units: 1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Topography = "pymt_topography.bmi:Topography"
[tool.ruff]
exclude = ["docs"]
line-length = 88
ignore = [
lint.ignore = [
"E203",
"E501",
]
Expand Down

0 comments on commit 154a6e7

Please sign in to comment.