sospice.FileMetadata

class sospice.FileMetadata(metadata: Series = None, skip_validation: bool = False)[source]

A SPICE file entry in the SPICE catalog

Parameters:
metadata: pandas.Series

File metadata

skip_validation: bool

Do no validate data

Attributes:
metadata

Methods

cache_file([base_url, release, update])

Put file in local disk cache, from a release, from some other online file tree, or from SOAR if no parameter has been provided

download_file(base_dir[, base_url, release, ...])

Download file, from a release, from some other online file tree, or from SOAR if no parameter has been provided

get_crpix_2d()

Get 2D CRPIX values, for x and y axes (assuming FITS pixel indices convention)

get_file_url([base_url, release])

Get file URL, from a release, from some other online file tree, or from SOAR if no parameter has been provided

get_fov([points, method])

Get the FOV coordinates (bottom left and top right vertices of rectangle in helioprojective coordinates) for an observation

get_observer()

Get observer position and time for the observation

get_pc_2d()

Get 2D PC matrix for observation, for x and y axes

get_wavelengths()

Get wavelength ranges for the observation

get_wcs_2d()

Get World Coordinates System object for the observation, for x and y axes

plot_fov(ax, **kwargs)

Plot SPICE FOV on a background map

validate()

Check file metadata