acdc.database.update_db.populate_solar

populate_solar(files, dbname='cos_dark', db_table=<class 'acdc.database.schema.Solar'>)[source]

Populate the Solar database table. This can be used to add new files or ingest all data from scratch. In order to properly get interpolated solar flux values for dark observations, Solar table must be populated before the Darks table.

Parameters:
  • files (array-like) – Names of solar flux files to parse.

  • dbname (str) – The location of the SQLite database, with full path, e.g. /path/to/cos_dark.db If in the current directory, do not include . or ./

  • db_table (sqlalchemy.Table) – Name of table to update, defaults to Solar.