From 641eac4832971ce9b47a84ca7609b5977d64418b Mon Sep 17 00:00:00 2001 From: savente93 Date: Thu, 3 Aug 2023 16:46:48 +0000 Subject: [PATCH] Deploy dev to GitHub Pages --- dev/_examples/delineate_basin.html | 20 +- .../doing_extreme_value_analysis.html | 22 +- dev/_examples/export_data.html | 56 ++-- dev/_examples/prep_data_catalog.html | 170 +++++------ dev/_examples/reading_point_data.html | 54 ++-- dev/_examples/reading_raster_data.html | 128 ++++---- dev/_examples/reading_tabular_data.html | 22 +- dev/_examples/reading_vector_data.html | 18 +- .../working_with_flow_directions.html | 28 +- dev/_examples/working_with_geodatasets.html | 48 +-- dev/_examples/working_with_models.html | 264 ++++++++-------- dev/_examples/working_with_models_basics.html | 288 +++++++++--------- dev/_examples/working_with_raster.html | 38 +-- .../working_with_tiled_raster_data.html | 30 +- dev/_generated/hydromt.Model.html | 4 +- .../hydromt.Model.write_data_catalog.html | 2 +- ...omt.data_catalog.DataCatalog.from_yml.html | 58 ++-- .../hydromt.data_catalog.DataCatalog.html | 12 +- ...romt.data_catalog.DataCatalog.to_dict.html | 2 +- .../_examples_delineate_basin_16_1.png | Bin 222461 -> 222494 bytes .../_examples_delineate_basin_21_1.png | Bin 211437 -> 211462 bytes .../_examples_delineate_basin_24_1.png | Bin 198842 -> 198839 bytes .../_examples_delineate_basin_28_1.png | Bin 171463 -> 171459 bytes ...ples_doing_extreme_value_analysis_15_0.png | Bin 59706 -> 59648 bytes .../_examples_reading_point_data_15_1.png | Bin 194758 -> 194821 bytes dev/_modules/hydromt/config.html | 47 ++- dev/_modules/hydromt/data_catalog.html | 10 +- dev/_modules/hydromt/models/model_api.html | 6 +- dev/changelog.html | 1 + dev/searchindex.js | 2 +- 30 files changed, 687 insertions(+), 643 deletions(-) diff --git a/dev/_examples/delineate_basin.html b/dev/_examples/delineate_basin.html index 5626a098f..8bda8e6b7 100644 --- a/dev/_examples/delineate_basin.html +++ b/dev/_examples/delineate_basin.html @@ -528,7 +528,7 @@

Import packages
-2023-08-03 16:28:12,319 - basin_delineation - log - INFO - HydroMT version: 0.8.1.dev0
+2023-08-03 16:40:37,475 - basin_delineation - log - INFO - HydroMT version: 0.8.1.dev0
 
@@ -550,8 +550,8 @@

Read data
-2023-08-03 16:28:12,400 - basin_delineation - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
-2023-08-03 16:28:12,401 - basin_delineation - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
+2023-08-03 16:40:37,547 - basin_delineation - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
+2023-08-03 16:40:37,548 - basin_delineation - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
 
diff --git a/dev/_examples/doing_extreme_value_analysis.html b/dev/_examples/doing_extreme_value_analysis.html index 070901445..b7f711ec5 100644 --- a/dev/_examples/doing_extreme_value_analysis.html +++ b/dev/_examples/doing_extreme_value_analysis.html @@ -833,17 +833,17 @@

Example: Doing Extreme Value Analysis (EVA) for time series @@ -1279,8 +1279,8 @@

Step 2: fit a EV distribution on these peaks @@ -1798,27 +1798,27 @@

TL;DR# return_values (stations, rps) float64 1.426e+03 2.252e+03 ... 2.193e+03 Attributes: long_name: discharge - units: m3/s
  • stations
    PandasIndex
    PandasIndex(Index([1, 2], dtype='int32', name='stations'))
  • dparams
    PandasIndex
    PandasIndex(Index(['shape', 'loc', 'scale'], dtype='object', name='dparams'))
  • rps
    PandasIndex
    PandasIndex(Index([2, 5, 25, 100, 500], dtype='int64', name='rps'))
  • long_name :
    discharge
    units :
    m3/s
  • diff --git a/dev/_examples/export_data.html b/dev/_examples/export_data.html index 1f19a005c..966cfc0d2 100644 --- a/dev/_examples/export_data.html +++ b/dev/_examples/export_data.html @@ -501,7 +501,7 @@

    Example: Exporting data from a data catalog
    -2023-08-03 16:28:44,866 - export data - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:41:10,338 - export data - log - INFO - HydroMT version: 0.8.1.dev0
     
    @@ -525,8 +525,8 @@

    Explore the current data catalog
    -2023-08-03 16:28:44,935 - export data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:28:44,936 - export data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:41:10,409 - export data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:41:10,410 - export data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
     

    The artifact_data catalog is one of the pre-defined available DataCatalog of HydroMT. You can find an overview of pre-defined data catalogs in the online user guide. You can also get an overview of the pre-defined catalogs with their version number from HydroMT.

    @@ -604,10 +604,10 @@

    Explore the current data catalog
    -2023-08-03 16:28:45,055 - export data - data_catalog - INFO - DataCatalog: Getting era5 RasterDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/era5.nc
    -2023-08-03 16:28:45,185 - export data - rasterdataset - DEBUG - RasterDataset: Shifting time labels with 86400 sec.
    -2023-08-03 16:28:45,188 - export data - rasterdataset - DEBUG - RasterDataset: Slicing time dim ('2010-02-02', '2010-02-15')
    -2023-08-03 16:28:45,196 - export data - rasterdataset - DEBUG - RasterDataset: Convert units for 7 variables.
    +2023-08-03 16:41:10,527 - export data - data_catalog - INFO - DataCatalog: Getting era5 RasterDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/era5.nc
    +2023-08-03 16:41:10,659 - export data - rasterdataset - DEBUG - RasterDataset: Shifting time labels with 86400 sec.
    +2023-08-03 16:41:10,661 - export data - rasterdataset - DEBUG - RasterDataset: Slicing time dim ('2010-02-02', '2010-02-15')
    +2023-08-03 16:41:10,670 - export data - rasterdataset - DEBUG - RasterDataset: Convert units for 7 variables.
     
     Available extent: (11.625, 45.125, 13.125, 46.875)
     Available dates: 2010-02-02T00:00:00.000000000 to 2010-02-15T00:00:00.000000000
    @@ -1003,14 +1003,14 @@ 

    Explore the current data catalog @@ -1088,7 +1088,7 @@

    Explore the current data catalog @@ -1166,7 +1166,7 @@

    Explore the current data catalog @@ -1244,7 +1244,7 @@

    Explore the current data catalog @@ -1322,7 +1322,7 @@

    Explore the current data catalog @@ -1400,7 +1400,7 @@

    Explore the current data catalog @@ -1478,7 +1478,7 @@

    Explore the current data catalog @@ -1556,11 +1556,11 @@

    Explore the current data catalog @@ -1610,15 +1610,15 @@

    Export an extract of the data
    -2023-08-03 16:28:45,382 - export data - data_catalog - DEBUG - Exporting merit_hydro.
    -2023-08-03 16:28:45,426 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
    -2023-08-03 16:28:45,736 - export data - data_catalog - DEBUG - Exporting era5.
    -2023-08-03 16:28:45,756 - export data - rasterdataset - DEBUG - RasterDataset: Shifting time labels with 86400 sec.
    -2023-08-03 16:28:45,758 - export data - rasterdataset - DEBUG - RasterDataset: Slicing time dim ('2010-02-10', '2010-02-15')
    -2023-08-03 16:28:45,769 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
    -2023-08-03 16:28:45,771 - export data - rasterdataset - DEBUG - RasterDataset: Convert units for 1 variables.
    -2023-08-03 16:28:45,791 - export data - data_catalog - DEBUG - Exporting vito.
    -2023-08-03 16:28:45,811 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
    +2023-08-03 16:41:10,857 - export data - data_catalog - DEBUG - Exporting merit_hydro.
    +2023-08-03 16:41:10,908 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
    +2023-08-03 16:41:11,212 - export data - data_catalog - DEBUG - Exporting era5.
    +2023-08-03 16:41:11,229 - export data - rasterdataset - DEBUG - RasterDataset: Shifting time labels with 86400 sec.
    +2023-08-03 16:41:11,231 - export data - rasterdataset - DEBUG - RasterDataset: Slicing time dim ('2010-02-10', '2010-02-15')
    +2023-08-03 16:41:11,238 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
    +2023-08-03 16:41:11,242 - export data - rasterdataset - DEBUG - RasterDataset: Convert units for 1 variables.
    +2023-08-03 16:41:11,262 - export data - data_catalog - DEBUG - Exporting vito.
    +2023-08-03 16:41:11,283 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.000, 46.000, 13.000, 46.500] (epsg:4326))
     

    @@ -1754,8 +1754,8 @@

    Open and explore the exported data
    -2023-08-03 16:28:45,877 - export data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:28:45,898 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.600, 45.200, 13.000, 46.800] (epsg:4326))
    +2023-08-03 16:41:11,345 - export data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:41:11,366 - export data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.600, 45.200, 13.000, 46.800] (epsg:4326))
     

    The steps to use your own data within HydroMT are in brief:

    @@ -631,7 +631,7 @@

    RasterDataset from raster file
    -<matplotlib.collections.QuadMesh at 0x7f76310d9750>
    +<matplotlib.collections.QuadMesh at 0x7f8182c62d70>
     
    @@ -1598,17 +1598,17 @@

    RasterDataset from several raster files @@ -1663,7 +1663,7 @@

    RasterDataset from several raster files @@ -1718,7 +1718,7 @@

    RasterDataset from several raster files @@ -1733,8 +1733,8 @@

    RasterDataset from several raster files float32 numpy.ndarray + uint8 numpy.ndarray @@ -1773,7 +1773,7 @@

    RasterDataset from several raster files @@ -1828,7 +1828,7 @@

    RasterDataset from several raster files @@ -1843,8 +1843,8 @@

    RasterDataset from several raster files float32 numpy.ndarray + uint8 numpy.ndarray @@ -1883,7 +1883,7 @@

    RasterDataset from several raster files @@ -1898,8 +1898,8 @@

    RasterDataset from several raster files uint8 numpy.ndarray + uint32 numpy.ndarray @@ -1938,7 +1938,7 @@

    RasterDataset from several raster files @@ -1968,7 +1968,7 @@

    RasterDataset from several raster files uint32 numpy.ndarray + float32 numpy.ndarray @@ -1993,7 +1993,7 @@

    RasterDataset from several raster files @@ -2008,8 +2008,8 @@

    RasterDataset from several raster files uint8 numpy.ndarray + float32 numpy.ndarray @@ -2048,7 +2048,7 @@

    RasterDataset from several raster files @@ -2103,7 +2103,7 @@

    RasterDataset from several raster filespath, the filenames can be further specified with {variable}, {year} and {month} keys to limit which files are being read based on the get_data request in the form of “path/to/my/files/{variable}{year}{month}.nc”.

    Let’s see how this works:

    @@ -2172,9 +2172,9 @@

    RasterDataset from several raster files
    -2023-08-03 16:29:02,140 - prepare data catalog - data_catalog - INFO - Parsing data catalog from tmpdir/merit_hydro.yml
    +2023-08-03 16:41:28,171 - prepare data catalog - data_catalog - INFO - Parsing data catalog from tmpdir/merit_hydro.yml
     dict_keys(['vito', 'merit_hydro'])
    -2023-08-03 16:29:02,143 - prepare data catalog - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.6/merit_hydro/{variable}.tif
    +2023-08-03 16:41:28,174 - prepare data catalog - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.6/merit_hydro/{variable}.tif
     

    @@ -3229,14 +3229,14 @@

    RasterDataset from a netcdf file @@ -3314,7 +3314,7 @@

    RasterDataset from a netcdf file @@ -3392,7 +3392,7 @@

    RasterDataset from a netcdf file @@ -3470,7 +3470,7 @@

    RasterDataset from a netcdf file @@ -3548,7 +3548,7 @@

    RasterDataset from a netcdf file @@ -3626,7 +3626,7 @@

    RasterDataset from a netcdf file @@ -3704,7 +3704,7 @@

    RasterDataset from a netcdf file @@ -3782,11 +3782,11 @@

    RasterDataset from a netcdf file @@ -4340,12 +4340,12 @@

    GeoDataset from a netcdf file @@ -4401,9 +4401,9 @@

    GeoDataset from a netcdf file
    -2023-08-03 16:29:05,540 - prepare data catalog - data_catalog - INFO - Parsing data catalog from tmpdir/gtsm.yml
    +2023-08-03 16:41:31,730 - prepare data catalog - data_catalog - INFO - Parsing data catalog from tmpdir/gtsm.yml
     dict_keys(['vito', 'merit_hydro', 'era5', 'rivers_lin', 'gtsm'])
    -2023-08-03 16:29:05,543 - prepare data catalog - data_catalog - INFO - DataCatalog: Getting gtsm GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.6/gtsmv3_eu_era5.nc
    +2023-08-03 16:41:31,735 - prepare data catalog - data_catalog - INFO - DataCatalog: Getting gtsm GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.6/gtsmv3_eu_era5.nc
     

    @@ -573,7 +573,7 @@

    Netcdf or zarr driver
    -2023-08-03 16:29:11,209 - read geodataset data - data_catalog - INFO - DataCatalog: Getting gtsmv3_eu_era5 GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gtsmv3_eu_era5.nc
    +2023-08-03 16:41:37,570 - read geodataset data - data_catalog - INFO - DataCatalog: Getting gtsmv3_eu_era5 GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gtsmv3_eu_era5.nc
     
    @@ -960,7 +960,7 @@

    Netcdf or zarr driver

    + dtype='int32', name='stations'))
  • category :
    ocean
    paper_doi :
    10.24381/cds.8c59054f
    paper_ref :
    Copernicus Climate Change Service 2019
    source_license :
    https://cds.climate.copernicus.eu/cdsapp/#!/terms/licence-to-use-copernicus-products
    source_url :
    https://cds.climate.copernicus.eu/cdsapp#!/dataset/10.24381/cds.8c59054f?tab=overview
    source_version :
    GTSM v3.0
  • The data can be visualized with the .plot() xarray method. We show the evolution of the water level over time for a specific point location (station).

    @@ -1578,7 +1578,7 @@

    Netcdf or zarr driver
    @@ -3927,23 +3927,23 @@

    Raster_tindex driver

  • AREA_OR_POINT :
    Area
    DataType :
    Generic
    RepresentationType :
    ATHEMATIC
    _FillValue :
    0
    source_file :
    NL33.tif; NL32.tif
    paper_doi :
    10.1126/science.aat0636
    paper_ref :
    Allen and Pavelsky (2018)
    source_license :
    CC BY 4.0
    source_url :
    https://doi.org/10.5281/zenodo.1297434
    source_version :
    1.01
  • diff --git a/dev/_examples/reading_tabular_data.html b/dev/_examples/reading_tabular_data.html index b61918707..de2340573 100644 --- a/dev/_examples/reading_tabular_data.html +++ b/dev/_examples/reading_tabular_data.html @@ -500,7 +500,7 @@

    Example: Reading 2D tabular data (DataFrame)
    -2023-08-03 16:29:33,079 - tabular data example - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:42:00,451 - tabular data example - log - INFO - HydroMT version: 0.8.1.dev0
     
    @@ -566,8 +566,8 @@

    time series data
    -2023-08-03 16:29:33,114 - tabular data example - data_catalog - INFO - DataCatalog: Getting example_csv_data DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/example_csv_data.csv
    -2023-08-03 16:29:33,118 - tabular data example - dataframe - INFO - DataFrame: Read csv data.
    +2023-08-03 16:42:00,482 - tabular data example - data_catalog - INFO - DataCatalog: Getting example_csv_data DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/example_csv_data.csv
    +2023-08-03 16:42:00,486 - tabular data example - dataframe - INFO - DataFrame: Read csv data.
     
    @@ -584,8 +584,8 @@

    Vector driver
    -2023-08-03 16:29:39,526 - read vector data - data_catalog - INFO - DataCatalog: Getting gadm_level3 GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gadm_level3.gpkg
    -2023-08-03 16:29:39,528 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector data.
    +2023-08-03 16:42:07,450 - read vector data - data_catalog - INFO - DataCatalog: Getting gadm_level3 GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gadm_level3.gpkg
    +2023-08-03 16:42:07,453 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector data.
     number of rows: 509
     
    @@ -754,8 +754,8 @@

    Vector driver
    -2023-08-03 16:29:39,850 - read vector data - data_catalog - INFO - DataCatalog: Getting gadm_level3 GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gadm_level3.gpkg
    -2023-08-03 16:29:39,855 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector data and clip to bbox (epsg:4326) [11.557, 46.096, 11.851, 46.477].
    +2023-08-03 16:42:07,812 - read vector data - data_catalog - INFO - DataCatalog: Getting gadm_level3 GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gadm_level3.gpkg
    +2023-08-03 16:42:07,818 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector data and clip to bbox (epsg:4326) [11.557, 46.096, 11.851, 46.477].
     number of rows: 28
     
    @@ -959,8 +959,8 @@

    Vector_table driver
    -2023-08-03 16:29:40,148 - read vector data - data_catalog - INFO - DataCatalog: Getting GADM_level3_centroids GeoDataFrame vector_table data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/xy.csv
    -2023-08-03 16:29:40,151 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector_table data.
    +2023-08-03 16:42:08,115 - read vector data - data_catalog - INFO - DataCatalog: Getting GADM_level3_centroids GeoDataFrame vector_table data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/xy.csv
    +2023-08-03 16:42:08,116 - read vector data - geodataframe - INFO - GeoDataFrame: Read vector_table data.
     CRS: EPSG:4326
     
    diff --git a/dev/_examples/working_with_flow_directions.html b/dev/_examples/working_with_flow_directions.html index 345f8badf..226a39936 100644 --- a/dev/_examples/working_with_flow_directions.html +++ b/dev/_examples/working_with_flow_directions.html @@ -530,11 +530,11 @@

    Example: Working with flow direction data
    -2023-08-03 16:29:45,663 - flow direction data - log - INFO - HydroMT version: 0.8.1.dev0
    -2023-08-03 16:29:45,723 - flow direction data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:29:45,723 - flow direction data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    -2023-08-03 16:29:45,811 - flow direction data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:29:45,904 - flow direction data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.800, 12.800, 46.700] (epsg:4326))
    +2023-08-03 16:42:13,908 - flow direction data - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:42:13,967 - flow direction data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:42:13,968 - flow direction data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:42:14,061 - flow direction data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:42:14,156 - flow direction data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.800, 12.800, 46.700] (epsg:4326))
     

    Here, we illustrate some common GIS problems and how the functionality of the DataArray/Dataset vector accessor can be used. The data is accessed using the HydroMT DataCatalog. For more information see the Reading vector data example.

    @@ -523,7 +523,7 @@

    Geospatial attributes
    -2023-08-03 16:30:36,644 - raster data - data_catalog - INFO - DataCatalog: Getting gtsmv3_eu_era5 GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gtsmv3_eu_era5.nc
    +2023-08-03 16:43:05,369 - raster data - data_catalog - INFO - DataCatalog: Getting gtsmv3_eu_era5 GeoDataset netcdf data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gtsmv3_eu_era5.nc
     
    @@ -1065,9 +1065,9 @@

    Conversion @@ -1131,9 +1131,9 @@

    Conversion
    [10]:
    @@ -1532,7 +1532,7 @@ 

    Conversion @@ -1587,12 +1587,12 @@

    Conversion
    [11]:
    @@ -2013,7 +2013,7 @@ 

    Conversion @@ -2068,12 +2068,12 @@

    Conversion @@ -2497,7 +2497,7 @@

    I/O (Internal and External)
    @@ -953,7 +953,7 @@

    Model components
    @@ -1030,13 +1030,13 @@

    Model setup_* methods
    -2023-08-03 16:30:42,838 - working with models - model_grid - INFO - Preparing 2D grid.
    -2023-08-03 16:30:42,839 - working with models - basin_mask - DEBUG - Parsed region (kind=subbasin): {'uparea': 50, 'xy': [12.2051, 45.8331]}
    -2023-08-03 16:30:42,839 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:30:43,094 - working with models - basin_mask - DEBUG - Getting basin IDs at point locations.
    -2023-08-03 16:30:47,630 - working with models - basin_mask - INFO - subbasin bbox: [11.7750, 45.8042, 12.7450, 46.6900]
    -2023-08-03 16:30:47,700 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:30:47,723 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:12,181 - working with models - model_grid - INFO - Preparing 2D grid.
    +2023-08-03 16:43:12,182 - working with models - basin_mask - DEBUG - Parsed region (kind=subbasin): {'uparea': 50, 'xy': [12.2051, 45.8331]}
    +2023-08-03 16:43:12,183 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:43:12,440 - working with models - basin_mask - DEBUG - Getting basin IDs at point locations.
    +2023-08-03 16:43:17,160 - working with models - basin_mask - INFO - subbasin bbox: [11.7750, 45.8042, 12.7450, 46.6900]
    +2023-08-03 16:43:17,232 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:43:17,256 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
     {'region':                                             geometry  value
     0  POLYGON ((304637.761 5173886.488, 304634.754 5...    1.0}
     <xarray.Dataset>
    @@ -1104,8 +1104,8 @@ 

    Model setup_* methods
    -2023-08-03 16:30:48,778 - working with models - model_api - DEBUG - Setting model config options.
    -2023-08-03 16:30:48,779 - working with models - model_api - ERROR - Default config file not found at grid_model/model.ini
    +2023-08-03 16:43:18,385 - working with models - model_api - DEBUG - Setting model config options.
    +2023-08-03 16:43:18,388 - working with models - model_api - ERROR - Default config file not found at grid_model/model.ini
     

    @@ -1148,14 +1148,14 @@

    Model setup_* methods
    -2023-08-03 16:30:48,793 - working with models - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    -2023-08-03 16:30:48,795 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    -2023-08-03 16:30:48,827 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:48,890 - working with models - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    -2023-08-03 16:30:48,893 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    -2023-08-03 16:30:48,919 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:48,922 - working with models - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    -2023-08-03 16:30:48,923 - working with models - dataframe - INFO - DataFrame: Read csv data.
    +2023-08-03 16:43:18,400 - working with models - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    +2023-08-03 16:43:18,404 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    +2023-08-03 16:43:18,438 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:18,500 - working with models - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    +2023-08-03 16:43:18,502 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    +2023-08-03 16:43:18,532 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:18,535 - working with models - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    +2023-08-03 16:43:18,536 - working with models - dataframe - INFO - DataFrame: Read csv data.
     

    @@ -1567,13 +1567,13 @@

    Model setup_* methods

  • _FillValue :
    -999.0
  • @@ -1831,99 +1831,99 @@

    Building / updating a model with python
    -2023-08-03 16:30:50,545 - working with models - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:30:50,548 - working with models - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    -2023-08-03 16:30:50,638 - working with models - data_catalog - INFO - Parsing data catalog from data/vito_reclass.yml
    -2023-08-03 16:30:50,644 - working with models - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/hydromt.log.
    -2023-08-03 16:30:50,645 - working with models - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    -2023-08-03 16:30:50,648 - working with models - model_api - DEBUG - Setting model config options.
    -2023-08-03 16:30:50,649 - working with models - model_api - ERROR - Default config file not found at grid_model/model.ini
    -2023-08-03 16:30:50,651 - working with models - model_api - INFO - setup_grid.region: {'subbasin': [12.2051, 45.8331], 'uparea': 50}
    -2023-08-03 16:30:50,651 - working with models - model_api - INFO - setup_grid.res: 0.05
    -2023-08-03 16:30:50,653 - working with models - model_api - INFO - setup_grid.crs: 4326
    -2023-08-03 16:30:50,661 - working with models - model_api - INFO - setup_grid.rotated: False
    -2023-08-03 16:30:50,662 - working with models - model_api - INFO - setup_grid.hydrography_fn: merit_hydro
    -2023-08-03 16:30:50,664 - working with models - model_api - INFO - setup_grid.basin_index_fn: merit_hydro_index
    -2023-08-03 16:30:50,665 - working with models - model_api - INFO - setup_grid.add_mask: True
    -2023-08-03 16:30:50,665 - working with models - model_api - INFO - setup_grid.align: True
    -2023-08-03 16:30:50,668 - working with models - model_api - INFO - setup_grid.dec_origin: 0
    -2023-08-03 16:30:50,669 - working with models - model_api - INFO - setup_grid.dec_rotation: 3
    -2023-08-03 16:30:50,669 - working with models - model_grid - INFO - Preparing 2D grid.
    -2023-08-03 16:30:50,670 - working with models - basin_mask - DEBUG - Parsed region (kind=subbasin): {'uparea': 50, 'xy': [12.2051, 45.8331]}
    -2023-08-03 16:30:50,670 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:30:50,835 - working with models - basin_mask - DEBUG - Getting basin IDs at point locations.
    -2023-08-03 16:30:51,353 - working with models - basin_mask - INFO - subbasin bbox: [11.7750, 45.8042, 12.7450, 46.6900]
    -2023-08-03 16:30:51,423 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:30:51,447 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:51,491 - working with models - model_api - INFO - setup_grid_from_constant.constant: 0.01
    -2023-08-03 16:30:51,492 - working with models - model_api - INFO - setup_grid_from_constant.name: c1
    -2023-08-03 16:30:51,495 - working with models - model_api - INFO - setup_grid_from_constant.dtype: float32
    -2023-08-03 16:30:51,496 - working with models - model_api - INFO - setup_grid_from_constant.nodata: -99.0
    -2023-08-03 16:30:51,497 - working with models - model_api - INFO - setup_grid_from_constant.mask_name: mask
    -2023-08-03 16:30:51,508 - working with models - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    -2023-08-03 16:30:51,509 - working with models - model_api - INFO - setup_grid_from_rasterdataset.variables: ['elevtn', 'basins']
    -2023-08-03 16:30:51,510 - working with models - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    -2023-08-03 16:30:51,511 - working with models - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: ['average', 'mode']
    -2023-08-03 16:30:51,511 - working with models - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    -2023-08-03 16:30:51,512 - working with models - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    -2023-08-03 16:30:51,513 - working with models - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    -2023-08-03 16:30:51,514 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    -2023-08-03 16:30:51,553 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:51,674 - working with models - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: vito
    -2023-08-03 16:30:51,675 - working with models - model_api - INFO - setup_grid_from_rasterdataset.variables: None
    -2023-08-03 16:30:51,676 - working with models - model_api - INFO - setup_grid_from_rasterdataset.fill_method: nearest
    -2023-08-03 16:30:51,677 - working with models - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: mode
    -2023-08-03 16:30:51,677 - working with models - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    -2023-08-03 16:30:51,678 - working with models - model_api - INFO - setup_grid_from_rasterdataset.rename: {'vito': 'landuse'}
    -2023-08-03 16:30:51,679 - working with models - model_grid - INFO - Preparing grid data from raster source vito
    -2023-08-03 16:30:51,680 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    -2023-08-03 16:30:51,710 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:51,919 - working with models - model_api - INFO - setup_grid_from_raster_reclass.raster_fn: vito
    -2023-08-03 16:30:51,920 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reclass_table_fn: vito_reclass
    -2023-08-03 16:30:51,921 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reclass_variables: ['manning']
    -2023-08-03 16:30:51,924 - working with models - model_api - INFO - setup_grid_from_raster_reclass.variable: None
    -2023-08-03 16:30:51,924 - working with models - model_api - INFO - setup_grid_from_raster_reclass.fill_method: None
    -2023-08-03 16:30:51,926 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reproject_method: ['average']
    -2023-08-03 16:30:51,927 - working with models - model_api - INFO - setup_grid_from_raster_reclass.mask_name: mask
    -2023-08-03 16:30:51,928 - working with models - model_api - INFO - setup_grid_from_raster_reclass.rename: {}
    -2023-08-03 16:30:51,931 - working with models - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    -2023-08-03 16:30:51,932 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    -2023-08-03 16:30:51,956 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    -2023-08-03 16:30:51,959 - working with models - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    -2023-08-03 16:30:51,960 - working with models - dataframe - INFO - DataFrame: Read csv data.
    -2023-08-03 16:30:52,031 - working with models - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    -2023-08-03 16:30:52,032 - working with models - model_api - INFO - setup_grid_from_geodataframe.variables: ['waterbody_id', 'Depth_avg']
    -2023-08-03 16:30:52,034 - working with models - model_api - INFO - setup_grid_from_geodataframe.nodata: [-1, -999.0]
    -2023-08-03 16:30:52,035 - working with models - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: value
    -2023-08-03 16:30:52,036 - working with models - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    -2023-08-03 16:30:52,037 - working with models - model_api - INFO - setup_grid_from_geodataframe.rename: {'waterbody_id': 'lake_id', 'Detph_avg': 'lake_depth'}
    -2023-08-03 16:30:52,038 - working with models - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    -2023-08-03 16:30:52,038 - working with models - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    -2023-08-03 16:30:52,042 - working with models - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    -2023-08-03 16:30:52,051 - working with models - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.775, 45.804, 12.745, 46.690].
    -2023-08-03 16:30:52,077 - working with models - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    -2023-08-03 16:30:52,120 - working with models - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    -2023-08-03 16:30:52,121 - working with models - model_api - INFO - setup_grid_from_geodataframe.variables: None
    -2023-08-03 16:30:52,123 - working with models - model_api - INFO - setup_grid_from_geodataframe.nodata: -1
    -2023-08-03 16:30:52,124 - working with models - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: fraction
    -2023-08-03 16:30:52,125 - working with models - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    -2023-08-03 16:30:52,126 - working with models - model_api - INFO - setup_grid_from_geodataframe.rename: {'hydro_lakes': 'water_frac'}
    -2023-08-03 16:30:52,127 - working with models - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    -2023-08-03 16:30:52,127 - working with models - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    -2023-08-03 16:30:52,132 - working with models - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    -2023-08-03 16:30:52,136 - working with models - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.775, 45.804, 12.745, 46.690].
    -2023-08-03 16:30:52,162 - working with models - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    -2023-08-03 16:31:02,143 - working with models - model_api - INFO - write.components: ['config', 'geoms', 'grid']
    -2023-08-03 16:31:02,144 - working with models - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1
    -2023-08-03 16:31:02,145 - working with models - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/model.ini
    -2023-08-03 16:31:02,149 - working with models - model_api - DEBUG - Writing file geoms/region.geojson
    -2023-08-03 16:31:02,196 - working with models - model_api - DEBUG - Writing file grid/grid.nc
    -2023-08-03 16:31:02,580 - working with models - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1
    -2023-08-03 16:31:02,582 - working with models - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/model.ini
    -2023-08-03 16:31:02,585 - working with models - model_api - DEBUG - Writing file grid/grid.nc
    -2023-08-03 16:31:03,011 - working with models - model_api - DEBUG - Writing file geoms/region.geojson
    -2023-08-03 16:31:03,066 - working with models - model_api - DEBUG - No forcing data found, skip writing.
    -2023-08-03 16:31:03,067 - working with models - model_api - DEBUG - No states data found, skip writing.
    +2023-08-03 16:43:20,312 - working with models - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:43:20,315 - working with models - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:43:20,412 - working with models - data_catalog - INFO - Parsing data catalog from data/vito_reclass.yml
    +2023-08-03 16:43:20,415 - working with models - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/hydromt.log.
    +2023-08-03 16:43:20,416 - working with models - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    +2023-08-03 16:43:20,418 - working with models - model_api - DEBUG - Setting model config options.
    +2023-08-03 16:43:20,420 - working with models - model_api - ERROR - Default config file not found at grid_model/model.ini
    +2023-08-03 16:43:20,422 - working with models - model_api - INFO - setup_grid.region: {'subbasin': [12.2051, 45.8331], 'uparea': 50}
    +2023-08-03 16:43:20,423 - working with models - model_api - INFO - setup_grid.res: 0.05
    +2023-08-03 16:43:20,425 - working with models - model_api - INFO - setup_grid.crs: 4326
    +2023-08-03 16:43:20,426 - working with models - model_api - INFO - setup_grid.rotated: False
    +2023-08-03 16:43:20,426 - working with models - model_api - INFO - setup_grid.hydrography_fn: merit_hydro
    +2023-08-03 16:43:20,427 - working with models - model_api - INFO - setup_grid.basin_index_fn: merit_hydro_index
    +2023-08-03 16:43:20,427 - working with models - model_api - INFO - setup_grid.add_mask: True
    +2023-08-03 16:43:20,428 - working with models - model_api - INFO - setup_grid.align: True
    +2023-08-03 16:43:20,429 - working with models - model_api - INFO - setup_grid.dec_origin: 0
    +2023-08-03 16:43:20,429 - working with models - model_api - INFO - setup_grid.dec_rotation: 3
    +2023-08-03 16:43:20,430 - working with models - model_grid - INFO - Preparing 2D grid.
    +2023-08-03 16:43:20,431 - working with models - basin_mask - DEBUG - Parsed region (kind=subbasin): {'uparea': 50, 'xy': [12.2051, 45.8331]}
    +2023-08-03 16:43:20,431 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:43:20,616 - working with models - basin_mask - DEBUG - Getting basin IDs at point locations.
    +2023-08-03 16:43:21,118 - working with models - basin_mask - INFO - subbasin bbox: [11.7750, 45.8042, 12.7450, 46.6900]
    +2023-08-03 16:43:21,190 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:43:21,215 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:21,265 - working with models - model_api - INFO - setup_grid_from_constant.constant: 0.01
    +2023-08-03 16:43:21,267 - working with models - model_api - INFO - setup_grid_from_constant.name: c1
    +2023-08-03 16:43:21,268 - working with models - model_api - INFO - setup_grid_from_constant.dtype: float32
    +2023-08-03 16:43:21,271 - working with models - model_api - INFO - setup_grid_from_constant.nodata: -99.0
    +2023-08-03 16:43:21,271 - working with models - model_api - INFO - setup_grid_from_constant.mask_name: mask
    +2023-08-03 16:43:21,281 - working with models - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    +2023-08-03 16:43:21,282 - working with models - model_api - INFO - setup_grid_from_rasterdataset.variables: ['elevtn', 'basins']
    +2023-08-03 16:43:21,283 - working with models - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    +2023-08-03 16:43:21,284 - working with models - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: ['average', 'mode']
    +2023-08-03 16:43:21,284 - working with models - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    +2023-08-03 16:43:21,285 - working with models - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    +2023-08-03 16:43:21,286 - working with models - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    +2023-08-03 16:43:21,287 - working with models - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    +2023-08-03 16:43:21,329 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:21,454 - working with models - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: vito
    +2023-08-03 16:43:21,455 - working with models - model_api - INFO - setup_grid_from_rasterdataset.variables: None
    +2023-08-03 16:43:21,456 - working with models - model_api - INFO - setup_grid_from_rasterdataset.fill_method: nearest
    +2023-08-03 16:43:21,458 - working with models - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: mode
    +2023-08-03 16:43:21,459 - working with models - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    +2023-08-03 16:43:21,460 - working with models - model_api - INFO - setup_grid_from_rasterdataset.rename: {'vito': 'landuse'}
    +2023-08-03 16:43:21,461 - working with models - model_grid - INFO - Preparing grid data from raster source vito
    +2023-08-03 16:43:21,463 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    +2023-08-03 16:43:21,486 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:21,702 - working with models - model_api - INFO - setup_grid_from_raster_reclass.raster_fn: vito
    +2023-08-03 16:43:21,706 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reclass_table_fn: vito_reclass
    +2023-08-03 16:43:21,707 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reclass_variables: ['manning']
    +2023-08-03 16:43:21,708 - working with models - model_api - INFO - setup_grid_from_raster_reclass.variable: None
    +2023-08-03 16:43:21,708 - working with models - model_api - INFO - setup_grid_from_raster_reclass.fill_method: None
    +2023-08-03 16:43:21,709 - working with models - model_api - INFO - setup_grid_from_raster_reclass.reproject_method: ['average']
    +2023-08-03 16:43:21,710 - working with models - model_api - INFO - setup_grid_from_raster_reclass.mask_name: mask
    +2023-08-03 16:43:21,710 - working with models - model_api - INFO - setup_grid_from_raster_reclass.rename: {}
    +2023-08-03 16:43:21,715 - working with models - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    +2023-08-03 16:43:21,716 - working with models - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    +2023-08-03 16:43:21,739 - working with models - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.775, 45.804, 12.745, 46.690] (epsg:4326))
    +2023-08-03 16:43:21,742 - working with models - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    +2023-08-03 16:43:21,743 - working with models - dataframe - INFO - DataFrame: Read csv data.
    +2023-08-03 16:43:21,813 - working with models - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    +2023-08-03 16:43:21,814 - working with models - model_api - INFO - setup_grid_from_geodataframe.variables: ['waterbody_id', 'Depth_avg']
    +2023-08-03 16:43:21,815 - working with models - model_api - INFO - setup_grid_from_geodataframe.nodata: [-1, -999.0]
    +2023-08-03 16:43:21,816 - working with models - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: value
    +2023-08-03 16:43:21,816 - working with models - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    +2023-08-03 16:43:21,817 - working with models - model_api - INFO - setup_grid_from_geodataframe.rename: {'waterbody_id': 'lake_id', 'Detph_avg': 'lake_depth'}
    +2023-08-03 16:43:21,818 - working with models - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    +2023-08-03 16:43:21,819 - working with models - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    +2023-08-03 16:43:21,831 - working with models - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    +2023-08-03 16:43:21,836 - working with models - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.775, 45.804, 12.745, 46.690].
    +2023-08-03 16:43:21,863 - working with models - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    +2023-08-03 16:43:21,905 - working with models - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    +2023-08-03 16:43:21,906 - working with models - model_api - INFO - setup_grid_from_geodataframe.variables: None
    +2023-08-03 16:43:21,907 - working with models - model_api - INFO - setup_grid_from_geodataframe.nodata: -1
    +2023-08-03 16:43:21,909 - working with models - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: fraction
    +2023-08-03 16:43:21,910 - working with models - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    +2023-08-03 16:43:21,910 - working with models - model_api - INFO - setup_grid_from_geodataframe.rename: {'hydro_lakes': 'water_frac'}
    +2023-08-03 16:43:21,911 - working with models - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    +2023-08-03 16:43:21,911 - working with models - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    +2023-08-03 16:43:21,916 - working with models - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    +2023-08-03 16:43:21,920 - working with models - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.775, 45.804, 12.745, 46.690].
    +2023-08-03 16:43:21,951 - working with models - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    +2023-08-03 16:43:32,239 - working with models - model_api - INFO - write.components: ['config', 'geoms', 'grid']
    +2023-08-03 16:43:32,240 - working with models - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1
    +2023-08-03 16:43:32,243 - working with models - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/model.ini
    +2023-08-03 16:43:32,245 - working with models - model_api - DEBUG - Writing file geoms/region.geojson
    +2023-08-03 16:43:32,294 - working with models - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:43:32,679 - working with models - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1
    +2023-08-03 16:43:32,680 - working with models - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model_py1/model.ini
    +2023-08-03 16:43:32,684 - working with models - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:43:33,062 - working with models - model_api - DEBUG - Writing file geoms/region.geojson
    +2023-08-03 16:43:33,112 - working with models - model_api - DEBUG - No forcing data found, skip writing.
    +2023-08-03 16:43:33,113 - working with models - model_api - DEBUG - No states data found, skip writing.
     

    diff --git a/dev/_examples/working_with_models_basics.html b/dev/_examples/working_with_models_basics.html index b64f67cc0..468514517 100644 --- a/dev/_examples/working_with_models_basics.html +++ b/dev/_examples/working_with_models_basics.html @@ -585,30 +585,30 @@

    Build a model from CLI
    -2023-08-03 16:31:19,997 - build - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model/hydromt.log.
    -2023-08-03 16:31:19,997 - build - log - INFO - HydroMT version: 0.8.1.dev0
    -2023-08-03 16:31:19,997 - build - main - INFO - Building instance of grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model.
    -2023-08-03 16:31:19,997 - build - main - INFO - User settings:
    -2023-08-03 16:31:20,011 - build - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.region: {'bbox': [11.7, 45.35, 12.95, 46.7]}
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.res: 0.05
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.crs: None
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.rotated: False
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.hydrography_fn: None
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.basin_index_fn: None
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.add_mask: True
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.align: True
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.dec_origin: 0
    -2023-08-03 16:31:20,012 - build - model_api - INFO - setup_grid.dec_rotation: 3
    -2023-08-03 16:31:20,012 - build - model_grid - INFO - Preparing 2D grid.
    -2023-08-03 16:31:20,012 - build - basin_mask - DEBUG - Parsed region (kind=bbox): {'bbox': [11.7, 45.35, 12.95, 46.7]}
    -2023-08-03 16:31:20,032 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model
    -2023-08-03 16:31:20,032 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model/model.ini
    -2023-08-03 16:31:20,032 - build - model_api - ERROR - Default config file not found at grid_model/model.ini
    -2023-08-03 16:31:20,032 - build - model_api - DEBUG - Writing file grid/grid.nc
    -2023-08-03 16:31:20,270 - build - model_api - DEBUG - Writing file geoms/region.geojson
    -2023-08-03 16:31:20,320 - build - model_api - DEBUG - No forcing data found, skip writing.
    -2023-08-03 16:31:20,320 - build - model_api - DEBUG - No states data found, skip writing.
    +2023-08-03 16:43:50,887 - build - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model/hydromt.log.
    +2023-08-03 16:43:50,887 - build - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:43:50,887 - build - main - INFO - Building instance of grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model.
    +2023-08-03 16:43:50,888 - build - main - INFO - User settings:
    +2023-08-03 16:43:50,901 - build - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.region: {'bbox': [11.7, 45.35, 12.95, 46.7]}
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.res: 0.05
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.crs: None
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.rotated: False
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.hydrography_fn: None
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.basin_index_fn: None
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.add_mask: True
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.align: True
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.dec_origin: 0
    +2023-08-03 16:43:50,902 - build - model_api - INFO - setup_grid.dec_rotation: 3
    +2023-08-03 16:43:50,902 - build - model_grid - INFO - Preparing 2D grid.
    +2023-08-03 16:43:50,902 - build - basin_mask - DEBUG - Parsed region (kind=bbox): {'bbox': [11.7, 45.35, 12.95, 46.7]}
    +2023-08-03 16:43:50,922 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model
    +2023-08-03 16:43:50,922 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model/model.ini
    +2023-08-03 16:43:50,922 - build - model_api - ERROR - Default config file not found at grid_model/model.ini
    +2023-08-03 16:43:50,922 - build - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:43:51,165 - build - model_api - DEBUG - Writing file geoms/region.geojson
    +2023-08-03 16:43:51,216 - build - model_api - DEBUG - No forcing data found, skip writing.
    +2023-08-03 16:43:51,216 - build - model_api - DEBUG - No states data found, skip writing.
     
     

    @@ -766,97 +766,97 @@

    Build a model from CLI
    -2023-08-03 16:31:23,359 - build - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/hydromt.log.
    -2023-08-03 16:31:23,360 - build - log - INFO - HydroMT version: 0.8.1.dev0
    -2023-08-03 16:31:23,360 - build - main - INFO - Building instance of grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1.
    -2023-08-03 16:31:23,360 - build - main - INFO - User settings:
    -2023-08-03 16:31:23,437 - build - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:31:23,437 - build - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    -2023-08-03 16:31:23,529 - build - data_catalog - INFO - Parsing data catalog from data/vito_reclass.yml
    -2023-08-03 16:31:23,531 - build - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    -2023-08-03 16:31:23,531 - build - model_api - DEBUG - Setting model config options.
    -2023-08-03 16:31:23,531 - build - model_api - ERROR - Default config file not found at grid_model/model.ini
    -2023-08-03 16:31:23,531 - build - model_api - INFO - setup_grid.region: {'bbox': [11.7, 45.35, 12.95, 46.7]}
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.res: 0.05
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.crs: 4326
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.rotated: False
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.hydrography_fn: merit_hydro
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.basin_index_fn: merit_hydro_index
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.add_mask: True
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.align: True
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.dec_origin: 0
    -2023-08-03 16:31:23,532 - build - model_api - INFO - setup_grid.dec_rotation: 3
    -2023-08-03 16:31:23,532 - build - model_grid - INFO - Preparing 2D grid.
    -2023-08-03 16:31:23,532 - build - basin_mask - DEBUG - Parsed region (kind=bbox): {'bbox': [11.7, 45.35, 12.95, 46.7]}
    -2023-08-03 16:31:23,557 - build - model_api - INFO - setup_grid_from_constant.constant: 0.01
    -2023-08-03 16:31:23,557 - build - model_api - INFO - setup_grid_from_constant.name: c1
    -2023-08-03 16:31:23,557 - build - model_api - INFO - setup_grid_from_constant.dtype: float32
    -2023-08-03 16:31:23,557 - build - model_api - INFO - setup_grid_from_constant.nodata: -99.0
    -2023-08-03 16:31:23,557 - build - model_api - INFO - setup_grid_from_constant.mask_name: mask
    -2023-08-03 16:31:23,563 - build - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    -2023-08-03 16:31:23,564 - build - model_api - INFO - setup_grid_from_rasterdataset.variables: ['elevtn', 'basins']
    -2023-08-03 16:31:23,564 - build - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    -2023-08-03 16:31:23,564 - build - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: ['average', 'mode']
    -2023-08-03 16:31:23,564 - build - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    -2023-08-03 16:31:23,564 - build - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    -2023-08-03 16:31:23,564 - build - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    -2023-08-03 16:31:23,564 - build - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    -2023-08-03 16:31:23,634 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: vito
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.variables: None
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.fill_method: nearest
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: mode
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    -2023-08-03 16:31:23,745 - build - model_api - INFO - setup_grid_from_rasterdataset.rename: {'vito': 'landuse'}
    -2023-08-03 16:31:23,745 - build - model_grid - INFO - Preparing grid data from raster source vito
    -2023-08-03 16:31:23,746 - build - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    -2023-08-03 16:31:23,767 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    -2023-08-03 16:31:24,024 - build - model_api - INFO - setup_grid_from_raster_reclass.raster_fn: vito
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.reclass_table_fn: vito_reclass
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.reclass_variables: ['manning']
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.variable: None
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.fill_method: None
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.reproject_method: ['average']
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.mask_name: mask
    -2023-08-03 16:31:24,025 - build - model_api - INFO - setup_grid_from_raster_reclass.rename: {}
    -2023-08-03 16:31:24,025 - build - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    -2023-08-03 16:31:24,026 - build - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    -2023-08-03 16:31:24,049 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    -2023-08-03 16:31:24,050 - build - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    -2023-08-03 16:31:24,051 - build - dataframe - INFO - DataFrame: Read csv data.
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.variables: ['waterbody_id', 'Depth_avg']
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.nodata: [-1, -999.0]
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: value
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.rename: {'waterbody_id': 'lake_id', 'Detph_avg': 'lake_depth'}
    -2023-08-03 16:31:24,116 - build - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    -2023-08-03 16:31:24,116 - build - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    -2023-08-03 16:31:24,120 - build - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    -2023-08-03 16:31:24,122 - build - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.700, 45.350, 12.950, 46.700].
    -2023-08-03 16:31:24,188 - build - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    -2023-08-03 16:31:24,221 - build - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.variables: None
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.nodata: -1
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: fraction
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.rename: {'hydro_lakes': 'water_frac'}
    -2023-08-03 16:31:24,222 - build - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    -2023-08-03 16:31:24,222 - build - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    -2023-08-03 16:31:24,226 - build - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    -2023-08-03 16:31:24,227 - build - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.700, 45.350, 12.950, 46.700].
    -2023-08-03 16:31:24,265 - build - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    -2023-08-03 16:31:24,366 - build - model_api - INFO - write.components: ['config', 'geoms', 'grid']
    -2023-08-03 16:31:24,366 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    -2023-08-03 16:31:24,366 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    -2023-08-03 16:31:24,366 - build - model_api - DEBUG - Writing file geoms/region.geojson
    -2023-08-03 16:31:24,376 - build - model_api - DEBUG - Writing file grid/grid.nc
    -2023-08-03 16:31:24,793 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    -2023-08-03 16:31:24,793 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    -2023-08-03 16:31:24,794 - build - model_api - DEBUG - Writing file grid/grid.nc
    -2023-08-03 16:31:25,097 - build - model_api - DEBUG - Writing file geoms/region.geojson
    -2023-08-03 16:31:25,108 - build - model_api - DEBUG - No forcing data found, skip writing.
    -2023-08-03 16:31:25,108 - build - model_api - DEBUG - No states data found, skip writing.
    +2023-08-03 16:43:54,439 - build - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/hydromt.log.
    +2023-08-03 16:43:54,439 - build - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:43:54,439 - build - main - INFO - Building instance of grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1.
    +2023-08-03 16:43:54,439 - build - main - INFO - User settings:
    +2023-08-03 16:43:54,521 - build - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:43:54,522 - build - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:43:54,607 - build - data_catalog - INFO - Parsing data catalog from data/vito_reclass.yml
    +2023-08-03 16:43:54,609 - build - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    +2023-08-03 16:43:54,609 - build - model_api - DEBUG - Setting model config options.
    +2023-08-03 16:43:54,609 - build - model_api - ERROR - Default config file not found at grid_model/model.ini
    +2023-08-03 16:43:54,609 - build - model_api - INFO - setup_grid.region: {'bbox': [11.7, 45.35, 12.95, 46.7]}
    +2023-08-03 16:43:54,609 - build - model_api - INFO - setup_grid.res: 0.05
    +2023-08-03 16:43:54,609 - build - model_api - INFO - setup_grid.crs: 4326
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.rotated: False
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.hydrography_fn: merit_hydro
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.basin_index_fn: merit_hydro_index
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.add_mask: True
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.align: True
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.dec_origin: 0
    +2023-08-03 16:43:54,610 - build - model_api - INFO - setup_grid.dec_rotation: 3
    +2023-08-03 16:43:54,610 - build - model_grid - INFO - Preparing 2D grid.
    +2023-08-03 16:43:54,610 - build - basin_mask - DEBUG - Parsed region (kind=bbox): {'bbox': [11.7, 45.35, 12.95, 46.7]}
    +2023-08-03 16:43:54,634 - build - model_api - INFO - setup_grid_from_constant.constant: 0.01
    +2023-08-03 16:43:54,634 - build - model_api - INFO - setup_grid_from_constant.name: c1
    +2023-08-03 16:43:54,634 - build - model_api - INFO - setup_grid_from_constant.dtype: float32
    +2023-08-03 16:43:54,634 - build - model_api - INFO - setup_grid_from_constant.nodata: -99.0
    +2023-08-03 16:43:54,634 - build - model_api - INFO - setup_grid_from_constant.mask_name: mask
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.variables: ['elevtn', 'basins']
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: ['average', 'mode']
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    +2023-08-03 16:43:54,641 - build - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    +2023-08-03 16:43:54,641 - build - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    +2023-08-03 16:43:54,642 - build - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    +2023-08-03 16:43:54,718 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: vito
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.variables: None
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.fill_method: nearest
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: mode
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    +2023-08-03 16:43:54,836 - build - model_api - INFO - setup_grid_from_rasterdataset.rename: {'vito': 'landuse'}
    +2023-08-03 16:43:54,836 - build - model_grid - INFO - Preparing grid data from raster source vito
    +2023-08-03 16:43:54,837 - build - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    +2023-08-03 16:43:54,859 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    +2023-08-03 16:43:55,141 - build - model_api - INFO - setup_grid_from_raster_reclass.raster_fn: vito
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.reclass_table_fn: vito_reclass
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.reclass_variables: ['manning']
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.variable: None
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.fill_method: None
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.reproject_method: ['average']
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.mask_name: mask
    +2023-08-03 16:43:55,142 - build - model_api - INFO - setup_grid_from_raster_reclass.rename: {}
    +2023-08-03 16:43:55,142 - build - model_grid - INFO - Preparing grid data by reclassifying the data in vito based on vito_reclass
    +2023-08-03 16:43:55,143 - build - data_catalog - INFO - DataCatalog: Getting vito RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/vito.tif
    +2023-08-03 16:43:55,168 - build - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    +2023-08-03 16:43:55,170 - build - data_catalog - INFO - DataCatalog: Getting vito_reclass DataFrame csv data from /home/runner/work/hydromt/hydromt/docs/_examples/data/vito_reclass.csv
    +2023-08-03 16:43:55,170 - build - dataframe - INFO - DataFrame: Read csv data.
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.variables: ['waterbody_id', 'Depth_avg']
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.nodata: [-1, -999.0]
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: value
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.rename: {'waterbody_id': 'lake_id', 'Detph_avg': 'lake_depth'}
    +2023-08-03 16:43:55,237 - build - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    +2023-08-03 16:43:55,238 - build - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    +2023-08-03 16:43:55,242 - build - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    +2023-08-03 16:43:55,243 - build - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.700, 45.350, 12.950, 46.700].
    +2023-08-03 16:43:55,311 - build - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    +2023-08-03 16:43:55,345 - build - model_api - INFO - setup_grid_from_geodataframe.vector_fn: hydro_lakes
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.variables: None
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.nodata: -1
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.rasterize_method: fraction
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.mask_name: mask
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.rename: {'hydro_lakes': 'water_frac'}
    +2023-08-03 16:43:55,346 - build - model_api - INFO - setup_grid_from_geodataframe.all_touched: True
    +2023-08-03 16:43:55,346 - build - model_grid - INFO - Preparing grid data from vector 'hydro_lakes'.
    +2023-08-03 16:43:55,350 - build - data_catalog - INFO - DataCatalog: Getting hydro_lakes GeoDataFrame vector data from /home/runner/.hydromt_data/artifact_data/v0.0.8/hydro_lakes.gpkg
    +2023-08-03 16:43:55,351 - build - geodataframe - INFO - GeoDataFrame: Read vector data and clip to geom (epsg:4326) [11.700, 45.350, 12.950, 46.700].
    +2023-08-03 16:43:55,389 - build - geodataframe - DEBUG - GeoDataFrame: Convert units for 1 columns.
    +2023-08-03 16:43:55,492 - build - model_api - INFO - write.components: ['config', 'geoms', 'grid']
    +2023-08-03 16:43:55,492 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    +2023-08-03 16:43:55,492 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    +2023-08-03 16:43:55,493 - build - model_api - DEBUG - Writing file geoms/region.geojson
    +2023-08-03 16:43:55,503 - build - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:43:55,930 - build - model_api - INFO - Writing model data to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    +2023-08-03 16:43:55,930 - build - model_api - INFO - Writing model config to /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    +2023-08-03 16:43:55,931 - build - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:43:56,220 - build - model_api - DEBUG - Writing file geoms/region.geojson
    +2023-08-03 16:43:56,232 - build - model_api - DEBUG - No forcing data found, skip writing.
    +2023-08-03 16:43:56,232 - build - model_api - DEBUG - No states data found, skip writing.
     
     
    @@ -956,7 +956,7 @@

    Build a model from CLI
    -<matplotlib.collections.QuadMesh at 0x7ff9228ab9a0>
    +<matplotlib.collections.QuadMesh at 0x7f4b1b007ac0>
     
    @@ -1058,34 +1058,34 @@

    Update a model from CLI
    -2023-08-03 16:31:32,848 - update - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update/hydromt.log.
    -2023-08-03 16:31:32,848 - update - log - INFO - HydroMT version: 0.8.1.dev0
    -2023-08-03 16:31:32,848 - update - main - INFO - Updating grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1 (r).
    -2023-08-03 16:31:32,848 - update - main - INFO - Output dir: /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update
    -2023-08-03 16:31:32,848 - update - main - INFO - User settings:
    -2023-08-03 16:31:32,915 - update - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:31:32,915 - update - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    -2023-08-03 16:31:32,999 - update - log - DEBUG - Appending log messages to file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/hydromt.log.
    -2023-08-03 16:31:32,999 - update - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    -2023-08-03 16:31:32,999 - update - model_api - INFO - Reading model data from /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    -2023-08-03 16:31:32,999 - update - model_api - DEBUG - Model config read from /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    -2023-08-03 16:31:32,999 - update - model_api - DEBUG - Reading model file grid.
    -2023-08-03 16:31:33,117 - update - model_api - DEBUG - Reading model file region.
    -2023-08-03 16:31:33,154 - update - log - DEBUG - Appending log messages to file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update/hydromt.log.
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.variables: uparea
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: max
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    -2023-08-03 16:31:33,155 - update - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    -2023-08-03 16:31:33,155 - update - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    -2023-08-03 16:31:33,156 - update - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    -2023-08-03 16:31:33,182 - update - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    -2023-08-03 16:31:33,247 - update - model_api - INFO - write_grid.fn: grid/grid.nc
    -2023-08-03 16:31:33,247 - update - model_api - INFO - write_grid.gdal_compliant: False
    -2023-08-03 16:31:33,247 - update - model_api - INFO - write_grid.rename_dims: False
    -2023-08-03 16:31:33,247 - update - model_api - INFO - write_grid.force_sn: False
    -2023-08-03 16:31:33,247 - update - model_api - DEBUG - Writing file grid/grid.nc
    +2023-08-03 16:44:04,472 - update - log - DEBUG - Writing log messages to new file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update/hydromt.log.
    +2023-08-03 16:44:04,473 - update - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:44:04,473 - update - main - INFO - Updating grid_model model at /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1 (r).
    +2023-08-03 16:44:04,473 - update - main - INFO - Output dir: /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update
    +2023-08-03 16:44:04,473 - update - main - INFO - User settings:
    +2023-08-03 16:44:04,547 - update - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:44:04,547 - update - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:44:04,640 - update - log - DEBUG - Appending log messages to file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/hydromt.log.
    +2023-08-03 16:44:04,640 - update - model_api - INFO - Initializing grid_model model from hydromt (v0.8.1.dev0).
    +2023-08-03 16:44:04,640 - update - model_api - INFO - Reading model data from /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1
    +2023-08-03 16:44:04,641 - update - model_api - DEBUG - Model config read from /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1/model.ini
    +2023-08-03 16:44:04,641 - update - model_api - DEBUG - Reading model file grid.
    +2023-08-03 16:44:04,763 - update - model_api - DEBUG - Reading model file region.
    +2023-08-03 16:44:04,801 - update - log - DEBUG - Appending log messages to file /home/runner/work/hydromt/hydromt/docs/_examples/tmp_grid_model1_update/hydromt.log.
    +2023-08-03 16:44:04,802 - update - model_api - INFO - setup_grid_from_rasterdataset.raster_fn: merit_hydro_1k
    +2023-08-03 16:44:04,802 - update - model_api - INFO - setup_grid_from_rasterdataset.variables: uparea
    +2023-08-03 16:44:04,803 - update - model_api - INFO - setup_grid_from_rasterdataset.fill_method: None
    +2023-08-03 16:44:04,803 - update - model_api - INFO - setup_grid_from_rasterdataset.reproject_method: max
    +2023-08-03 16:44:04,803 - update - model_api - INFO - setup_grid_from_rasterdataset.mask_name: mask
    +2023-08-03 16:44:04,803 - update - model_api - INFO - setup_grid_from_rasterdataset.rename: {}
    +2023-08-03 16:44:04,803 - update - model_grid - INFO - Preparing grid data from raster source merit_hydro_1k
    +2023-08-03 16:44:04,803 - update - data_catalog - INFO - DataCatalog: Getting merit_hydro_1k RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro_1k/{variable}.tif
    +2023-08-03 16:44:04,830 - update - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [11.700, 45.350, 12.950, 46.700] (epsg:4326))
    +2023-08-03 16:44:04,902 - update - model_api - INFO - write_grid.fn: grid/grid.nc
    +2023-08-03 16:44:04,903 - update - model_api - INFO - write_grid.gdal_compliant: False
    +2023-08-03 16:44:04,903 - update - model_api - INFO - write_grid.rename_dims: False
    +2023-08-03 16:44:04,903 - update - model_api - INFO - write_grid.force_sn: False
    +2023-08-03 16:44:04,903 - update - model_api - DEBUG - Writing file grid/grid.nc
     
     

    diff --git a/dev/_examples/working_with_raster.html b/dev/_examples/working_with_raster.html index f6ed2b271..1f040cc2c 100644 --- a/dev/_examples/working_with_raster.html +++ b/dev/_examples/working_with_raster.html @@ -500,9 +500,9 @@

    Example: Working with raster data
    -2023-08-03 16:31:38,328 - raster data - log - INFO - HydroMT version: 0.8.1.dev0
    -2023-08-03 16:31:38,386 - raster data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    -2023-08-03 16:31:38,387 - raster data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
    +2023-08-03 16:44:10,469 - raster data - log - INFO - HydroMT version: 0.8.1.dev0
    +2023-08-03 16:44:10,531 - raster data - data_catalog - INFO - Reading data catalog artifact_data v0.0.8 from archive
    +2023-08-03 16:44:10,532 - raster data - data_catalog - INFO - Parsing data catalog from /home/runner/.hydromt_data/artifact_data/v0.0.8/data_catalog.yml
     

    Here, we illustrate some common GIS problems and how the functionality of the DataArray/Dataset raster accessor can be used. The data is accessed using the HydroMT DataCatalog. For more information see the Reading raster data example.

    @@ -526,7 +526,7 @@

    Geospatial attributes
    -2023-08-03 16:31:38,483 - raster data - data_catalog - INFO - DataCatalog: Getting ghs_pop_2015 RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/ghs_pop_2015.tif
    +2023-08-03 16:44:10,629 - raster data - data_catalog - INFO - DataCatalog: Getting ghs_pop_2015 RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/ghs_pop_2015.tif
     
    @@ -920,12 +920,12 @@

    Reproject and merge
    -2023-08-03 16:32:00,437 - raster data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    -2023-08-03 16:32:00,461 - raster data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.200, 45.300, 13.000, 45.800] (epsg:4326))
    +2023-08-03 16:44:32,645 - raster data - data_catalog - INFO - DataCatalog: Getting merit_hydro RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/merit_hydro/{variable}.tif
    +2023-08-03 16:44:32,666 - raster data - rasterdataset - DEBUG - RasterDataset: Clip with bbox - [12.200, 45.300, 13.000, 45.800] (epsg:4326))
     resolution MERIT Hydro: 0.00083
    -2023-08-03 16:32:00,467 - raster data - data_catalog - INFO - DataCatalog: Getting gebco RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gebco.tif
    +2023-08-03 16:44:32,672 - raster data - data_catalog - INFO - DataCatalog: Getting gebco RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/gebco.tif
     resolution GEBCO: 0.00417
    -2023-08-03 16:32:00,492 - raster data - data_catalog - INFO - DataCatalog: Getting mdt_cnes_cls18 RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/mdt_cnes_cls18.tif
    +2023-08-03 16:44:32,694 - raster data - data_catalog - INFO - DataCatalog: Getting mdt_cnes_cls18 RasterDataset raster data from /home/runner/.hydromt_data/artifact_data/v0.0.8/mdt_cnes_cls18.tif
     resolution MDT: 0.12500
     

    @@ -935,7 +935,7 @@

    Reproject and merge
    -<matplotlib.collections.QuadMesh at 0x7fcd683bfe50>
    +<matplotlib.collections.QuadMesh at 0x7fa385572320>
     
    @@ -666,10 +666,10 @@

    reading tiled raster data with zoom levels
    -2023-08-03 16:32:11,441 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    -2023-08-03 16:32:11,443 - tiling - data_adapter - INFO - Getting data for zoom_level 1 based on res (0.0016666666666666668, 'degree')
    -2023-08-03 16:32:11,463 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    -2023-08-03 16:32:11,465 - tiling - data_adapter - INFO - Getting data for zoom_level 2 based on res (1000.0, 'meter')
    +2023-08-03 16:44:43,599 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    +2023-08-03 16:44:43,601 - tiling - data_adapter - INFO - Getting data for zoom_level 1 based on res (0.0016666666666666668, 'degree')
    +2023-08-03 16:44:43,623 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    +2023-08-03 16:44:43,624 - tiling - data_adapter - INFO - Getting data for zoom_level 2 based on res (1000.0, 'meter')
     

    @@ -744,8 +744,8 @@

    Caching tiled raster datasets
    -2023-08-03 16:32:12,768 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    -2023-08-03 16:32:12,777 - tiling - caching - INFO - Downloading 56 tiles to /home/runner/.hydromt_data/merit_hydro_xyz/merit_hydro_xyz
    +2023-08-03 16:44:44,904 - tiling - data_catalog - INFO - DataCatalog: Getting merit_hydro_xyz RasterDataset raster data from /home/runner/work/hydromt/hydromt/docs/_examples/tmpdir/merit_hydro_xyz/merit_hydro_xyz_zl{zoom_level}.vrt
    +2023-08-03 16:44:44,916 - tiling - caching - INFO - Downloading 56 tiles to /home/runner/.hydromt_data/merit_hydro_xyz/merit_hydro_xyz
     
    diff --git a/dev/_generated/hydromt.Model.html b/dev/_generated/hydromt.Model.html index 51c4645bf..98d4c1cef 100644 --- a/dev/_generated/hydromt.Model.html +++ b/dev/_generated/hydromt.Model.html @@ -874,7 +874,7 @@

    hydromt.Model{'r','r+','w'}, optional) – read/append/write mode, by default “w”

  • config_fn (str, optional) – Model simulation configuration file, by default None. Note that this is not the HydroMT model setup configuration file!

  • -
  • data_libs (List[str], optional) – List of data catalog yaml files, by default None

  • +
  • data_libs (List[str], optional) – List of data catalog configuration files, by default None

  • **artifact_keys – Additional keyword arguments to be passed down.

  • logger – The logger to be used.

  • @@ -891,7 +891,7 @@

    hydromt.Model{'r','r+','w'}, optional) – read/append/write mode, by default “w”

  • config_fn (str, optional) – Model simulation configuration file, by default None. Note that this is not the HydroMT model setup configuration file!

  • -
  • data_libs (List[str], optional) – List of data catalog yaml files, by default None

  • +
  • data_libs (List[str], optional) – List of data catalog configuration files, by default None

  • **artifact_keys – Additional keyword arguments to be passed down.

  • logger – The logger to be used.

  • diff --git a/dev/_generated/hydromt.Model.write_data_catalog.html b/dev/_generated/hydromt.Model.write_data_catalog.html index b3e95e778..4312fc3b8 100644 --- a/dev/_generated/hydromt.Model.write_data_catalog.html +++ b/dev/_generated/hydromt.Model.write_data_catalog.html @@ -869,7 +869,7 @@

    hydromt.Model.write_data_catalog
    Parameters: