diff --git a/ai_models/model.py b/ai_models/model.py index e52e2cc..98168c6 100644 --- a/ai_models/model.py +++ b/ai_models/model.py @@ -406,9 +406,11 @@ def provenance(self): return gather_provenance_info(self.asset_files) def forcing_and_constants(self, date, param): + source = self.all_fields[:1] + ds = cml.load_source( "constants", - self.all_fields, + source, date=date, param=param, )