I am looking for a way to accessing and getting variables in an xarray dataset that can be included within a loop. I know that this code will list the variables name:
for ii in dataSet.data_vars:
print(ii)
I am looking for something similar that allows me to open each variable within the loop. I am new to python, migrating from Matlab, so detailed explanations would be greatly appreciated. Thank you.