29 |
#ifdef ALLOW_MNC |
#ifdef ALLOW_MNC |
30 |
#include "MNC_PARAMS.h" |
#include "MNC_PARAMS.h" |
31 |
#endif |
#endif |
32 |
|
#ifdef ALLOW_COST |
33 |
|
#include "THSICE_COST.h" |
34 |
|
#endif |
35 |
C !INPUT/OUTPUT PARAMETERS: |
C !INPUT/OUTPUT PARAMETERS: |
36 |
C === Routine arguments === |
C === Routine arguments === |
37 |
C myThid :: My Thread Id. number |
C myThid :: My Thread Id. number |
76 |
& thSIceSnowH_InitFile, thSIceSnowA_InitFile, |
& thSIceSnowH_InitFile, thSIceSnowA_InitFile, |
77 |
& thSIceEnthp_InitFile, thSIceTsurf_InitFile |
& thSIceEnthp_InitFile, thSIceTsurf_InitFile |
78 |
|
|
79 |
|
#ifdef ALLOW_COST |
80 |
|
NAMELIST /THSICE_COST/ |
81 |
|
& mult_thsice, thsice_cost_ice_flag |
82 |
|
#endif |
83 |
|
|
84 |
_BEGIN_MASTER(myThid) |
_BEGIN_MASTER(myThid) |
85 |
|
|
86 |
WRITE(msgBuf,'(A)') ' THSICE_READPARMS: opening data.ice' |
WRITE(msgBuf,'(A)') ' THSICE_READPARMS: opening data.ice' |
175 |
thSIceEnthp_InitFile = ' ' |
thSIceEnthp_InitFile = ' ' |
176 |
thSIceTsurf_InitFile = ' ' |
thSIceTsurf_InitFile = ' ' |
177 |
|
|
178 |
|
#ifdef ALLOW_COST |
179 |
|
thsice_cost_ice_flag = 1 |
180 |
|
mult_thsice = 0. _d 0 |
181 |
|
#endif |
182 |
|
|
183 |
C-- Read parameters from open data file |
C-- Read parameters from open data file |
184 |
READ(UNIT=iUnit,NML=THSICE_CONST) |
READ(UNIT=iUnit,NML=THSICE_CONST) |
191 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
192 |
& SQUEEZE_RIGHT , 1) |
& SQUEEZE_RIGHT , 1) |
193 |
|
|
194 |
|
#ifdef ALLOW_COST |
195 |
|
READ(UNIT=iUnit,NML=THSICE_COST) |
196 |
|
WRITE(msgBuf,'(A)') ' THSICE_READPARMS: read THSICE_PARM02' |
197 |
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
198 |
|
& SQUEEZE_RIGHT , 1) |
199 |
|
#endif |
200 |
|
|
201 |
C-- Close the open data file |
C-- Close the open data file |
202 |
CLOSE(iUnit) |
CLOSE(iUnit) |
203 |
|
|