Closed HenryDane closed 1 year ago
On advection_diffusion.py:L180, it turns out that self._Xbounds
has dimension of (lon, lev, lat+1) instead of (lat, lon, lev). The cause of this reordering is currently a mystery to me.
I don't know what was happening here -- it got sorted out on the diff_lon
branch.
Trying to create an EBM like:
leads to a crash here:
which is traced to
self.K
being set like:since
heat_capacity
is always created in the shape of elevation.However, it seems that
self.K
should always have the shape of the acis which matchesself.diffusion_axis
(and alsoself.diffusion_axis_index
).