File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
CMEW/app/add_datasets/bin Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -241,17 +241,13 @@ def dict_namelists_in_work_dir():
241241 # Check if it's model runs
242242 if basename == "model_runs" :
243243
244- # Extract the datasets from each file
244+ # Write the datasets to a YAML file with ESMVal project
245245 datasets = process_naml_file (nl_fp , "ESMVal" )
246-
247- # Write the datasets to a YAML file in the target directory
248246 write_datasets_to_yaml (datasets , basename , target_dir )
249247
250248 # Check if it's CMIP6:
251249 if basename == "cmip6_datasets" :
252250
253- # Extract the datasets from each file
251+ # Write the datasets to a YAML file with CMIP6 project
254252 datasets = process_naml_file (nl_fp , "CMIP6" )
255-
256- # Write the datasets to a YAML file in the target directory
257253 write_datasets_to_yaml (datasets , basename , target_dir )
You can’t perform that action at this time.
0 commit comments