RAVE
rave_dom_db.py File Reference

The database - domain model setup. More...

Classes

class  Lib.rave_dom_db.rave_db
 Class for connecting with the database. More...
 

Namespaces

namespace  Lib.rave_dom_db
 

Functions

 Lib.rave_dom_db.psql_set_extra_float_digits (dbapi_con, con_record)
 
 Lib.rave_dom_db.create_db (url, create_schema=True)
 Creates a rave db instance.
 
 Lib.rave_dom_db.create_db_from_conf (configfile=BDB_CONFIG_FILE, create_schema=True)
 Creates a rave_db instance.
 

Variables

 Lib.rave_dom_db.logger = rave_pgf_logger.create_logger()
 
 Lib.rave_dom_db.MIGRATION_REPO_PATH = os.path.join(os.path.dirname(__file__), "ravemigrate")
 
 Lib.rave_dom_db.meta = MetaData()
 
 Lib.rave_dom_db.rave_wmo_station
 
 Lib.rave_dom_db.rave_observation
 
 Lib.rave_dom_db.rave_gra_coefficient
 
 Lib.rave_dom_db.rave_grapoint
 
 Lib.rave_dom_db.rave_melting_layer
 
dict Lib.rave_dom_db.dburipool = {}
 

Detailed Description

The database - domain model setup.

Author
Anders Henja, SMHI
Date
2013-11-06