Changeset 1638 for trunk/LMDZ.COMMON/libf/dynphy_lonlat
- Timestamp:
- Dec 6, 2016, 11:45:04 AM (8 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dynphy_lonlat/phyvenus
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dynphy_lonlat/phyvenus/grid_noro.F
r1636 r1638 52 52 C======================================================================= 53 53 54 use mod_grid_phy_lmdz, only: nbp_lon, nbp_lat55 54 IMPLICIT none 56 55 … … 79 78 C INTERMEDIATE FIELDS (CORRELATIONS OF OROGRAPHY GRADIENT) 80 79 81 REAL ztz( nbp_lon+1,nbp_lat),zxtzx(nbp_lon+1,nbp_lat)82 REAL zytzy( nbp_lon+1,nbp_lat),zxtzy(nbp_lon+1,nbp_lat)83 REAL weight( nbp_lon+1,nbp_lat)80 REAL ztz(imar+1,jmar),zxtzx(imar+1,jmar) 81 REAL zytzy(imar+1,jmar),zxtzy(imar+1,jmar) 82 REAL weight(imar+1,jmar) 84 83 85 84 C CORRELATIONS OF USN OROGRAPHY GRADIENTS … … 107 106 c 108 107 c 109 if(nbp_lon.ne.imar) STOP 'Problem dim. x'110 if(nbp_lat-1.ne.jmar-1) STOP 'Problem dim. y'111 108 IF (imar.GT.2200 .OR. jmar.GT.1100) THEN 112 109 PRINT*, 'imar or jmar too big', imar, jmar 113 110 CALL ABORT 114 111 ENDIF 115 116 IF(imar+1.ne.nbp_lon+1.or.jmar.ne.nbp_lat)THEN117 print *,' imar or jmar bad dimensions:',imar,jmar118 call abort119 ENDIF120 121 112 122 113 c print *,'xdata:',xdata … … 297 288 C FIRST FILTER, MOVING AVERAGE OVER 9 POINTS. 298 289 299 CALL MVA9(zmea, nbp_lon+1,nbp_lat)300 CALL MVA9(zstd, nbp_lon+1,nbp_lat)301 CALL MVA9(zpic, nbp_lon+1,nbp_lat)302 CALL MVA9(zval, nbp_lon+1,nbp_lat)303 CALL MVA9(zxtzx, nbp_lon+1,nbp_lat)304 CALL MVA9(zxtzy, nbp_lon+1,nbp_lat)305 CALL MVA9(zytzy, nbp_lon+1,nbp_lat)290 CALL MVA9(zmea,imar+1,jmar) 291 CALL MVA9(zstd,imar+1,jmar) 292 CALL MVA9(zpic,imar+1,jmar) 293 CALL MVA9(zval,imar+1,jmar) 294 CALL MVA9(zxtzx,imar+1,jmar) 295 CALL MVA9(zxtzy,imar+1,jmar) 296 CALL MVA9(zytzy,imar+1,jmar) 306 297 307 298 DO ii = 1, imar -
trunk/LMDZ.COMMON/libf/dynphy_lonlat/phyvenus/startvar.F90
r1523 r1638 428 428 IF(check) WRITE(lunout,*)'Compute surface roughness induced by the orography' 429 429 ALLOCATE(rugo (iml ,jml)) 430 ALLOCATE(tmp_var(iml-1,jml))431 430 CALL rugsoro(lon_rad, lat_rad, relief_hi, & 432 lon_in, lat_in, tmp_var) 433 rugo(1:iml-1,:)=tmp_var; rugo(iml,:)=tmp_var(1,:) 434 DEALLOCATE(relief_hi,tmp_var,lon_rad,lat_rad) 431 lon_in, lat_in, rugo) 432 DEALLOCATE(relief_hi,lon_rad,lat_rad) 435 433 RETURN 436 434
Note: See TracChangeset
for help on using the changeset viewer.