omas.load_omas_mongo

omas.load_omas_mongo(find, collection, database='omas', server='mongodb+srv://{user}:{pass}@omasdb.xymmt.mongodb.net', consistency_check=True, imas_version='3.40.1', limit=None)[source]

Load an ODS from MongoDB

Parameters
  • find – dictionary to find data in the database

  • collection – collection name in the database

  • database – database name on the server

  • server – server name

  • consistency_check – verify that data is consistent with IMAS schema

  • imas_version – imas version to use for consistency check

  • limit – return at most limit number of results

Returns

list of OMAS data set that match find criterion