/[MITgcm]/MITgcm/pkg/fizhi/fizhi_read_pickup.F
ViewVC logotype

Contents of /MITgcm/pkg/fizhi/fizhi_read_pickup.F

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


Revision 1.3 - (show annotations) (download)
Mon Jun 7 18:11:37 2004 UTC (19 years, 11 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint53d_post, checkpoint54a_pre, checkpoint54a_post, checkpoint54b_post, checkpoint54, checkpoint53g_post, checkpoint53f_post
Changes since 1.2: +3 -3 lines
Accomodate new common block names

1 C $Header: /u/gcmpack/MITgcm/pkg/fizhi/fizhi_read_pickup.F,v 1.2 2004/05/05 00:39:21 edhill Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: FIZHI_READ_PICKUP
6 C !INTERFACE:
7 SUBROUTINE FIZHI_READ_PICKUP( myIter, myThid )
8
9 C !DESCRIPTION: \bv
10 C *==========================================================*
11 C | S/R FIZHI_READ_PICKUP
12 C | o Reads current fizhi state from a pickup file
13 C *==========================================================*
14 C \ev
15
16 C !USES:
17 CEOP
18 IMPLICIT NONE
19
20 C == Global variables ===
21 #include "CPP_OPTIONS.h"
22 #include "SIZE.h"
23 #include "fizhi_SIZE.h"
24 #include "fizhi_land_SIZE.h"
25 #include "fizhi_coms.h"
26 #include "fizhi_land_coms.h"
27 #include "EEPARAMS.h"
28 #include "PARAMS.h"
29
30 C == Routine Arguments ==
31 C myIter :: time-step number
32 C myThid :: Number of this instance
33 INTEGER myIter
34 INTEGER myThid
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
45 WRITE(fn,'(A,I10.10)') 'pickup_fizhi.',myIter
46 prec = precFloat64
47
48 C- Read fields as consecutive records
49 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,uphy,1,myThid)
50 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,vphy,2,myThid)
51 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,thphy,3,myThid)
52 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,sphy,4,myThid)
53
54 RETURN
55 END

  ViewVC Help
Powered by ViewVC 1.1.22