1 |
jmc |
1.1 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "THSICE_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
CBOP |
7 |
|
|
C !ROUTINE: THSICE_READ_PICKUP |
8 |
|
|
C !INTERFACE: |
9 |
|
|
SUBROUTINE THSICE_READ_PICKUP( prec, myIter, myThid ) |
10 |
|
|
|
11 |
|
|
C !DESCRIPTION: \bv |
12 |
|
|
C *==========================================================* |
13 |
|
|
C | S/R THSICE_READ_PICKUP |
14 |
|
|
C | o Read thsice pickup file |
15 |
|
|
C *==========================================================* |
16 |
|
|
C \ev |
17 |
|
|
|
18 |
|
|
C !USES: |
19 |
|
|
IMPLICIT NONE |
20 |
|
|
|
21 |
|
|
C === Global variables === |
22 |
|
|
#include "SIZE.h" |
23 |
|
|
#include "EEPARAMS.h" |
24 |
|
|
#include "PARAMS.h" |
25 |
|
|
#include "THSICE_PARAMS.h" |
26 |
|
|
#include "THSICE_VARS.h" |
27 |
|
|
|
28 |
|
|
C !INPUT/OUTPUT PARAMETERS: |
29 |
|
|
C == Routine arguments == |
30 |
|
|
INTEGER prec |
31 |
|
|
INTEGER myIter |
32 |
|
|
INTEGER myThid |
33 |
|
|
CEOP |
34 |
|
|
|
35 |
|
|
#ifdef ALLOW_THSICE |
36 |
|
|
|
37 |
|
|
C == Local variables == |
38 |
|
|
CHARACTER*(MAX_LEN_FNAM) fn |
39 |
|
|
|
40 |
|
|
WRITE(fn,'(A,I10.10)') 'pickup_ic.',myIter |
41 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,iceMask, 1,myThid) |
42 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,iceHeight, 2,myThid) |
43 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,snowHeight,3,myThid) |
44 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,Tsrf, 4,myThid) |
45 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,Tice1, 5,myThid) |
46 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,Tice2, 6,myThid) |
47 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,Qice1, 7,myThid) |
48 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,Qice2, 8,myThid) |
49 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,snowAge, 9,myThid) |
50 |
|
|
|
51 |
|
|
IF ( stepFwd_oceMxL .AND. startIceModel.EQ.0 ) THEN |
52 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,tOceMxL, 10,myThid) |
53 |
|
|
CALL MDSREADFIELD(fn,prec,'RL',1,sOceMxL, 11,myThid) |
54 |
|
|
ENDIF |
55 |
|
|
|
56 |
|
|
#endif /* ALLOW_THSICE */ |
57 |
|
|
RETURN |
58 |
|
|
END |