/[MITgcm]/MITgcm/pkg/atm_compon_interf/atm_cpl_read_pickup.F
ViewVC logotype

Contents of /MITgcm/pkg/atm_compon_interf/atm_cpl_read_pickup.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Thu Jul 18 20:03:10 2013 UTC (10 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64k, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint65, checkpoint65p, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e
Changes since 1.3: +4 -6 lines
remove cpl_earlyExpImpCall=F option (was mainly a hack added for the old
 staggerTimeStep implementation) and disable (retired) corresponding
 parameter.

1 C $Header: /u/gcmpack/MITgcm/pkg/atm_compon_interf/atm_cpl_read_pickup.F,v 1.3 2007/10/01 13:39:53 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: ATM_CPL_READ_PICKUP
8 C !INTERFACE:
9 SUBROUTINE ATM_CPL_READ_PICKUP( myIter, myThid )
10
11 C !DESCRIPTION: \bv
12 C *==========================================================*
13 C | SUBROUTINE ATM_CPL_READ_PICKUP
14 C | o Reads fields from a pickup file for a restart
15 C *==========================================================*
16 C *==========================================================*
17 C \ev
18
19 C !USES:
20 IMPLICIT NONE
21
22 C == Global variables ==
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 #include "PARAMS.h"
26 #include "CPL_PARAMS.h"
27 #include "ATMIDS.h"
28 #include "ATMCPL.h"
29
30 C !INPUT/OUTPUT PARAMETERS:
31 C == Routine arguments ==
32 C myIter :: Current time-step number
33 C myThid :: my Thread Id number
34 INTEGER myIter
35 INTEGER myThid
36 CEOP
37
38 #ifdef COMPONENT_MODULE
39 C == Local variables ==
40 INTEGER prec
41 INTEGER i,j,bi,bj
42 CHARACTER*(MAX_LEN_FNAM) fn
43
44 WRITE(fn,'(A,I10.10)') 'pickup_cpl.',myIter
45 prec = precFloat64
46
47 c IF ( cpl_oldPickup ) THEN
48 C old pickup from before checkpoint 52m_post
49 c CALL READ_REC_3D_RL(fn,prec,1,SSTocn , 1,myIter,myThid)
50 c CALL READ_REC_3D_RL(fn,prec,1,HeatFlux , 2,myIter,myThid)
51 c CALL READ_REC_3D_RL(fn,prec,1,tauX , 3,myIter,myThid)
52 c CALL READ_REC_3D_RL(fn,prec,1,tauY , 4,myIter,myThid)
53 c CALL READ_REC_3D_RL(fn,prec,1,EvMPrFlux , 5,myIter,myThid)
54 c CALL READ_REC_3D_RL(fn,prec,1,RunOffFlux, 6,myIter,myThid)
55 c RETURN
56 c ENDIF
57 CALL READ_REC_3D_RL( fn,prec,1, ocMxlD , 1, myIter,myThid )
58 CALL READ_REC_3D_RL( fn,prec,1, SSTocn , 2, myIter,myThid )
59 CALL READ_REC_3D_RL( fn,prec,1, SSSocn , 3, myIter,myThid )
60 CALL READ_REC_3D_RL( fn,prec,1, vSqocn , 4, myIter,myThid )
61 CALL READ_REC_3D_RL( fn,prec,1, atmSLPr , 5, myIter,myThid )
62 CALL READ_REC_3D_RL( fn,prec,1, HeatFlux , 6, myIter,myThid )
63 CALL READ_REC_3D_RL( fn,prec,1, qShortWave, 7, myIter,myThid )
64 CALL READ_REC_3D_RL( fn,prec,1, tauX , 8, myIter,myThid )
65 CALL READ_REC_3D_RL( fn,prec,1, tauY , 9, myIter,myThid )
66 CALL READ_REC_3D_RL( fn,prec,1, EvMPrFlux , 10, myIter,myThid )
67 CALL READ_REC_3D_RL( fn,prec,1, RunOffFlux, 11, myIter,myThid )
68 CALL READ_REC_3D_RL( fn,prec,1, RunOffEnFx, 12, myIter,myThid )
69 CALL READ_REC_3D_RL( fn,prec,1, iceSaltFlx, 13, myIter,myThid )
70 CALL READ_REC_3D_RL( fn,prec,1, seaIceMass, 14, myIter,myThid )
71 IF ( atmCpl_exchange_DIC ) THEN
72 CALL READ_REC_3D_RL( fn,prec,1, flxCO2ocn , 15, myIter,myThid )
73 CALL READ_REC_3D_RL( fn,prec,1, airCO2 , 16, myIter,myThid )
74 CALL READ_REC_3D_RL( fn,prec,1, sWSpeed , 17, myIter,myThid )
75 CALL READ_REC_3D_RL( fn,prec,1, fracIce , 18, myIter,myThid )
76 ENDIF
77
78 IF ( cpl_oldPickup ) THEN
79 _BARRIER
80 C- EmP & RunOff were (before checkpoint59h) in m/s , but are now in kg/m2/s:
81 DO bj = myByLo(myThid), myByHi(myThid)
82 DO bi = myBxLo(myThid), myBxHi(myThid)
83 DO j=1-OLy,sNy+OLy
84 DO i=1-OLx,sNx+OLx
85 EvMPrFlux (i,j,bi,bj) = EvMPrFlux (i,j,bi,bj)*rhoConstFresh
86 RunOffFlux(i,j,bi,bj) = RunOffFlux(i,j,bi,bj)*rhoConstFresh
87 ENDDO
88 ENDDO
89 ENDDO
90 ENDDO
91 ENDIF
92
93 #endif /* COMPONENT_MODULE */
94
95 RETURN
96 END

  ViewVC Help
Powered by ViewVC 1.1.22