configure_model

Create and read configuration file, create necessary database tables.

nexoclom.configure_model.configfile()[source]

Configure external resources used in the model.

The following parameters can be saved in the file $HOME/.nexoclom.

  • savepath = <path where output files are saved>

  • datapath = <path where MESSENGER data is kept>

  • database = <name of the postgresql database to use> (optional)

  • port = <port for postgreSQL server to use> (optional)

If savepath and datapath are not present, user is prompted to enter them.

nexoclom.configure_model.configure_model()[source]

Ensure the database and configuration file are set up for nexoclom.

Parameters

No parameters.

Returns

No output.

nexoclom.configure_model.verify_output_tables()[source]

Create the database tables used by nexoclom to save output.