Skip to content

Commit 1bca38b

Browse files
committed
Revert "fix issue in for loop, reinstate test with new sat file"
Reverting since this commit seems more like a cosmetic fix than a real fix; and it is too late to reapply the commit to next. This reverts commit a050774.
1 parent a050774 commit 1bca38b

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

cime_config/tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@
207207
"REP_Ln5.ne4pg2_oQU480.F2010",
208208
"SMS_Ld3.ne4pg2_oQU480.F2010.eam-thetahy_sl_pg2_mass",
209209
"ERP_Ld3.ne4pg2_ne4pg2.FIDEAL.allactive-pioroot1",
210-
"ERS_Ld5.ne4pg2_oQU480.F2010.eam-sathist_F2010",
211210
)
212211
},
213212

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
./xmlchange RUN_STARTDATE=2018-01-01
3+
./xmlchange RUN_STARTDATE=2015-01-01

components/eam/cime_config/testdefs/testmods_dirs/eam/sathist_F2010/user_nl_eam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
&satellite_options_nl
22
sathist_mfilt = 10000,
3-
sathist_track_infile = '$DIN_LOC_ROOT/atm/waccm/sat/satellite_profilelist_orcas_to_socrates_c190208.nc'
3+
sathist_track_infile = '$DIN_LOC_ROOT/atm/waccm/sat/sathist_master_19700410-20150419_c20150616.nc'
44
sathist_hfilename_spec = '%c.eam.h9.sathist.%y-%m-%d-%s.nc'
55
sathist_nclosest = 1
66
sathist_ntimestep = 1

components/eam/src/control/sat_hist.F90

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -722,14 +722,8 @@ subroutine read_next_position( ncols )
722722

723723
call read_buffered_datetime( datetime, i )
724724

725-
if (datetime > begdatetime .and. beg_ndx < 0) then
726-
beg_ndx = i
727-
end if
728-
729-
if (datetime > enddatetime) then
730-
exit bnds_loop
731-
end if
732-
725+
if ( datetime>begdatetime .and. beg_ndx<0 ) beg_ndx = i
726+
if ( datetime>enddatetime ) exit bnds_loop
733727
end_ndx = i
734728

735729
enddo bnds_loop

0 commit comments

Comments
 (0)