Skip to content

Commit bf6defa

Browse files
committed
remove whitespace changes, correct issue in atm_comp_nuopc
1 parent fac398b commit bf6defa

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/control/cam_comp.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ subroutine cam_init( &
8787
use cam_snapshot_common, only: cam_snapshot_deactivate
8888
use air_composition, only: air_composition_init
8989
use phys_grid_ctem, only: phys_grid_ctem_reg
90-
use filenames, only: interpret_filename_spec
90+
9191
! Arguments
9292
character(len=cl), intent(in) :: caseid ! case ID
9393
character(len=cl), intent(in) :: ctitle ! case title
@@ -122,6 +122,7 @@ subroutine cam_init( &
122122
integer, intent(in) :: stop_tod ! Stop time of day (sec)
123123
integer, intent(in) :: ref_ymd ! Reference date (YYYYMMDD)
124124
integer, intent(in) :: ref_tod ! Reference time of day (sec)
125+
125126
type(cam_out_t), pointer :: cam_out(:) ! Output from CAM to surface
126127
type(cam_in_t) , pointer :: cam_in(:) ! Merged input state to CAM
127128

@@ -151,7 +152,6 @@ subroutine cam_init( &
151152

152153
! Read CAM namelists.
153154
filein = "atm_in" // trim(inst_suffix)
154-
155155
call read_namelist(filein, single_column, scmlat, scmlon)
156156

157157
! Open initial or restart file, and topo file if specified.

src/control/cam_initfiles.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ subroutine cam_initfiles_readnl(nlfile)
119119
rest_pfile = interpret_filename_spec("rpointer.cam"//trim(inst_suffix)//".%y-%m-%d-%s", prev=.true.)
120120
inquire(file=trim(rest_pfile),exist=found)
121121
if(.not. found) then
122-
write(iulog, "Warning : rpointer file "//trim(rest_pfile)//" not found.")
122+
write(iulog, "INFO : rpointer file "//trim(rest_pfile)//" not found.")
123123
rest_pfile = "rpointer.cam"//trim(inst_suffix)
124+
write(iulog, " Try looking for "//trim(rest_pfile)//" ...")
124125
inquire(file=trim(rest_pfile),exist=found)
125126
if(.not. found) then
126127
call endrun(sub // ': ERROR: rpointer file: '//trim(rest_pfile) // ' not found')

src/control/runtime_opts.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ subroutine read_namelist(nlfilename, single_column, scmlat, scmlon)
109109
logical, intent(in) :: single_column
110110
real(r8), intent(in) :: scmlat
111111
real(r8), intent(in) :: scmlon
112+
112113
!---------------------------Local variables-----------------------------
113114
character(len=*), parameter :: subname = "read_namelist"
114115

src/cpl/nuopc/atm_comp_nuopc.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ subroutine cam_write_clockrest( clock, yr_spec, mon_spec, day_spec, sec_spec, rc
19851985
write(iulog,*) " containing this information"
19861986
write(iulog,*) " writing rpointer file for driver clock info, rpointer.cpl"
19871987
write(iulog,*) " writing restart clock info for driver= "//trim(restart_file)
1988-
open(newunit=unitn, file='rpointer.cpl', form='FORMATTED')
1988+
open(newunit=unitn, file=trim(restart_pfile), form='FORMATTED')
19891989
write(unitn,'(a)') trim(restart_file)
19901990
close(unitn)
19911991
endif

0 commit comments

Comments
 (0)