1 |
|
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
#include "LAYERS_OPTIONS.h" |
#include "LAYERS_OPTIONS.h" |
5 |
|
|
6 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
34 |
_BEGIN_MASTER(myThid) |
_BEGIN_MASTER(myThid) |
35 |
|
|
36 |
C-- Default values for LAYERS |
C-- Default values for LAYERS |
37 |
|
|
38 |
C The MNC stuff is not working yet |
C The MNC stuff is not working yet |
39 |
layers_MNC = .FALSE. |
layers_MNC = .FALSE. |
40 |
layers_MDSIO = .TRUE. |
layers_MDSIO = .TRUE. |
41 |
|
|
42 |
DO k=1,Nlayers+1 |
DO k=1,Nlayers+1 |
43 |
layers_G(k) = UNSET_RL |
layers_G(k) = UNSET_RL |
44 |
ENDDO |
ENDDO |
45 |
|
|
46 |
WRITE(msgBuf,'(A)') 'LAYERS_READPARMS: opening data.layers' |
WRITE(msgBuf,'(A)') 'LAYERS_READPARMS: opening data.layers' |
47 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
48 |
& SQUEEZE_RIGHT , 1) |
& SQUEEZE_RIGHT , 1) |
62 |
|
|
63 |
C-- Make sure the layers_G we just read is big enough |
C-- Make sure the layers_G we just read is big enough |
64 |
DO k=1,Nlayers+1 |
DO k=1,Nlayers+1 |
65 |
IF ( layers_G(k) .EQ. UNSET_RL ) THEN |
IF ( layers_G(k) .EQ. UNSET_RL ) THEN |
66 |
WRITE(msgBuf,'(A,I4)') |
WRITE(msgBuf,'(A,I4)') |
67 |
& 'S/R LAYERS_READPARMS: No value for layers_G at k =', k |
& 'S/R LAYERS_READPARMS: No value for layers_G at k =', k |
68 |
CALL PRINT_ERROR( msgBuf, myThid ) |
CALL PRINT_ERROR( msgBuf, myThid ) |