Commit 1ed1f21d authored by Chris Jewell's avatar Chris Jewell
Browse files

Fixed bug in dimension ordering in tier info

parent 7865fd1c
......@@ -100,7 +100,7 @@ class TierData:
xarr = ser.to_xarray()
xarr.data[np.isnan(xarr.data)] = 0.0
# return [T, M, V] structure
return np.transpose(xarr, axes=[1, 0, 2])
return xarr.transpose("date", "lad19cd", "alert_level")
def adapt_xarray(tiers, date_low, date_high, lads, settings):
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment