add_model_to_db correctly adds new nomad models to the internal model_db database. You should only need to use this function if you are planning on adding a new model to the nomad package and you have read the https://ojwatson.github.io/nomad/articles/data.html vignette.

add_model_to_db(nomad_model, name = deparse(substitute(nomad_model)))

Arguments

nomad_model

A nomad_model() object

name

Name of the nomad model to be added. If blank, the name of the nomad_model parameter will be uses. The name should abide to the naming conventions detailed in the Data vignette, i.e. it should look similar to zmb_cdr_2020_mod_dd_exp in structure