482 |
STOP 'ABNORMAL END: S/R CONFIG_CHECK' |
STOP 'ABNORMAL END: S/R CONFIG_CHECK' |
483 |
ENDIF |
ENDIF |
484 |
|
|
485 |
|
IF ( rotateGrid ) THEN |
486 |
|
IF ( .NOT. usingSphericalPolarGrid ) THEN |
487 |
|
WRITE(msgBuf,'(2A)') |
488 |
|
& 'CONFIG_CHECK: specifying Euler angles makes only ', |
489 |
|
& 'sense with usingSphericalGrid=.TRUE.' |
490 |
|
CALL PRINT_ERROR( msgBuf , myThid) |
491 |
|
STOP 'ABNORMAL END: S/R CONFIG_CHECK' |
492 |
|
ENDIF |
493 |
|
IF ( useFLT .OR. useZonal_Filt .OR. useECCO ) THEN |
494 |
|
WRITE(msgBuf,'(2A)') |
495 |
|
& 'CONFIG_CHECK: specifying Euler angles will probably ', |
496 |
|
& 'not work with pkgs FLT, ZONAL_FLT, ECCO' |
497 |
|
CALL PRINT_ERROR( msgBuf , myThid) |
498 |
|
STOP 'ABNORMAL END: S/R CONFIG_CHECK' |
499 |
|
ENDIF |
500 |
|
#ifdef ALLOW_PROFILES |
501 |
|
WRITE(msgBuf,'(2A)') |
502 |
|
& 'CONFIG_CHECK: specifying Euler angles will probably ', |
503 |
|
& 'not work with pkg profiles' |
504 |
|
CALL PRINT_ERROR( msgBuf , myThid) |
505 |
|
STOP 'ABNORMAL END: S/R CONFIG_CHECK' |
506 |
|
#endif /* ALLOW_PROFILES */ |
507 |
|
ENDIF |
508 |
|
|
509 |
WRITE(msgBuf,'(A)') 'CONFIG_CHECK: OK' |
WRITE(msgBuf,'(A)') 'CONFIG_CHECK: OK' |
510 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit, |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit, |
511 |
& SQUEEZE_RIGHT,myThid) |
& SQUEEZE_RIGHT,myThid) |