spacepy.omni.get_omni(ticks, dbase='QDhourly', **kwargs)[source]

Returns Qin-Denton OMNI values, interpolated to any time-base from a default hourly resolution

The update function in toolbox retrieves all available hourly Qin-Denton data, and this function accesses that and interpolates to the given times, returning the OMNI values as a SpaceData (dict-like) with Kp, Dst, dens, velo, Pdyn, ByIMF, BzIMF, G1, G2, G3, etc. (see also and )

ticksTicktock class or array-like of datetimes

time values for desired output

dbasestr (optional)

Select data source, options are ‘QDhourly’, ‘OMNI2hourly’, ‘Mergedhourly’ Note - Custom data sources can be specified in the spacepy config file as described in the module documentation.


containing all Qin-Denton values at times given by ticks


Note about Qbits: If the status variable is 2, the quantity you are using is fairly well determined. If it is 1, the value has some connection to measured values, but is not directly measured. These values are still better than just using an average value, but not as good as those with the status variable equal to 2. If the status variable is 0, the quantity is based on average quantities, and the values listed are no better than an average value. The lower the status variable, the less confident you should be in the value.


>>> import spacepy.time as spt
>>> import spacepy.omni as om
>>> ticks = spt.Ticktock(['2002-02-02T12:00:00', '2002-02-02T12:10:00'], 'ISO')
>>> d = om.get_omni(ticks)
>>> d.tree(levels=1)