Tutorial: UpdateDatabase function

The function updates the embedded sqlite3 database.
 

Input parameters:

  • DBUpdateNew: indicates, if a complete sqlite database file is downloaded from the CDMS web server ("new") or if the existing database file is updated ("update") via the VAMDC infrastructure, i.e. new entries are added to the tables and existing entries are overwritten with new data. The complete sqlite database file is regularly updated via the VAMDC infrastructure and contains data from CDMS and JPL.

Output parameters:

  • None

Examples:

  • download a new version of the database

    # In CASA:
    DBUpdateNew = "new"
    UpdateDatabase()
  • update the database

    # In CASA:
    DBUpdateNew = "update"
    UpdateDatabase()

Example scripts:

"my_update_INcasa.py", "my_update_OUTcasa.py"