36 |
C !LOCAL VARIABLES: |
C !LOCAL VARIABLES: |
37 |
C fn :: character buffer for creating filename |
C fn :: character buffer for creating filename |
38 |
C prec :: precision of pickup files |
C prec :: precision of pickup files |
|
C lgf :: flag to write "global" files |
|
39 |
C k :: loop index |
C k :: loop index |
40 |
INTEGER prec, iChar, lChar, k |
INTEGER prec, k |
41 |
CHARACTER*(MAX_LEN_FNAM) fn |
CHARACTER*(MAX_LEN_FNAM) fn |
|
LOGICAL lgf |
|
42 |
CEOP |
CEOP |
43 |
|
|
44 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
46 |
WRITE(fn,'(A,I10.10)') 'pickup_land.',myIter |
WRITE(fn,'(A,I10.10)') 'pickup_land.',myIter |
47 |
prec = precFloat64 |
prec = precFloat64 |
48 |
|
|
49 |
|
IF ( land_oldPickup ) THEN |
50 |
C- Read fields as consecutive records |
C- Read fields as consecutive records |
51 |
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundT,1,myThid) |
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundT,1,myThid) |
52 |
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundW,2,myThid) |
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundW,2,myThid) |
53 |
|
|
54 |
|
ELSE |
55 |
|
|
56 |
|
C- Read fields as consecutive records |
57 |
|
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_enthalp,1,myThid) |
58 |
|
CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundW,2,myThid) |
59 |
|
k=2*land_nLev |
60 |
|
CALL MDSREADFIELD(fn,prec,'RL', 1, land_skinT, k+1, myThid) |
61 |
|
CALL MDSREADFIELD(fn,prec,'RL', 1, land_hSnow, k+2, myThid) |
62 |
|
CALL MDSREADFIELD(fn,prec,'RL', 1, land_snowAge,k+3, myThid) |
63 |
|
|
64 |
|
ENDIF |
65 |
|
|
66 |
C- jmc: exchange is not really necessary for land model |
C- jmc: exchange is not really necessary for land model |
67 |
C- and presently exchange S/R cannot work for 3d array where 3rd dim <> Nr |
C- and presently exchange S/R cannot work for 3d array where 3rd dim <> Nr |
68 |
|
|