Classes | |
| class | database.database_chole.DBCholeError |
| Error returned by database_chole. More... | |
Namespaces | |
| database.database_chole | |
| database_chole | |
| Build the Chole database. | |
Functions | |
| def | database.database_chole.create_table |
| Create a chole table data in a database For a table name, create all the attributes. More... | |
| def | database.database_chole.row2dict |
| Classic SQLite routine for transforming a row of tuple into a dictionnary. More... | |
| def | database.database_chole.open_db |
| Open DB in dictionnary mode. More... | |
| def | database.database_chole.init_db |
| Initialise output database file. More... | |
| def | database.database_chole.find_element |
| Find an element in 1 or multiple tables. More... | |
| def | database.database_chole.add_element |
| Add an element in a table. More... | |
| def | database.database_chole.update_element |
| Update an element in a table through its ID. More... | |
| def | database.database_chole.delete_element |
| Delete an element in a table through its ID. More... | |
| def | database.database_chole.compare_element |
| Compare 2 db_elements. More... | |
| def | database.database_chole.printdiff_element |
| Show differences between 2 db_elements. More... | |
| def | database.database_chole.fetch_level_choice |
| For a given table_name, return the file fetch level it should use. More... | |
| def | database.database_chole.datetime2file |
| Look for the file of corresponding coronal hole file for an given day. More... | |
| def | database.database_chole.nearest_sup |
| Look for the nearest and newer coronal hole file for an given day. More... | |
| def | database.database_chole.nearest_inf |
| Look for the nearest and older coronal hole file for an given day. More... | |
| def | database.database_chole.build_db |
| Build the SW database for all files available and for a given table. More... | |
Variables | |
| tuple | database.database_chole.database_path = os.path.join(path_db,'chole.db') |
| list | database.database_chole.database_tables |
| list | database.database_chole.attributes = [] |
1.8.5