|
1 | 1 | #!/usr/bin/env python |
2 | 2 | # coding=utf-8 |
3 | | -# Copyright (c) 2015,2016, UT-BATTELLE, LLC |
| 3 | +# Copyright (c) 2015-2021 UT-BATTELLE, LLC |
4 | 4 | # All rights reserved. |
5 | 5 | # |
6 | 6 | # Redistribution and use in source and binary forms, with or without |
@@ -163,18 +163,18 @@ def main(args): |
163 | 163 | args.test_case += '1' |
164 | 164 | args.ref_case += '2' |
165 | 165 |
|
166 | | - file_search_glob = '{d}/*cam_????.h0.0001-01-01-?????.nc.{s}' |
| 166 | + file_search_glob = '{d}/*eam_????.h0.0001-01-01-?????.nc.{s}' |
167 | 167 | truth_ens = {instance: list(files) for instance, files in groupby( |
168 | 168 | sorted(glob.glob(file_search_glob.format(d=args.ref_dir, s='DT0001'))), |
169 | | - key=lambda f: e3sm.component_file_instance('cam', f))} |
| 169 | + key=lambda f: e3sm.component_file_instance('eam', f))} |
170 | 170 |
|
171 | 171 | ref_ens = {instance: list(files) for instance, files in groupby( |
172 | 172 | sorted(glob.glob(file_search_glob.format(d=args.ref_dir, s='DT0002'))), |
173 | | - key=lambda f: e3sm.component_file_instance('cam', f))} |
| 173 | + key=lambda f: e3sm.component_file_instance('eam', f))} |
174 | 174 |
|
175 | 175 | test_ens = {instance: list(files) for instance, files in groupby( |
176 | 176 | sorted(glob.glob(file_search_glob.format(d=args.test_dir, s='DT0002'))), |
177 | | - key=lambda f: e3sm.component_file_instance('cam', f))} |
| 177 | + key=lambda f: e3sm.component_file_instance('eam', f))} |
178 | 178 |
|
179 | 179 | # So, we want a pandas dataframe that will have the columns : |
180 | 180 | # (test/ref, ensemble, seconds, l2_global, l2_land, l2_ocean) |
|
0 commit comments