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_nf90.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_nf90.F90

    r719 r745  
    206206            ENDIF 
    207207         ENDIF 
    208 !!$                  ELSE   
    209 !!$                     CALL ctl_warn( trim(clinfo), 'Variable '//trim(cdvar)// & 
    210 !!$                        &                         ' is not found in the file '//trim(iom_file(kiomid)%name) ) 
     208      ELSE   
     209         iom_nf90_varid = -1   !   variable not found, return error code: -1 
    211210      ENDIF 
    212211      ! 
Note: See TracChangeset for help on using the changeset viewer.