Changeset 5609 for trunk/NEMOGCM/TOOLS/SIREN/src/multi.f90
- Timestamp:
- 2015-07-17T17:42:15+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/TOOLS/SIREN/src/multi.f90
r5037 r5609 170 170 !> @author J.Paul 171 171 !> - November, 2013- Initial Version 172 !> @date July, 2015 - check if variable to be read is in file 172 173 !> 173 174 !> @param[in] cd_varfile variable location information (from namelist) … … 190 191 191 192 INTEGER(i4) :: il_nvar 193 INTEGER(i4) :: il_varid 192 194 193 195 LOGICAL :: ll_dim … … 242 244 ! define variable 243 245 IF( TRIM(fct_lower(cl_lower)) /= 'all' )THEN 246 247 ! check if variable is in file 248 il_varid=var_get_index(tl_mpp%t_proc(1)%t_var(:),cl_lower) 249 IF( il_varid == 0 )THEN 250 CALL logger_fatal("MULTI INIT: variable "//& 251 & TRIM(cl_name)//" not in file "//& 252 & TRIM(cl_file) ) 253 ENDIF 244 254 245 255 ! clean var
Note: See TracChangeset
for help on using the changeset viewer.