c $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/exf/Attic/exfa_summary.F,v 1.1 2001/05/14 22:08:42 heimbach Exp $ #include "EXF_CPPOPTIONS.h" subroutine exfa_Summary( I mythid & ) c ================================================================== c SUBROUTINE exfa_Summary c ================================================================== c c o List all the settings of the external forcing anomalies. c c started: Ralf.Giering@FastOpt.de 24-Mai-2000 c c ================================================================== c SUBROUTINE exfa_Summary c ================================================================== implicit none c == global variables == #include "EEPARAMS.h" #include "SIZE.h" #include "cal.h" #include "exf.h" #include "exfa_param.h" c == routine arguments == c mythid - thread number for this instance of the routine. integer mythid c == local variables == integer i integer il integer timeint(4) character*(max_len_mbuf) msgbuf c == external == integer ilnblnk external ilnblnk c == end of interface == write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// =======================================================' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// External forcing anomaly configuration >>> START <<<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// =======================================================' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a)') &'External forcing anomaly version: ',externalforcingversion call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a)') &'Uses Calendar version: ',usescalendarversion call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) c For each data set used the summary prints the calendar data c and the corresponding file from which the data will be read. c Heat flux. il = ilnblnk(hfluxafile) call cal_TimeInterval( hfluxaperiod, 'secs', timeint, mythid ) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6,1x,a,a)') &' Heat flux anomaly forcing starts at ', & (hfluxastartdate(i), i=1,2), dayofweek(hfluxastartdate(4)),'.' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6)') &' Heat flux anomaly forcing period is ', & (timeint(i), i=1,2) call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' Heat flux forcing anomaly is read from file:' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a,a)') &' >> ',hfluxafile(1:il),' <<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) c Salt flux. il = ilnblnk(sfluxafile) call cal_TimeInterval( sfluxaperiod, 'secs', timeint, mythid ) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6,1x,a,a)') &' Salt flux forcing anomaly starts at ', & (sfluxastartdate(i), i=1,2), dayofweek(sfluxastartdate(4)),'.' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6)') &' Salt flux forcing anomaly period is ', & (timeint(i), i=1,2) call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' Salt flux forcing anomaly is read from file:' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a,a)') &' >> ',sfluxafile(1:il),' <<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) c Zonal wind stress. il = ilnblnk(ustressafile) call cal_TimeInterval( ustressaperiod, 'secs', timeint, mythid ) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6,1x,a,a)') &' Zonal wind stress anomaly forcing starts at ', &(ustressastartdate(i), i=1,2), dayofweek(ustressastartdate(4)), & '.' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6)') &' Zonal wind stress anomaly forcing period is ', & (timeint(i), i=1,2) call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' Zonal wind stress anomaly forcing is read from file:' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a,a)') &' >> ',ustressafile(1:il),' <<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) c Meridional wind stress. il = ilnblnk(vstressafile) call cal_TimeInterval( vstressaperiod, 'secs', timeint, mythid ) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6,1x,a,a)') &' Meridional wind stress anomaly forcing starts at ', &(vstressastartdate(i), i=1,2), dayofweek(vstressastartdate(4)), & '.' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,i9.8,i7.6)') &' Meridional wind stress anomaly forcing period is ', & (timeint(i), i=1,2) call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' Meridional wind stress anomaly forcing is read from file:' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a,a,a)') &' >> ',vstressafile(1:il),' <<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// =======================================================' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// External forcing anomaly configuration >>> END <<<' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &'// =======================================================' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) write(msgbuf,'(a)') &' ' call print_message( msgbuf, standardmessageunit, & SQUEEZE_RIGHT , mythid) end