Deltares / xugrid

Xarray and unstructured grids
https://deltares.github.io/xugrid/
MIT License
58 stars 8 forks source link

For structured regridding the assignment of coords goes wrong when target grid has no explicit dx of dy #165

Open HendrikKok opened 10 months ago

HendrikKok commented 10 months ago

In that case, the dx and dy is estimated in the StructuredGrid1d-class from a dif of x and y. When source grid has dx and dy with size of 1, the assignment results in an error.