Skip to content

Commit

Permalink
when no config is passed
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL committed Jul 29, 2024
1 parent 5374491 commit 411cda4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions catalogbuilder/intakebuilder/gfdlcrawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ def crawlLocal(projectdir, dictFilter,dictFilterIgnore,logger,configyaml,slow):
#For those columns that we cannot find in output path template or output file template from config yaml, we have hooks
#now to look up the netcdf dataset if slow option is True
#todo catch exceptions upon furhter testing
list_ptemplate = configyaml.output_path_template
list_ftemplate = configyaml.output_file_template
set_ptemplate = set(list_ptemplate)
set_ftemplate = set(list_ftemplate)
list_ptemplate = []
list_ftemplate = []
if( configyaml.output_path_template is not None) & (configyaml.output_file_template is not None) :
list_ptemplate = configyaml.output_path_template
list_ftemplate = configyaml.output_file_template
set_ptemplate = set(list_ptemplate)
set_ftemplate = set(list_ftemplate)
#print(headerlist)
#print(list_ptemplate)
#print(list_ftemplate)
Expand Down

0 comments on commit 411cda4

Please sign in to comment.