acdc.database.update_db.populate_darks
- populate_darks(files, dbname='cos_dark', db_table=<class 'acdc.database.schema.Darks'>)[source]
Populate the Darks 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 COS dark files to ingest.
dbname (str) – The name of the database to update.
db_table (
sqlalchemy.Table) – Name of table to update, defaults to Darks.