I added a check to ensure that the time variable exists in the CDF before getting its attributes, but I should have been checking 'master_cdf_variables' rather than 'load_cdf_variables', which may only contain the subset of variables explicitly requested by the user.
I added a check to ensure that the time variable exists in the CDF before getting its attributes, but I should have been checking 'master_cdf_variables' rather than 'load_cdf_variables', which may only contain the subset of variables explicitly requested by the user.