diff --git a/src/nhflodata/data/mockup/geotop/v1.5/geotop.nc b/src/nhflodata/data/mockup/geotop/v1.5/geotop.nc new file mode 100644 index 0000000..0814b2b Binary files /dev/null and b/src/nhflodata/data/mockup/geotop/v1.5/geotop.nc differ diff --git a/src/nhflodata/data/mockup/geotop/v1.5/reduce_filesize_geotop.py b/src/nhflodata/data/mockup/geotop/v1.5/reduce_filesize_geotop.py new file mode 100644 index 0000000..b61a78c --- /dev/null +++ b/src/nhflodata/data/mockup/geotop/v1.5/reduce_filesize_geotop.py @@ -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}}) diff --git a/src/nhflodata/data/mockup/peilgebieden_hhnk/v1.0.0/hhnk_peilgebieden.gpkg b/src/nhflodata/data/mockup/peilgebieden_hhnk/v1.0.0/hhnk_peilgebieden.gpkg new file mode 100644 index 0000000..a156c3b Binary files /dev/null and b/src/nhflodata/data/mockup/peilgebieden_hhnk/v1.0.0/hhnk_peilgebieden.gpkg differ diff --git a/src/nhflodata/data/repository.yaml b/src/nhflodata/data/repository.yaml index 12f168b..e9472b7 100644 --- a/src/nhflodata/data/repository.yaml +++ b/src/nhflodata/data/repository.yaml @@ -154,3 +154,37 @@ data: changelog: previous_version: "0.0.0" log: "Based on personal communication with TATA." + geotop: + - version_nhflo: "1.5" # Semantic version + owner: TNO + publication_date: "2023-02-05" + version_owner: "v01r5" # Version used by data owner + description_short: Geotop versie 1.5 + description_long: Geotop versie 1.5 + contact: o.ebbens@artesia-water.nl + timezone: Europe/Amsterdam + extent: [-7000, 289000, 300000, 629000] # minx, miny, maxx, maxy + paths: + local: geotop/v1.5 + nhflo_server: /data/geotop/v1.5 + mockup: mockup/geotop/v1.5 + changelog: + previous_version: "0.0.0" + log: "" + peilgebieden_hhnk: + - version_nhflo: "1.0.0" # Semantic version + owner: HHNK + publication_date: "2023-05-22" + version_owner: "1.0.0" # Version used by data owner + description_short: Water level areas HHNK + description_long: Water level areas HHNK + contact: o.ebbens@artesia-water.nl + timezone: Europe/Amsterdam + extent: [102631, 487433, 148893, 577317] # minx, miny, maxx, maxy + paths: + local: peilgebieden_hhnk/v1.0.0 + nhflo_server: /data/peilgebieden_hhnk/v1.0.0 + mockup: mockup/peilgebieden_hhnk/v1.0.0 + changelog: + previous_version: "0.0.0" + log: "" \ No newline at end of file