First, on the UCL geography cluster, do source activate pangeo
to open the environment with the packages that are needed to open the .nc files (i.e. specifically xarray), and do source activate uncertainty
if you want to run the parts with an explicit handling of uncertainty.
Dataset used:
Ilyas, M., Brierley, C.M. and Guillas, S., 2017. Uncertainty in regional temperatures inferred from sparse global observations: Application to a probabilistic classification of El Niño. Geophysical Research Letters, 44(17), pp.9068-9074.