File indexing completed on 2018-03-02 18:38:16 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
6d54cf9ca1 Ed H*0001 #include "CAL_OPTIONS.h"
a63ed37559 Patr*0002
0003 subroutine cal_PrintDate(
0004 I caldate,
0005 I mythid
0006 & )
0007
0008
0009
0010
0011
0012
0013
0014
d659697902 Patr*0015
a63ed37559 Patr*0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 implicit none
0033
0034
0035
0036 #include "EEPARAMS.h"
0037
0038
0039
0040
0041
0042
0043 integer caldate(4)
0044 integer mythid
0045
0046
0047
019718029c Gael*0048 integer ierr, ioUnit
0049 character*(max_len_mbuf) msgbuf
a63ed37559 Patr*0050
0051
0052
019718029c Gael*0053 ioUnit=standardMessageUnit
0054
a63ed37559 Patr*0055 if ( caldate(4) .gt. 0 ) then
0056
019718029c Gael*0057 write(msgBuf,'(i10,i8,i3,i4)') caldate(1), caldate(2),
0058 & caldate(3), caldate(4)
0059 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
a63ed37559 Patr*0060
0061 else if ( caldate(4) .eq. -1 ) then
0062
019718029c Gael*0063 write(msgBuf,'(i10,i8,i3,i4)') caldate(1), caldate(2),
0064 & caldate(3), caldate(4)
0065 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
a63ed37559 Patr*0066
0067 else
0068
0069 ierr = 2001
0070 call cal_PrintError( ierr, mythid )
0071 stop ' stopped in cal_PrintDate.'
0072
0073 endif
0074
0075 return
0076 end