nc_time_axis.NetCDFTimeConverter
- class nc_time_axis.NetCDFTimeConverter(*, interval_multiples=True)
Converter for
cftime.datetimedata.Methods
axisinfo(unit, axis)Returns the
AxisInfofor unit.convert(value, unit, axis)Converts value, if it is not already a number or sequence of numbers, with
cftime.date2num().default_units(sample_point, axis)Computes some units for the given data point.
is_numlike(x)[Deprecated] The Matplotlib datalim, autoscaling, locators etc work with scalars which are the units converted to floats given the current unit.
- __init__(*, interval_multiples=True)
Methods
__init__(*[, interval_multiples])axisinfo(unit, axis)Returns the
AxisInfofor unit.convert(value, unit, axis)Converts value, if it is not already a number or sequence of numbers, with
cftime.date2num().default_units(sample_point, axis)Computes some units for the given data point.
is_numlike(x)[Deprecated] The Matplotlib datalim, autoscaling, locators etc work with scalars which are the units converted to floats given the current unit.
Attributes
standard_unit