@@ -232,12 +232,15 @@ def open_dataset(filename_or_obj, group=None, decode_cf=True,
232232 may be useful when backend options would improve performance or
233233 allow user control of dataset processing.
234234 use_cftime: bool, optional
235- If None (default), attempt to decode times to ``np.datetime64[ns]``
236- objects; if this is not possible, decode times to ``cftime.datetime``
237- objects. If True, always decode times to ``cftime.datetime`` objects,
238- regardless of whether or not they can be represented using
239- ``np.datetime64[ns]`` objects. If False, always decode times to
240- ``np.datetime64[ns]`` objects; if this is not possible raise an error.
235+ Only relevant if encoded dates come from a standard calendar
236+ (e.g. 'gregorian', 'proleptic_gregorian', 'standard', or not
237+ specified). If None (default), attempt to decode times to
238+ ``np.datetime64[ns]`` objects; if this is not possible, decode times to
239+ ``cftime.datetime`` objects. If True, always decode times to
240+ ``cftime.datetime`` objects, regardless of whether or not they can be
241+ represented using ``np.datetime64[ns]`` objects. If False, always
242+ decode times to ``np.datetime64[ns]`` objects; if this is not possible
243+ raise an error.
241244
242245 Returns
243246 -------
@@ -437,12 +440,15 @@ def open_dataarray(filename_or_obj, group=None, decode_cf=True,
437440 may be useful when backend options would improve performance or
438441 allow user control of dataset processing.
439442 use_cftime: bool, optional
440- If None (default), attempt to decode times to ``np.datetime64[ns]``
441- objects; if this is not possible, decode times to ``cftime.datetime``
442- objects. If True, always decode times to ``cftime.datetime`` objects,
443- regardless of whether or not they can be represented using
444- ``np.datetime64[ns]`` objects. If False, always decode times to
445- ``np.datetime64[ns]`` objects; if this is not possible raise an error.
443+ Only relevant if encoded dates come from a standard calendar
444+ (e.g. 'gregorian', 'proleptic_gregorian', 'standard', or not
445+ specified). If None (default), attempt to decode times to
446+ ``np.datetime64[ns]`` objects; if this is not possible, decode times to
447+ ``cftime.datetime`` objects. If True, always decode times to
448+ ``cftime.datetime`` objects, regardless of whether or not they can be
449+ represented using ``np.datetime64[ns]`` objects. If False, always
450+ decode times to ``np.datetime64[ns]`` objects; if this is not possible
451+ raise an error.
446452
447453 Notes
448454 -----
0 commit comments