We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 098fb6b commit 69c40f9Copy full SHA for 69c40f9
src/esm_runscripts/catalog.py
@@ -83,10 +83,8 @@ def create_intake_esm_catalog(config):
83
catalog["id"] = hashlib.sha256(
84
f"{config['general']['expid']}_{datetime.datetime.now()}_{getpass.getuser()}".encode()
85
).hexdigest()
86
- catalog[
87
- "description"
88
- ] = f"Intake-ESM Catalog for Experiment {config['general']['expid']}"
89
- catalog["title"] = None
+ catalog["description"] = config["general"].get("description")
+ catalog["title"] = f"Intake-ESM Catalog for Experiment {config['general']['expid']}"
90
catalog["last_updated"] = str(datetime.datetime.now())
91
catalog_dict = catalog["catalog_dict"] = []
92
# Each entry in catalog_dict should correspond to the schema provided
0 commit comments