Generating QDPi1 MongoDB Database ================================= This tutorial will guide you through the process of taking an HDF5 file and generating the MongoDB database for that file. Learning Objectives ------------------- - Learn how to generate the QDPi1 MongoDB database from a recipe file. Required Files -------------- You must download the QDPi1 input files from [LINK TBD, currently in a google drive folder.] - The tutorial python script is located in examples/QDPi1_Generation To generate the QDPi dataset as a database, we will use the `generate_from_recipe.py` script. This is fairly short, so look down below in full code to see what it does. The key difference between this, and the previous example, is that here there are no accepted kwargs. All of these are set (and expected) based on the recipe file. Otherwise - the same class functions exist and can be used to interact with the database. Full Code --------- .. literalinclude :: ../../../../examples/QDPi1_Generation/generate_from_recipe.py :language: python