Open SeanBryan51 opened 5 months ago
The following code can be encapsulated within a metadata attribute associated with each model instance:
metadata
https://github.com/CABLE-LSM/benchcab/blob/9034b12e93a3e11493e793a341c06167cb8834c9/src/benchcab/fluxsite.py#L266-L267
This is useful for reusing the Model class within the context of spack. Spack installed models will have different metadata attributes, e.g the name, version and hash of the package, which should be recorded in the model outputs.
Model
The following code can be encapsulated within a
metadata
attribute associated with each model instance:https://github.com/CABLE-LSM/benchcab/blob/9034b12e93a3e11493e793a341c06167cb8834c9/src/benchcab/fluxsite.py#L266-L267
This is useful for reusing the
Model
class within the context of spack. Spack installed models will have different metadata attributes, e.g the name, version and hash of the package, which should be recorded in the model outputs.