imas.backends.imas_core.mdsplus_model.mdsplus_model_dir

imas.backends.imas_core.mdsplus_model.mdsplus_model_dir(factory: IDSFactory) str

when given a version number this looks for the DD definition of that version in the internal cache. Alternatively a filename can be passed, which leads us to use that XML file to build an MDSplus model directory.

Given a filename and xml contents create an xml document for the mdsplus model by rusing saxonche

Parameters:
factory: IDSFactory

IDSFactory indicating the DD version / XML to build models for.

Returns:

The path to the requested DD cache


Last update: 2026-01-28