From a9b456d8556cb0e770345db8462319a71b0402cc Mon Sep 17 00:00:00 2001 From: aradhakrishnanGFDL Date: Mon, 29 Jul 2024 16:53:49 -0400 Subject: [PATCH] time-range fix --- catalogbuilder/intakebuilder/getinfo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catalogbuilder/intakebuilder/getinfo.py b/catalogbuilder/intakebuilder/getinfo.py index 628193d..da31bf9 100644 --- a/catalogbuilder/intakebuilder/getinfo.py +++ b/catalogbuilder/intakebuilder/getinfo.py @@ -87,6 +87,8 @@ def getInfoFromGFDLFilename(filename,dictInfo,logger): ncfilename = filename.split(".") varname = ncfilename[-2] dictInfo["variable_id"] = varname + timerange = ncfilename[-3] + dictInfo["time_range"] = timerange #miptable = "" #ncfilename[1] #dictInfo["mip_table"] = miptable #modelname = ncfilename[2]