Deepak Cherian
Deepak Cherian
> Could you provide a concrete example on this? How to define A-grid div, grad, curl for building blocks for other types of grids? Is this right? ``` python def...
@jbusecke this came up in our Ocean section meeting call today. It'd be nice to see an example notebook analyzing output on a tripolar grid (I have never worked with...
@raphaeldussin I came to that conclusion too. And yes I hadn't seen that option and so wanted to see what @jbusecke was doing
In my limited understanding, the `face_connections` logic will work. However, the output doesn't have an "faces" so to speak. So it will have to be a virtual face that xgcm...
Concatenation would be the easiest!
I *think* we could handle it as a fancy boundary condition here (as @raphaeldussin pointed out, create a mirrored row and sample from that): https://github.com/xgcm/xgcm/blob/f362bf0a629712ac3f448fffb7f9be1bdc1c59bc/xgcm/grid.py#L329-L338 We could also extend `boundary`...
GIven all the ongoing work, can tripolar grids be supported though a `boundary` option?
I think coarsen syntax could be ``` python coarsegrid = grid.coarsen(X=5) newds = coarsegrid.mean(ds) ``` This would preserve the names of metrics variables `area_t` and coarsen them appropriately and you...
OK that's a good point. I withdraw my suggestion.
I'm trying to move all variables to cell centers. ``` centered = ds.map(lambda x: grid.interp(x, axis=("X", "Y"), to="center")) centered ``` This fails with ``` ~/python/xgcm/xgcm/grid.py in _get_neighbor_data_pairs(self, da, position_to, boundary,...