store_spatial_in_cache

sofia_redux.instruments.fifi_ls.spatial_calibrate.store_spatial_in_cache(spatialfile, obsdate, arg1, arg2)[source]

Store spatial data in the spatial cache.

Parameters:
spatialfilestr

File path to the spatial file

obsdateint

Observation date

arg1str or dict

If reading an offsets file, arg1 will be the filename. If reading a coefficients file, arg1 will be a dictionary of coefficients.

arg2numpy.ndarray or dict

If reading an offsets file, arg2 will be an array of offsets. If reading a coefficients file, arg2 will be a dictionary of secondary coefficients.