1 |
C $Header: /u/gcmpack/MITgcm/pkg/atm2d/atm2d_read_pickup.F,v 1.2 2007/10/08 23:48:28 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "ctrparam.h" |
5 |
#include "ATM2D_OPTIONS.h" |
6 |
|
7 |
C !INTERFACE: |
8 |
SUBROUTINE ATM2D_READ_PICKUP( myThid ) |
9 |
C *==========================================================* |
10 |
C | Read couple flux pickup, which contains fluxes for the | |
11 |
C | initial ocean step and seaice growth/melt step. Called | |
12 |
C | from the "normal" place (atm2d_init_vars). | |
13 |
C *==========================================================* |
14 |
IMPLICIT NONE |
15 |
|
16 |
#include "ATMSIZE.h" |
17 |
#include "SIZE.h" |
18 |
#include "EEPARAMS.h" |
19 |
#include "PARAMS.h" |
20 |
|
21 |
C === Global SeaIce Variables === |
22 |
#include "THSICE_VARS.h" |
23 |
|
24 |
C === Atmos/Ocean/Seaice Interface Variables === |
25 |
#include "ATM2D_VARS.h" |
26 |
|
27 |
|
28 |
C !INPUT/OUTPUT PARAMETERS: |
29 |
C === Routine arguments === |
30 |
C myThid - Thread no. that called this routine. |
31 |
INTEGER myThid |
32 |
|
33 |
C LOCAL VARIABLES: |
34 |
CHARACTER*(MAX_LEN_FNAM) fn |
35 |
INTEGER prec |
36 |
|
37 |
IF (startTime.NE.baseTime .OR. nIter0.NE.0) THEN |
38 |
|
39 |
prec=precFloat64 |
40 |
|
41 |
WRITE(fn,'(A,I10.10)') 'pickup_atm2d.',nIter0 |
42 |
|
43 |
CALL READ_REC_3D_RL(fn,prec,1,pass_slp, 1, nIter0, myThid) |
44 |
CALL READ_REC_3D_RL(fn,prec,1,pass_qnet, 2, nIter0, myThid) |
45 |
CALL READ_REC_3D_RL(fn,prec,1,pass_solarnet, 3, nIter0, myThid) |
46 |
CALL READ_REC_3D_RL(fn,prec,1,pass_fu, 4, nIter0, myThid) |
47 |
CALL READ_REC_3D_RL(fn,prec,1,pass_fv, 5, nIter0, myThid) |
48 |
CALL READ_REC_3D_RL(fn,prec,1,pass_precip, 6, nIter0, myThid) |
49 |
CALL READ_REC_3D_RL(fn,prec,1,pass_evap, 7, nIter0, myThid) |
50 |
CALL READ_REC_3D_RL(fn,prec,1,pass_runoff, 8, nIter0, myThid) |
51 |
CALL READ_REC_3D_RL(fn,prec,1,pass_wspeed, 9, nIter0, myThid) |
52 |
CALL READ_REC_3D_RL(fn,prec,1,pass_pCO2, 10, nIter0, myThid) |
53 |
CALL READ_REC_3D_RL(fn,prec,1,pass_sIceLoad,11, nIter0, myThid) |
54 |
|
55 |
CALL READ_REC_3D_RL(fn,prec,1,sHeating, 12, nIter0, myThid) |
56 |
CALL READ_REC_3D_RL(fn,prec,1,flxCndBt, 13, nIter0, myThid) |
57 |
CALL READ_REC_3D_RL(fn,prec,1,pass_prcAtm, 14, nIter0, myThid) |
58 |
CALL READ_REC_3D_RL(fn,prec,1,snowPrc, 15, nIter0, myThid) |
59 |
CALL READ_REC_3D_RL(fn,prec,1,icFrwAtm, 16, nIter0, myThid) |
60 |
CALL READ_REC_3D_RL(fn,prec,1,icFlxSw, 17, nIter0, myThid) |
61 |
CALL READ_REC_3D_RL(fn,prec,1,siceAlb, 18, nIter0, myThid) |
62 |
|
63 |
ENDIF |
64 |
|
65 |
RETURN |
66 |
END |
67 |
|