Changeset 2715 for trunk/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90
- Timestamp:
- 2011-03-30T17:58:35+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/OPA_SRC/OBS/diaobs.F90
r2474 r2715 39 39 USE obs_types ! Definitions for observation types 40 40 USE mpp_map ! MPP mapping 41 USE lib_mpp ! For ctl_warn/stop 41 42 42 43 IMPLICIT NONE … … 1026 1027 & frld 1027 1028 #endif 1028 1029 USE wrk_nemo, ONLY: wrk_in_use, wrk_not_released 1030 #if ! defined key_ice_lim 1031 USE wrk_nemo, ONLY: frld => wrk_2d_1 1032 #endif 1029 1033 IMPLICIT NONE 1030 1034 … … 1032 1036 INTEGER, INTENT(IN) :: kstp ! Current timestep 1033 1037 !! * Local declarations 1034 #if ! defined key_ice_lim1035 REAL(wp), DIMENSION(jpi,jpj) :: frld1036 #endif1037 1038 INTEGER :: idaystp ! Number of timesteps per day 1038 1039 INTEGER :: jprofset ! Profile data set loop variable … … 1044 1045 CHARACTER(LEN=20) :: datestr=" ",timestr=" " 1045 1046 1047 #if ! defined key_ice_lim 1048 IF(wrk_in_use(2, 1))THEN 1049 CALL ctl_stop('dia_obs : requested workspace array unavailable.') 1050 RETURN 1051 END IF 1052 #endif 1053 1046 1054 IF(lwp) THEN 1047 1055 WRITE(numout,*) … … 1121 1129 ENDIF 1122 1130 1131 #if ! defined key_ice_lim 1132 IF(wrk_not_released(2, 1))THEN 1133 CALL ctl_stop('dia_obs : failed to release workspace array.') 1134 END IF 1135 #endif 1136 1123 1137 END SUBROUTINE dia_obs 1124 1138
Note: See TracChangeset
for help on using the changeset viewer.