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 1319 for trunk/NEMO/OPA_SRC/SBC/fldread.F90 – NEMO

Ignore:
Timestamp:
2009-02-17T18:58:41+01:00 (15 years ago)
Author:
rblod
Message:

First try to use IOF with AGRIF, see ticket #341

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/fldread.F90

    r1295 r1319  
    506506         IF( sdjf%cltype == 'monthly' )   WRITE(sdjf%clname, '(a,"m",i2.2)'  ) TRIM( sdjf%clname     ), kmonth   ! add month 
    507507      ENDIF 
    508       CALL iom_open( sdjf%clname, sdjf%num, ldstop = ldstop ) 
     508      CALL iom_open( sdjf%clname, sdjf%num, ldstop = ldstop, ldiof =  LEN(TRIM(sdjf%wgtname)) > 0 ) 
    509509      ! 
    510510   END SUBROUTINE fld_clopn 
     
    677677 
    678678      !! open input data file (non-model grid) 
    679       CALL iom_open( sd%clname, inum ) 
     679      CALL iom_open( sd%clname, inum, ldiof =  LEN(TRIM(sd%wgtname)) > 0 ) 
    680680 
    681681      !! get dimensions 
Note: See TracChangeset for help on using the changeset viewer.