Using rioxarray to open .tiff file to get required meta data in the data set which was missing when the .tiff file was opened through xr.open_dataset.
Also upgrading rioxarray version from 0.12.0 -> 0.13.4 as that's the latest version that supports python 3.8 and has implemented the band_as_variable argument.
Using
rioxarray to
open .tiff file to get required meta data in the data set which was missing when the .tiff file was opened throughxr.open_dataset
. Also upgrading rioxarray version from0.12.0
->0.13.4
as that's the latest version that supports python 3.8 and has implemented theband_as_variable
argument.fixes #159