open#
- iris.sg.open(time, time_stop=None, description='', obs_id=None, window='Si IV 1394', axis_time='time', axis_wavelength='wavelength', axis_detector_x='detector_x', axis_detector_y='detector_y', limit=200, nrt=True, num_retry=5)[source]#
Download an IRIS observation and load it into memory as an instance of
SpectrographObservation.- Parameters:
time_stop (None | str | Time) – The end time of the search period. If
None, 1 second will be added to time which usually has the effect of selecting one observation.description (str) – The description of the observation. If an empty string, observations with any description will be returned.
obs_id (None | int) – The OBSID of the observation, a number which describes the size, cadence, etc. of the observation. If
None, all OBSIDs will be used.window (str) – The spectral window to load.
axis_time (str) – The logical axis corresponding to changes in time.
axis_wavelength (str) – The logical axis corresponding to changes in wavelength.
axis_detector_x (str) – The logical axis corresponding to changes in detector \(x\)-coordinate.
axis_detector_y (str) – The logical axis corresponding to changes in detector \(y\)-coordinate.
limit (int) – The maximum number of observations returned by the query. Note that this is not the same as the number of files since there are several files per observation.
nrt (bool) – Whether to return results with near-real-time (NRT) data.
num_retry (int) – The number of times to try to connect to the server.
- Return type: