Understanding the DSEP Model Loading in Python

This Python script snippet demonstrates how to load a model using the 'pysep' library, specifically targeting the 'dsep' module within. The model is loaded from a file named 'model.dsep'. After loading, the script accesses and prints two properties of the model: whether it is symlinked (via '_symlinked') and the unit of the model (via 'unit'). This could be used for debugging, model inspection, or as part of a larger implementation working with DSEP models in Python.

from pysep.dsep.utils import load_model
 
model = load_model('model.dsep')
 
print(model.opacf._symlinked)
print(model.opacf.unit)