/[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.4 - (show annotations) (download)
Wed Jul 14 17:31:57 2004 UTC (19 years, 10 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint54c_post
Changes since 1.3: +2 -4 lines
Debugging

1 C $Header: /u/gcmpack/MITgcm/pkg/fizhi/fizhi_read_pickup.F,v 1.3 2004/06/07 18:11:37 molod 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 k :: loop index
40 INTEGER prec
41 CHARACTER*(MAX_LEN_FNAM) fn
42
43 WRITE(fn,'(A,I10.10)') 'pickup_fizhi.',myIter
44 prec = precFloat64
45
46 C- Read fields as consecutive records
47 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,uphy,1,myThid)
48 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,vphy,2,myThid)
49 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,thphy,3,myThid)
50 CALL MDSREADFIELD(fn,prec,'RL',Nrphys,sphy,4,myThid)
51
52 RETURN
53 END

  ViewVC Help
Powered by ViewVC 1.1.22