Xarray has issues if height dimension changes in the middle of a netcdf file
Per Tami's email:
Hi Carina,
The issue that xarray can't handle with time-resolved heights is exemplified in cell 3 of this notebook:
If, instead of using netCDF4's Dataset, I use xr.open_dataset, I get the following error message:
MissingDimensionsError: 'height' has more than 1-dimension and the same name as one of its dimensions ('time', 'height'). xarray disallows such variables because they conflict with the coordinates used to label dimensions.
Looks like this is a known issue: https://github.com/pydata/xarray/issues/2233
Don't stress about it though because I don't know how often this type of data structure comes up with VAPs. When I've seen it, it's in model data (i.e., not observations), so maybe just keep it in the back of your mind.
-Tami