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

Annotation of /MITgcm/pkg/land/land_write_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_WRITE_PICKUP
8     C !INTERFACE:
9     SUBROUTINE LAND_WRITE_PICKUP( suff, myTime, myIter, myThid )
10    
11     C !DESCRIPTION: \bv
12     C *==========================================================*
13     C | S/R LAND_WRITE_PICKUP
14     C | o Writes current state of land package to 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 !INPUT/OUTPUT PARAMETERS:
29     C == Routine Arguments ==
30     C suff :: suffix for pickup file (eg. ckptA or 0000000010)
31     C myTime :: current time
32     C myIter :: time-step number
33     C myThid :: Number of this instance
34     CHARACTER*(*) suff
35     _RL myTime
36     INTEGER myIter
37     INTEGER myThid
38    
39     #ifdef ALLOW_LAND
40    
41     C !LOCAL VARIABLES:
42     C fn :: character buffer for creating filename
43     C prec :: precision of pickup files
44     C lgf :: flag to write "global" files
45     INTEGER prec, iChar, lChar
46     CHARACTER*(MAX_LEN_FNAM) fn
47     LOGICAL lgf
48     CEOP
49    
50     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
51    
52     lChar = 0
53     DO iChar = 1,len(suff)
54     IF ( suff(iChar:iChar) .NE. ' ') lChar=iChar
55     ENDDO
56     WRITE(fn,'(A,A)') 'pickup_land.',suff(1:lChar)
57     prec = precFloat64
58     lgf = globalFiles
59    
60     C-- Write fields as consecutive records
61     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',land_nLev,
62     & land_groundT,1,myIter,myThid)
63     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',land_nLev,
64     & land_groundW,2,myIter,myThid)
65    
66     #endif /* ALLOW_LAND */
67    
68     RETURN
69     END

  ViewVC Help
Powered by ViewVC 1.1.22