Skip to content

Commit fc59eca

Browse files
committed
test_find_inst_hist_files_multiple_months_same_year: Use h2, not h1
Doesn't really matter, but just for clarity, since we expect only annual h1 files but daily h2 files.
1 parent 96674d3 commit fc59eca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/ctsm/test/test_unit_generate_gdds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,11 @@ def test_find_inst_hist_files_base_only(self):
536536
def test_find_inst_hist_files_multiple_months_same_year(self):
537537
"""Test finding multiple files from the same year"""
538538
# Create multiple files from 2000
539-
file1 = self._create_test_file("test.clm2.h1i.2000-01-01-00000.nc")
540-
file2 = self._create_test_file("test.clm2.h1i.2000-01-15-00000.nc")
541-
file3 = self._create_test_file("test.clm2.h1i.2000-01-31-00000.nc")
539+
file1 = self._create_test_file("test.clm2.h2i.2000-01-01-00000.nc")
540+
file2 = self._create_test_file("test.clm2.h2i.2000-01-15-00000.nc")
541+
file3 = self._create_test_file("test.clm2.h2i.2000-01-31-00000.nc")
542542
# Create file from different year
543-
file4 = self._create_test_file("test.clm2.h1i.2001-01-01-00000.nc")
543+
file4 = self._create_test_file("test.clm2.h2i.2001-01-01-00000.nc")
544544

545545
result = gf.find_inst_hist_files(self.temp_dir, h=1)
546546

0 commit comments

Comments
 (0)