geocat.comp.climatologies._infer_calendar_name#
- geocat.comp.climatologies._infer_calendar_name(dates)#
Given an array of datetimes, infer the CF calendar name.
This code was taken from xarray/coding/times.py as the function is considered internal by xarray and could change at anytime. It was copied to preserve the version that is compatible with functions in climatologies.py