spice_file2info - ITA-Solar/solo-spice-ql GitHub Wiki

SPICE_FILE2INFO

This routine returns information extracted from a SPICE filename(s).

Syntax

Result = SPICE_FILE2INFO(filename)

Return Value

Either a structure or an array of structures. The structure contains the extracted information.

info = { $
         is_spice_file: byte,  1 if the file is a spice file, 0 otherwise
         filename:      str,   name of the file, without the path
         level:         int,   data level (0, 1 or 2), -1 if unknown
         study_type:    str,   type of study
         sat_time:      str,   internal satellite time of observation, 
                               only available for level 0
         datetime:      str,   date and time in CCSDS format of observation,
                               for level 0, this is the time the file was downlinked
         version:       int,   version number (version of the spice data pipeline),
                               not available for level 0
         spiobsid:      long,  SPICE OBS ID
         rasterno:      int,   raster repetition number
       }

Arguments

filename

The name of a SPICE file. Can be an array of names.