Ignore:
Timestamp:
Jan 27, 2006, 4:14:22 PM (19 years ago)
Author:
Laurent Fairhead
Message:

Differentes corrections pour g95
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/dyn3d/limit_netcdf.F

    r524 r677  
    452452
    453453      ierr = NF_OPEN('amipbc_sic_1x1.nc', NF_NOWRITE, ncid)
    454       if (ierr.ne.0) then
    455         print *, NF_STRERROR(ierr)
    456         STOP
     454      if (ierr.ne.0) THEN
     455        ierr = NF_OPEN('amipbc_sic_1x1_clim.nc', NF_NOWRITE, ncid)
     456        if (ierr.ne.0) THEN
     457          print *, NF_STRERROR(ierr)
     458          STOP
     459        endif
    457460      ENDIF
    458461
     
    775778c     ierr = NF_OPEN('AMIP_SST.nc', NF_NOWRITE, ncid)
    776779      ierr = NF_OPEN('amipbc_sst_1x1.nc', NF_NOWRITE, ncid)
    777       if (ierr.ne.0) then
    778         print *, NF_STRERROR(ierr)
    779         STOP
     780      if (ierr.ne.0) THEN
     781        ierr = NF_OPEN('amipbc_sst_1x1_clim.nc', NF_NOWRITE, ncid)
     782        if (ierr.ne.0) THEN
     783          print *, NF_STRERROR(ierr)
     784          STOP
     785        endif
    780786      ENDIF
    781787
Note: See TracChangeset for help on using the changeset viewer.