Changeset 2666 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Oct 13, 2016, 10:30:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/limit_read_mod.F90
r2665 r2666 237 237 ierr=NF90_INQUIRE(nid, UnlimitedDimID=ndimid) 238 238 ierr=NF90_INQUIRE_DIMENSION(nid, ndimid, len=nn) 239 WRITE(str,'(i)')nn; str=ADJUSTL(str)239 str=""; DO WHILE(nn>0); str=TRIM(str)//CHAR(nn-10*(nn/10)-48); nn=nn/10; END DO 240 240 abort_message='limit.nc records number ('//TRIM(str)//') does'//& 241 241 ' not match year length (' 242 WRITE(str,'(i)')year_len; str=ADJUSTL(str) 242 nn=year_len 243 str=""; DO WHILE(nn>0); str=TRIM(str)//CHAR(nn-10*(nn/10)-48); nn=nn/10; END DO 243 244 abort_message=TRIM(abort_message)//TRIM(str)//')' 244 245 IF(nn/=year_len) CALL abort_physic(modname,abort_message,1) … … 247 248 ierr=NF90_INQ_DIMID(nid, 'points_physiques', ndimid) 248 249 ierr=NF90_INQUIRE_DIMENSION(nid, ndimid, len=nn) 249 WRITE(str,'(i)')nn; str=ADJUSTL(str)250 str=""; DO WHILE(nn>0); str=TRIM(str)//CHAR(nn-10*(nn/10)-48); nn=nn/10; END DO 250 251 abort_message='limit.nc horizontal number of cells ('//TRIM(str)//') does'//& 251 252 ' not match LMDZ klon_glo (' 252 WRITE(str,'(i)')klon_glo; str=ADJUSTL(str) 253 nn=klon_glo 254 str=""; DO WHILE(nn>0); str=TRIM(str)//CHAR(nn-10*(nn/10)-48); nn=nn/10; END DO 253 255 abort_message=TRIM(abort_message)//TRIM(str)//')' 254 256 IF(nn/=klon_glo) CALL abort_physic(modname,abort_message,1)
Note: See TracChangeset
for help on using the changeset viewer.