/[MITgcm]/MITgcm/pkg/exf/exf_check.F
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_check.F

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


Revision 1.1 - (show annotations) (download)
Mon Oct 11 16:41:01 2004 UTC (19 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint57o_post, checkpoint57v_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57d_post, checkpoint57g_post, checkpoint57b_post, checkpoint57c_pre, checkpoint55j_post, checkpoint56b_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint55h_post, checkpoint57g_pre, checkpoint56c_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint57a_post, checkpoint55g_post, checkpoint55f_post, checkpoint57r_post, checkpoint57a_pre, checkpoint55i_post, checkpoint57, checkpoint56, eckpoint57e_pre, checkpoint57h_done, checkpoint57x_post, checkpoint57n_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint57q_post, checkpoint57z_post, checkpoint57c_post, checkpoint55e_post, checkpoint57j_post, checkpoint57h_pre, checkpoint57l_post, checkpoint57h_post, checkpoint56a_post, checkpoint55d_post
o enable to read exf forcing fields as either
  single file or yearly files (flag useExfYearlyFields)

1 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_check_range.F,v 1.2 2004/02/26 22:30:27 heimbach Exp $
2
3 #include "EXF_OPTIONS.h"
4
5 subroutine exf_check( mythid )
6
7 c ==================================================================
8 c SUBROUTINE exf_check
9 c ==================================================================
10 c
11 implicit none
12
13 c == global variables ==
14
15 #include "EEPARAMS.h"
16 #include "SIZE.h"
17 #include "PARAMS.h"
18 #include "FFIELDS.h"
19 #include "GRID.h"
20
21 #include "exf_param.h"
22 #include "exf_constants.h"
23 #include "exf_fields.h"
24 #include "exf_clim_fields.h"
25 c == routine arguments ==
26
27 c mythid - thread number for this instance of the routine.
28
29 integer mythid
30
31 c == local variables ==
32
33 integer bi,bj
34 integer i,j
35 integer jtlo
36 integer jthi
37 integer itlo
38 integer ithi
39 integer jmin
40 integer jmax
41 integer imin
42 integer imax
43
44 c == end of interface ==
45
46 jtlo = mybylo(mythid)
47 jthi = mybyhi(mythid)
48 itlo = mybxlo(mythid)
49 ithi = mybxhi(mythid)
50 jmin = 1-oly
51 jmax = sny+oly
52 imin = 1-olx
53 imax = snx+olx
54
55 c check for consistency
56 if (.NOT.
57 & (exf_iprec .EQ. 32 .OR. exf_iprec .EQ. 64)
58 & ) then
59 stop 'stop in exf_readparms: value of exf_iprec not allowed'
60 else if (.NOT.
61 & (exf_yftype .EQ. 'RS' .OR.
62 & exf_yftype .EQ. 'RL')
63 & ) then
64 stop 'stop in exf_readparms: value of exf_yftype not allowed'
65 end if
66
67 if ( useCubedSphereExchange ) then
68 cph if ( uvecfile .NE. ' ' .and. vvecfile .NE. ' ' ) then
69 c some restrictions that can be relaxed later on
70 cph if ( uvecstartdate .ne. vvecstartdate .or.
71 cph & uvecperiod .ne. vvecperiod ) then
72 cph print*,'For useCubedSphereExchange, S/R exf_set_uv.F'
73 cph print*,'assumes that the u and v wind or wind stress'
74 cph print*,'files have the same startdate and period.'
75 cph stop
76 cph endif
77 cph endif
78 endif
79
80
81
82 end

  ViewVC Help
Powered by ViewVC 1.1.22