Changeset 2311 for LMDZ5/trunk/libf/phylmd/limit_netcdf.F90
- Timestamp:
- Jun 25, 2015, 9:45:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/limit_netcdf.F90
r2302 r2311 29 29 USE netcdf95, ONLY: nf95_def_var, nf95_put_att, nf95_put_var 30 30 USE grid_atob_m, ONLY: grille_m, rugosite, sea_ice 31 USE print_control_mod, ONLY: prt_level,lunout 31 32 IMPLICIT NONE 32 33 !------------------------------------------------------------------------------- … … 34 35 include "dimensions.h" 35 36 include "paramet.h" 36 include "iniprint.h"37 37 LOGICAL, INTENT(IN) :: interbar ! barycentric interpolation 38 38 LOGICAL, INTENT(IN) :: extrap ! SST extrapolation flag … … 104 104 WRITE(lunout,*) 'One of following files must be available : ' 105 105 DO k=1,SIZE(fsic); WRITE(lunout,*) TRIM(fsic(k)); END DO 106 CALL abort_ gcm('limit_netcdf','No sea-ice file was found',1)106 CALL abort_physic('limit_netcdf','No sea-ice file was found',1) 107 107 END IF 108 108 CALL ncerr(NF90_CLOSE(nid),icefile) … … 163 163 WRITE(lunout,*) 'One of following files must be available : ' 164 164 DO k=1,SIZE(fsst); WRITE(lunout,*) TRIM(fsst(k)); END DO 165 CALL abort_ gcm('limit_netcdf','No sst file was found',1)165 CALL abort_physic('limit_netcdf','No sst file was found',1) 166 166 END IF 167 167 CALL ncerr(NF90_CLOSE(nid),sstfile) … … 277 277 include "paramet.h" 278 278 include "comgeom2.h" 279 include "iniprint.h"280 279 !----------------------------------------------------------------------------- 281 280 ! Arguments: … … 574 573 WRITE(mess,'(a,i3,a,i3,a)')'Unconsistent calendar: ',nd,' days/year, but ',& 575 574 nm,' months/year. Months number should divide days number.' 576 CALL abort_ gcm('mid_months',TRIM(mess),1)575 CALL abort_physic('mid_months',TRIM(mess),1) 577 576 578 577 ELSE … … 626 625 !------------------------------------------------------------------------------- 627 626 USE netcdf, ONLY : NF90_NOERR, NF90_STRERROR 627 USE print_control_mod, ONLY: lunout 628 628 IMPLICIT NONE 629 629 !------------------------------------------------------------------------------- … … 632 632 CHARACTER(LEN=*), INTENT(IN) :: fnam 633 633 !------------------------------------------------------------------------------- 634 #include "iniprint.h"635 634 IF(ncres/=NF90_NOERR) THEN 636 635 WRITE(lunout,*)'Problem with file '//TRIM(fnam)//' in routine limit_netcdf.' 637 CALL abort_ gcm('limit_netcdf',NF90_STRERROR(ncres),1)636 CALL abort_physic('limit_netcdf',NF90_STRERROR(ncres),1) 638 637 END IF 639 638
Note: See TracChangeset
for help on using the changeset viewer.