New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 745 for trunk/NEMO/OPA_SRC/IOM/iom_ioipsl.F90 – NEMO

Ignore:
Timestamp:
2007-12-06T18:02:32+01:00 (16 years ago)
Author:
smasson
Message:

by default stop if variable doesn't exist, see ticket:21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/IOM/iom_ioipsl.F90

    r719 r745  
    195195                  &                       'increase the parameter jpmax_vars') 
    196196         ENDIF 
    197 !!$                  ELSE   
    198 !!$                     CALL ctl_warn( trim(clinfo), 'Variable '//trim(cdvar)// & 
    199 !!$                        &                         ' is not found in the file '//trim(iom_file(kiomid)%name) ) 
     197      ELSE   
     198         iom_ioipsl_varid = -1   !   variable not found, return error code: -1 
    200199      ENDIF 
    201200      ! 
Note: See TracChangeset for help on using the changeset viewer.