Skip to content

Commit

Permalink
gen_intake_gfdl if cf name exists do stiuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL committed Jul 29, 2024
1 parent 8e9de12 commit f2e68b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalogbuilder/scripts/gen_intake_gfdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def main(input_path=None, output_path=None, config=None, filter_realm=None, filt
if os.path.isdir(os.path.dirname(csv_path)):
os.makedirs(os.path.dirname(csv_path), exist_ok=True)
CSVwriter.listdict_to_csv(list_files, headers, csv_path, overwrite, append,slow)
if(slow == False):
if(slow == False) & ('standard_name' in headers ):
#If we badly need standard name, we use gfdl cmip mapping tables especially when one does not prefer the slow option. Useful for MDTF runs
df = pd.read_csv(os.path.abspath(csv_path), sep=",", header=0,index_col=False)
list_variable_id = []
Expand Down

0 comments on commit f2e68b2

Please sign in to comment.