Skip to content

Commit

Permalink
reduced LFS requirements per test run.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepearson committed Jun 20, 2024
1 parent b647f2a commit 2e89d89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.12"]
os: ["ubuntu-latest", "windows-latest"]

steps:
Expand Down
7 changes: 3 additions & 4 deletions src/geofabrics/dem.py
Original file line number Diff line number Diff line change
Expand Up @@ -2561,12 +2561,11 @@ def _add_roughness_to_data_set(

# update metadata
history = self._dem.attrs["history"]
history = (
self._dem.attrs["history"] = (
f"{metadata['utc_time']}:{metadata['library_name']}"
f":{metadata['class_name']} version {metadata['library_version']} "
f" resolution {self.catchment_geometry.resolution};"
).append(history)
self._dem.attrs["history"] = history
f" resolution {self.catchment_geometry.resolution}; {history}"
)
self._dem.attrs[
"source"
] = f"{metadata['library_name']} version {metadata['library_version']}"
Expand Down
1 change: 1 addition & 0 deletions src/geofabrics/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,7 @@ def run(self):
key="coarse_dems", data_type="raster"
)
self.logger.info(f"Incorporating coarse DEMs: {coarse_dem_paths}")
del self.raw_dem
self.raw_dem = dem.PatchDem(
catchment_geometry=self.catchment_geometry,
patch_on_top=False,
Expand Down

0 comments on commit 2e89d89

Please sign in to comment.