Time#
- class sunpy.net.attrs.Time(start, end=None, near=None)[source]#
Bases:
RangeSpecify the time range of the query.
- Parameters:
start (
tuple,list,str,pandas.Timestamp,pandas.Index,pandas.Series,pandas.DatetimeIndex,datetime.datetime,datetime.date,numpy.datetime64,numpy.ndarray,astropy.time.Time) – The start time in a format parseable byparse_timeor asunpy.time.TimeRangeobject.end (
tuple,list,str,pandas.Timestamp,pandas.Index,pandas.Series,pandas.DatetimeIndex,datetime.datetime,datetime.date,numpy.datetime64,numpy.ndarray,astropy.time.Time) – The end time of the range.near (
tuple,list,str,pandas.Timestamp,pandas.Index,pandas.Series,pandas.DatetimeIndex,datetime.datetime,datetime.date,numpy.datetime64,numpy.ndarray,astropy.time.Time) – Return a singular record closest in time to this value as possible, inside the start and end window. Note: not all providers support this functionality.
Attributes Summary
Methods Summary
Attributes Documentation
- type_name = 'time'#
Methods Documentation