Skip to content

Commit b90f4bd

Browse files
Ciheim BrownCiheim Brown
authored andcommitted
output -> input
1 parent efe8f19 commit b90f4bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

catalogbuilder/intakebuilder/getinfo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def getInfoFromGFDLDRS(dirpath,projectdir,dictInfo,configyaml,variable_id,logger
157157
else:
158158
logger.debug("No input_path_template found in config yaml. Check configuration, open a github issue with details if problem persists. ")
159159
sys.exit("No input_path_template found in config yaml. Check configuration, open a github issue with details if problem persists. ")
160-
#If variable_id is fixed, it's a GFDL PP static dataset and the output path template in config is aligned only up to a particular directory structure as this does not have the ts and frequency or time chunks
160+
#If variable_id is fixed, it's a GFDL PP static dataset and the input path template in config is aligned only up to a particular directory structure as this does not have the ts and frequency or time chunks
161161
if(variable_id == "fixed"):
162162
input_path_template = input_path_template[:-3 or None]
163163
nlen = len(input_path_template)
@@ -167,7 +167,7 @@ def getInfoFromGFDLDRS(dirpath,projectdir,dictInfo,configyaml,variable_id,logger
167167
try:
168168
dictInfo[input_path_template[i]] = stemdir[(j)]
169169
except IndexError:
170-
print("Check configuration. Is output path template set correctly?")
170+
print("Check configuration. Is input path template set correctly?")
171171
exit()
172172
except IndexError:
173173
sys.exit("oops in getInfoFromGFDLDRS"+str(i)+str(j)+input_path_template[i]+stemdir[j])

catalogbuilder/intakebuilder/gfdlcrawler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def crawlLocal(projectdir, dictFilter,dictFilterIgnore,logger,configyaml,slow):
2525
else:
2626
logger.debug("Unable to get headerlist from config yaml")
2727
sys.exit("Unable to get headerlist from config yaml")
28-
#For those columns that we cannot find in output path template or output file template from config yaml, we have hooks
28+
#For those columns that we cannot find in input path template or input file template from config yaml, we have hooks
2929
#now to look up the netcdf dataset if slow option is True
3030
#todo catch exceptions upon furhter testing
3131
list_ptemplate = []

0 commit comments

Comments
 (0)