-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add geotop and peilgebieden HHNK to data repo
- Loading branch information
1 parent
1373ffb
commit d05c6ba
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
src/nhflodata/data/mockup/geotop/v1.5/reduce_filesize_geotop.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os | ||
|
||
import nlmod | ||
import xarray as xr | ||
from nhflodata.get_paths import get_abs_data_path | ||
|
||
nhflo_data_dir = r"C:\Users\oebbe\02_python\nhflo_data" | ||
#fp_gt = os.path.join(nhflo_data_dir, 'modelbestanden_nhflozz', "geotop.nc") | ||
geotop_path = get_abs_data_path(name="geotop", version="latest", location="get_from_env") | ||
geotop_ds = xr.open_dataset(os.path.join(geotop_path, 'geotop.nc'), mask_and_scale=False) | ||
|
||
|
||
# gt_ds = xr.open_dataset(fp_gt) | ||
|
||
geotop_ds.to_netcdf(os.path.join(geotop_path, 'geotop_zip.nc'), | ||
encoding={'strat': {'zlib': True, 'complevel': 5, 'fletcher32': True}, | ||
'lithok': {'zlib': True, 'complevel': 5, 'fletcher32': True}}) |
Binary file added
BIN
+848 KB
src/nhflodata/data/mockup/peilgebieden_hhnk/v1.0.0/hhnk_peilgebieden.gpkg
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters