Changeset 773 for LMDZ4/trunk/libf/dyn3d/grid_noro.F
- Timestamp:
- Jun 5, 2007, 2:54:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3d/grid_noro.F
r698 r773 83 83 REAL zsig(imar+1,jmar),zgam(imar+1,jmar),zthe(imar+1,jmar) 84 84 REAL zpic(imar+1,jmar),zval(imar+1,jmar) 85 c $$$ PB integer mask(imar+1,jmar)85 cx$$ PB integer mask(imar+1,jmar) 86 86 real mask(imar+1,jmar), mask_tmp(imar+1,jmar) 87 87 real num_tot(2200,1100),num_lan(2200,1100) … … 274 274 IF (weight(ii,jj) .NE. 0.0) THEN 275 275 c Mask 276 c $$$ if(num_lan(ii,jj)/num_tot(ii,jj).ge.0.5)then277 c $$$ mask(ii,jj)=1278 c $$$ else279 c $$$ mask(ii,jj)=0280 c $$$ ENDIF276 cx$$ if(num_lan(ii,jj)/num_tot(ii,jj).ge.0.5)then 277 cx$$ mask(ii,jj)=1 278 cx$$ else 279 cx$$ mask(ii,jj)=0 280 cx$$ ENDIF 281 281 if (.not. masque_lu) then 282 282 mask(ii,jj) = num_lan(ii,jj)/num_tot(ii,jj) … … 319 319 CALL MVA9(zxtzy,iim+1,jjm+1) 320 320 CALL MVA9(zytzy,iim+1,jjm+1) 321 C $$$ Masque prenant en compte maximum de terre322 C $$$ On seuil a 10% de terre de terre car en dessous les parametres de surface n'on323 C $$$ pas de sens (PB)321 Cx$$ Masque prenant en compte maximum de terre 322 Cx$$ On seuil a 10% de terre de terre car en dessous les parametres de surface n'on 323 Cx$$ pas de sens (PB) 324 324 mask_tmp= 0.0 325 325 WHERE(mask .GE. 0.1) mask_tmp = 1. … … 339 339 if(abs(xm).le.xw) xm=xw*sign(1.,xm) 340 340 c slope: 341 c $$$ zsig(ii,jj)=sqrt(xq)*mask(ii,jj)342 c $$$c isotropy:343 c $$$ zgam(ii,jj)=xp/xq*mask(ii,jj)344 c $$$c angle theta:345 c $$$ zthe(ii,jj)=57.29577951*atan2(xm,xl)/2.*mask(ii,jj)346 c $$$ zphi(ii,jj)=zmea(ii,jj)*mask(ii,jj)347 c $$$ zmea(ii,jj)=zmea(ii,jj)*mask(ii,jj)348 c $$$ zpic(ii,jj)=zpic(ii,jj)*mask(ii,jj)349 c $$$ zval(ii,jj)=zval(ii,jj)*mask(ii,jj)350 c $$$ zstd(ii,jj)=zstd(ii,jj)*mask(ii,jj)351 C $$* PB modif pour maque de terre fractionnaire341 cx$$ zsig(ii,jj)=sqrt(xq)*mask(ii,jj) 342 cx$$c isotropy: 343 cx$$ zgam(ii,jj)=xp/xq*mask(ii,jj) 344 cx$$c angle theta: 345 cx$$ zthe(ii,jj)=57.29577951*atan2(xm,xl)/2.*mask(ii,jj) 346 cx$$ zphi(ii,jj)=zmea(ii,jj)*mask(ii,jj) 347 cx$$ zmea(ii,jj)=zmea(ii,jj)*mask(ii,jj) 348 cx$$ zpic(ii,jj)=zpic(ii,jj)*mask(ii,jj) 349 cx$$ zval(ii,jj)=zval(ii,jj)*mask(ii,jj) 350 cx$$ zstd(ii,jj)=zstd(ii,jj)*mask(ii,jj) 351 Cx$* PB modif pour maque de terre fractionnaire 352 352 c slope: 353 353 zsig(ii,jj)=sqrt(xq)*mask_tmp(ii,jj) … … 458 458 C MAKE A MOVING AVERAGE OVER 9 GRIDPOINTS OF THE X FIELDS 459 459 460 PARAMETER (ISMo= 300,JSMo=200)460 PARAMETER (ISMo=400,JSMo=200) 461 461 REAL X(IMAR,JMAR),XF(ISMo,JSMo) 462 462 real WEIGHTpb(-1:1,-1:1)
Note: See TracChangeset
for help on using the changeset viewer.