Huite
Huite
Out of curiosity, I just tried the straightforward approach and I'm actually quite pleased! ```python import xugrid as xu gdf = xu.data.provinces_nl() grid = xu.Ugrid2d.from_geodataframe(gdf) grid.plot() ```  You see...
Plotting via xugrid works fine because xugrid constructs matplotlib polygons, which may be concave. ``` import xarray as xr uda = xu.UgridDataArray(xr.DataArray(np.arange(12), dims=(grid.face_dimension,), name="provinces"), grid=grid) uda.ugrid.plot() # %% uda.ugrid.to_netcdf("qgis-test-ugrid.nc") ```...
I just ran into https://github.com/Deltares/xugrid/issues/344 Which is easily fixed by .astype(int) which I'll add a test for an push, but otherwise this works fine: ```python gdf = xu.data.provinces_nl() uda =...
This earcut method should be quite robust (that's the sales pitch too), so it seems unlikely that this creates new demands on the basin geometries. A downside is that if...
> For now I would suggest to aggregate daily output to monthly values during post-processing. Quickest win might be to document it explicitly, and mention it at the saveat description.
I expect having both states S and Q to be more straightforward: you have an ordinary dS/dt function to integrate. Q is basically tacked on and along for the ride....
> I guess the most important would be figuring out how to combine the reference docs (https://ribasim.org/reference/node/level-boundary.html) and these docstrings, since we probably don't want to have everything double, and...
Isn't this mostly an QGIS oddity? Or perhaps an oddity of the specific coordinate system of EPSG:4326? If you check the screenshot, ESPG:3857 does have (x, y) order (O, then...
This is almost equivalent to a basin: * Recharge acts like precipitation * Infiltration and drainage are linear resistances connected to a surface basin * Overflow is like an outlet?...
A general theoretical remark: hysteresis is literally the "the dependence of the state of a system on its history", which shows as multi-valuedness e.g. in rating curves or soil constitutive...