In GitLab by @Huite on May 11, 2022, 10:00
Just ran into an issue where I was getting negative layer thickness due to:
bottom: layer, y, x
versus
top: y, x, layer
Then when calling .values on the DataArray, the values are not aligned.
Friendliest might be to call a transpose on the DataArray, and let xarray sort it out.
In GitLab by @Huite on May 11, 2022, 10:00
Just ran into an issue where I was getting negative layer thickness due to:
bottom: layer, y, x
versus
top: y, x, layer
Then when calling
.valueson the DataArray, the values are not aligned.Friendliest might be to call a transpose on the DataArray, and let xarray sort it out.