Mathias Hauser

Results 218 comments of Mathias Hauser

That is an upstream issue, see shapely/shapely#2098

There is a discussion on that in #499 but I haven't gotten around to include it. So one option is to salvage some code from there to make this work...

The alternative is to inject everything (as in https://github.com/xarray-contrib/datatree/blob/5f3956ffe80e686dd3df54ee8cef9ff56c158e76/datatree/ops.py#L223). (Or to write all methods out, or create mixin classes that work for all data types...)

@TomNicholas do you think this has a chance to be considered. If not I happy to close. It's obviously only a fraction of the missing methods - can add them...

Ok thanks - happy to close the PR in this case (although I think these are the methods that are currently _not_ generated in `generate_ops.py` / `generate_aggregations.py`. Probably because they...

One way to achieve this is to deprecate `mask` and add a `mask_2D` function, doing the name switch at the same time. Would be good for name parity but I...

I figured out why this does not work (for the current setup). What I currently do is `notebook -> rst -> html`. This allows to use rst templates and raw...

For the raw cells I can probably use myst admonitions: https://myst-parser.readthedocs.io/en/stable/syntax/admonitions.html

The 'prolog' could be done via [substitutions](https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2)