get_model¶
- rbinvariantslib.models.get_model(model_type, path, **kwargs)¶
Get a magnetic field mmodel_type, pathodel;
For specific keyword arguments see other functions in this model that this common functions calls.
- Parameters:
- model_type{“lfm_hdf4”, “swmf_out”, “generic_hdf5”}
Type of the model (case insensitive)
- pathstr
Path to file on disk
- Returns:
- model
MagneticFieldModel Grid and Magnetic field values on that grid.
- model