SPICE_DATA::return_extension_index - ITA-Solar/solo-spice-ql GitHub Wiki
Source code: SPICE_DATA::return_extension_index
Class: SPICE_DATA
Description
This method Checks whether a given extension index or extension name is valid, and returns the extension index. If it is invalid -1 is returned.
Syntax
extension_index = spice_object->return_extension_index( extension [, /check_window_index] )
Return Value
Integer, -1 if index or name is invalid, the index if input is valid.
Arguments
extension
The index or the name of the extension to be checked
Keywords
check_window_index
If set, then the given index or name is only correct if it belongs to an OBS_HDU.