My issue:
cftime._cftime.DatetimeGregorian\' object has no attribute \'ndim\'.
I used netCDF4 to read a NC dataset with (time_coord,