Changeset 677 for LMDZ4/trunk/libf/dyn3d/limit_netcdf.F
- Timestamp:
- Jan 27, 2006, 4:14:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3d/limit_netcdf.F
r524 r677 452 452 453 453 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 457 460 ENDIF 458 461 … … 775 778 c ierr = NF_OPEN('AMIP_SST.nc', NF_NOWRITE, ncid) 776 779 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 780 786 ENDIF 781 787
Note: See TracChangeset
for help on using the changeset viewer.