PACKAGE: pydarn.sdio.dbUtils FUNCTION: getDataConn([username],[password],[dbAddress],[dbName],[collName]) PURPOSE: gets a connection to the collection collName on the
mongodb server. This is the highetst level connection
NOTE: mongodb hierarchy goes SERVER->DATABASE->COLLECTION
Written by AJ 20130108
PACKAGE: pydarn.sdio.dbUtils FUNCTION: getDbConn([username],[password],[dbAddress],[dbName]) PURPOSE: gets a connection to the database ‘dbname’. on the
mongodb server This is the middle-tier connection. In order to actually access data, this connection must be used to get a data connection.
NOTE: mongodb hierarchy goes SERVER->DATABASE->COLLECTION
Written by AJ 20130108
PACKAGE: pydarn.sdio.dbUtils FUNCTION: getServerConn([username],[password]) PURPOSE: gets a connection to the mongodb server. This is the
most basic connection. In order to actually access data, this connection must be used to get a database connection which can in turn be used to get a data connection.
NOTE: mongodb hierarchy goes SERVER->DATABASE->COLLECTION
Written by AJ 20130108
put dmap data into the mongodb database
mapDbFit('20110710', 'bks', time=[0,240], fileType='fitacf', vb=1):
Written by AJ 20130108
alias of pydarn.sdio.dbUtils