/[MITgcm]/MITgcm/pkg/land/land_read_pickup.F
ViewVC logotype

Annotation of /MITgcm/pkg/land/land_read_pickup.F

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


Revision 1.1 - (hide annotations) (download)
Thu Jun 12 17:54:22 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint51e_post, checkpoint51k_post, checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52j_post, checkpoint51o_pre, checkpoint52e_post, checkpoint51n_pre, checkpoint51l_post, checkpoint51q_post, checkpoint51j_post, hrcube_1, checkpoint50h_post, branch-netcdf, checkpoint52d_pre, checkpoint51r_post, checkpoint52k_post, checkpoint52b_pre, checkpoint51a_post, checkpoint51c_post, checkpoint51f_pre, checkpoint51, checkpoint51o_post, checkpoint51p_post, checkpoint52a_pre, checkpoint51i_post, checkpoint52, checkpoint51f_post, checkpoint52d_post, checkpoint51b_post, checkpoint51b_pre, checkpoint52a_post, checkpoint52b_post, checkpoint52f_post, branchpoint-genmake2, checkpoint52c_post, checkpoint51h_pre, checkpoint51l_pre, checkpoint51g_post, ecco_c52_e35, hrcube5, checkpoint51d_post, checkpoint52i_post, checkpoint52j_pre, checkpoint51t_post, checkpoint51n_post, checkpoint51i_pre, checkpoint52i_pre, checkpoint51u_post, checkpoint52h_pre, checkpoint52f_pre, hrcube_2, hrcube_3, checkpoint51m_post, checkpoint51s_post
Branch point for: branch-nonh, branch-genmake2, tg2-branch, checkpoint51n_branch, netcdf-sm0
A simple land model implemented for AIM (_v23) atmospheric physics

1 jmc 1.1 C $Header: $
2     C $Name: $
3    
4     #include "LAND_OPTIONS.h"
5    
6     CBOP
7     C !ROUTINE: LAND_READ_PICKUP
8     C !INTERFACE:
9     SUBROUTINE LAND_READ_PICKUP( myIter, myThid )
10    
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | S/R LAND_READ_PICKUP
14     C | o Reads current state of land model from a pickup file
15     C *==========================================================*
16     C \ev
17    
18     C !USES:
19     IMPLICIT NONE
20    
21     C == Global variables ===
22     #include "LAND_SIZE.h"
23     #include "EEPARAMS.h"
24     #include "PARAMS.h"
25     #include "LAND_PARAMS.h"
26     #include "LAND_VARS.h"
27    
28     C == Routine Arguments ==
29     C myIter :: time-step number
30     C myThid :: Number of this instance
31     INTEGER myIter
32     INTEGER myThid
33    
34     #ifdef ALLOW_LAND
35    
36     C !LOCAL VARIABLES:
37     C fn :: character buffer for creating filename
38     C prec :: precision of pickup files
39     C lgf :: flag to write "global" files
40     C k :: loop index
41     INTEGER prec, iChar, lChar, k
42     CHARACTER*(MAX_LEN_FNAM) fn
43     LOGICAL lgf
44     CEOP
45    
46     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
47    
48     WRITE(fn,'(A,I10.10)') 'pickup_land.',myIter
49     prec = precFloat64
50    
51     C- Read fields as consecutive records
52     CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundT,1,myThid)
53     CALL MDSREADFIELD(fn,prec,'RL',land_nLev,land_groundW,2,myThid)
54    
55     C- jmc: exchange is not really necessary for land model
56     C- and presently exchange S/R cannot work for 3d array where 3rd dim <> Nr
57    
58     #endif /* ALLOW_LAND */
59    
60     RETURN
61     END

  ViewVC Help
Powered by ViewVC 1.1.22