Huite

Results 199 comments of Huite

You could check the xarray object too, there's an xarray accessor (via `.ugrid_roles`): https://deltares.github.io/xugrid/api.html#ugrid-roles-accessor ```python uds = xu.data.disk() ds = uds.ugrid.to_dataset() print(ds.ugrid_roles.topology) # ["mesh2d"] # If there's no UGRID stuff...

> When loading a non-ugrid dataset with xugrid, it is converted to a UgridDataset anyway. I guess I should've asked to start with: why are you reading non-UGRID data with...

Yes, this is what pooch suggests: https://www.fatiando.org/pooch/latest/registry-files.html#registry-files ```python POOCH = pooch.create( path=pooch.os_cache("plumbus"), base_url="https://github.com/rick/plumbus/raw/{version}/data/", version=version, version_dev="main", # We'll load it from a file later registry=None, ) ``` I guess we should...

I must admit I hadn't looked very carefully at the distinction between "slug" and "pumping" -- I now also realize I had set the wrong default value in the QGIS...

I've just pushed 4b08e4edb97a80dd98021ab0a3c6b8bc5adbb438. I need to add some unit tests still, update API docs and changelog, but it seems to do the trick. This makes sure `connected_components` works on...

Indeed, looks like I wasn't quite thorough here. I added the `x` and `y` keywords so that you can also supply rotated grids, where `x_c` and `y_c` are 2D, depend...

This means the wrapping code is failing: https://github.com/Deltares/xugrid/blob/main/xugrid/core/wrap.py#L59 To explain, any access of a method or attribute on a UgridDataArray or UgridDataset is called within a wrapped context, which checks...

Pragmatically: it might be easiest to just overload the methods for now.

Probably good to know, the main reason I set the projected property is because I ran into problems with multiple coordinate systems, i.e. a dataset that listed both x and...

> Do you still have such an example dataset or is it in the testbank? It would be good to check if reading this does not fail with code changes...