xgcm / aerobulk-python

A python wrapper for aerobulk (https://github.com/brodeau/aerobulk)
GNU General Public License v3.0
14 stars 4 forks source link

Accomodate any input shape by extending/reshaping #28

Closed jbusecke closed 2 years ago

jbusecke commented 2 years ago

15 implements an xarray wrapper which only accepts 3d input, and errors otherwise.

As @rabernat points out correctly, our wrapper can be smarter by expanding/squeezing input that has less dimensions or reshaping input with more dimensions before/after the actually call to aerobulk.

jbusecke commented 2 years ago

Closed via #40