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

Downscale floodmap #224

Merged
merged 5 commits into from
Nov 29, 2024
Merged
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
1 change: 1 addition & 0 deletions hydromt_sfincs/plots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Plotting functions for SFINCS model data."""

from typing import Dict, List, Tuple

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/regulargrid.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""RegularGrid class for SFINCS."""

import logging
import math
import os
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/sfincs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
SfincsModel class
"""

from __future__ import annotations

import glob
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/subgrid.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
SubgridTableRegular class to create, read and write sfincs subgrid (sbg) files.
"""

import gc
import logging
import os
Expand Down
2 changes: 1 addition & 1 deletion hydromt_sfincs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def downscale_floodmap(
return hmax

elif isinstance(dep, (str, Path)):
if floodmap_fn is not None:
if floodmap_fn is None:
raise ValueError(
"floodmap_fn should be provided when dep is a Path or str."
)
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/bathymetry.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Workflows, to estimate river bathymetry and burn these in a DEM."""

import logging

import geopandas as gpd
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/curvenumber.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Workflow for curve number."""

import logging

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/discharge.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Workflows for discharge boundary conditions."""

import logging

import geopandas as gpd
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/landuse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Landuse related workflows for SFINCS."""

import logging

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/merge.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Workflow to merge multiple datasets into a single dataset used for elevation and manning data."""

import logging
from typing import Dict, List, Union

Expand Down
1 change: 1 addition & 0 deletions hydromt_sfincs/workflows/tiling.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tiling functions for fast visualization of the SFINCS model in- and output data."""

import logging
import math
import os
Expand Down
Loading