Sometime when accessing sst_dtime variable in some collection we get an exception _scale_offset_decoding\r\n data *= scale_factor\r\nnumpy.core._exceptions._UFuncOutputCastingError: Cannot cast ufunc 'multiply' output from dtype('float64') to dtype('int64') with casting rule 'same_kind'\r\n`. Track down the problem when we set the mask_and_scale to true when opening the file.
Overview of work done
Add a new function to test the ability to use access the sst_dtime variable to determine if we should use mask_and_scale
Overview of verification done
Tested temporal subsetting locally
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
Description
Overview of work done
Overview of verification done
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR checklist:
See Pull Request Review Checklist for pointers on reviewing this pull request