Deepak Cherian

Results 1084 comments of Deepak Cherian

Because it instantly doubles the number of ufuncs anyone else has to write if they're doing something custom about land edges (and they have different signatures!) > The first ufunc...

I'm constructing `actual` from `grid._metrics`, which is a private property. `get_metric` isn't too great because you have to pass an array as kwarg and you receive a DataArray as return...

:+1: That's totally fine :) I put the solution in my first comment =)

> grid_new, da_new = grid.rebin(...) This seems OK for now. I've always found it slightly annoying that xgcm separates the metadata (Grid) and the data (Dataset). Though the only alternative...

cc @mnlevy1981, @matt-long @klindsay28 on the NCAR side.

I also don't see why it needs to fail if the data is chunked along 'Z'. This is a meaningful operation (the numpy version works!) so the chunking should be...

+5 to buttons below slider. I think it's the most elegant solution

These look awesome! I would ask over at xarray if people are interested in adding some of this stuff. `interp_calendar` could go in `interp` for example. `convert_calendar` may be a...

This may be useful: https://github.com/xarray-contrib/cf-xarray/blob/770f40cd49617c703b2aec6fa1bacf2d1b344106/cf_xarray/accessor.py#L547-L569 It rewrites things like `.chunks` and `.sizes` when a one-to-one mapping is possible

:+1: should be straightforward. I don't use this syntax, that's why it hasn't been implemented yet :)