Archive Handlers (nips.archives)¶
This module includes all functions that are needed to set-up and use the nips archive. Before running the pipeline or using any archive functions the archive has to be initiated by running the f_new()
function:
# =======================================================================
# Generating the database
# =======================================================================
archive_database.f_new(archive_name, database_name, path=archive_path, overwrite=True)
A wrapper to run this script is provided in (nipsexamples) and described here
nips.archives Package¶
The nips.archives module contains the archive management classes for the nips package.
Functions¶
|
Method to scan an exposure folder searching for count-rate maps and analyse the results This method scans the archive folder, looking ofr daily folders (format ‘DayYYYYNNN’). |
|
Method to find the exposure folder(s) associated to a given NID. |
|
Get the environment variable associated to a pair of pipeline and JLAB IDs. |
|
Method returning the OBS_ID keyword value associated to a given folder name. |
|
Method to create a new database file associated to an archive. |
|
Method to scan a full archive folder. |
|
Method to scan a daily folder for exposure folders. |
|
Method to scan an exposure folder searching for count-rate maps. |
|
Method to split a daily folder name into its basic tokens. |
|
Method to split a processed exposure file name into its basic tokens. |
|
Method to split an exposure folder name into its basic tokens. |