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

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

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


Revision 1.5 - (hide annotations) (download)
Mon Jul 26 18:45:17 2004 UTC (19 years, 9 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint54d_post
Changes since 1.4: +2 -2 lines
Went to use of FIZHI_OPTIONS and _RL in all routines

1 molod 1.5 C $Header: /u/gcmpack/MITgcm/pkg/fizhi/fizhi_read_pickup.F,v 1.4 2004/07/14 17:31:57 molod Exp $
2 edhill 1.2 C $Name: $
3    
4 molod 1.5 #include "FIZHI_OPTIONS.h"
5 molod 1.1 CBOP
6     C !ROUTINE: FIZHI_READ_PICKUP
7     C !INTERFACE:
8     SUBROUTINE FIZHI_READ_PICKUP( myIter, myThid )
9    
10     C !DESCRIPTION: \bv
11     C *==========================================================*
12     C | S/R FIZHI_READ_PICKUP
13     C | o Reads current fizhi state from a pickup file
14     C *==========================================================*
15     C \ev
16    
17     C !USES:
18     CEOP
19     IMPLICIT NONE
20    
21     C == Global variables ===
22     #include "SIZE.h"
23     #include "fizhi_SIZE.h"
24 molod 1.3 #include "fizhi_land_SIZE.h"
25 molod 1.1 #include "fizhi_coms.h"
26 molod 1.3 #include "fizhi_land_coms.h"
27 molod 1.1 #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 molod 1.4 INTEGER prec
41 molod 1.1 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