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 11494 for NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfutils.F90 – NEMO

Ignore:
Timestamp:
2019-09-03T12:46:35+02:00 (5 years ago)
Author:
mathiot
Message:

ENHANCE-02_ISF: switch on isf param in WED025 and fix bugs in isf param code + cosmetic changes (ticket #2142)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfutils.F90

    r11403 r11494  
    3838      REAL(wp), DIMENSION(jpi,jpj), INTENT(  out) :: pvar          ! output variable 
    3939      !!-------------------------- IN  ------------------------------------- 
    40       CHARACTER(len=256)          , INTENT(in   ) :: cdfile, cdvar ! input file name and variable name 
     40      CHARACTER(len=256)          , INTENT(in   ) :: cdfile   ! input file name 
     41      CHARACTER(len=34)           , INTENT(in   ) :: cdvar    ! variable name 
    4142      !!-------------------------------------------------------------------- 
    4243      INTEGER :: inum 
    4344      !!-------------------------------------------------------------------- 
    4445 
    45       CALL iom_open( cdfile, inum ) 
    46       CALL iom_get( inum, jpdom_data, cdvar, pvar, 1) 
     46      CALL iom_open( TRIM(cdfile), inum ) 
     47      CALL iom_get( inum, jpdom_data, TRIM(cdvar), pvar) 
    4748      CALL iom_close(inum) 
    4849 
Note: See TracChangeset for help on using the changeset viewer.