Changeset 73 for trunk/mesoscale/LMD_MM_MARS/SRC/PREP_MARS
- Timestamp:
- Feb 20, 2011, 12:20:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_MM_MARS/SRC/PREP_MARS/readmeteo.F90
r72 r73 74 74 !! Intermediate data arrays 75 75 integer :: k,l,m,n,p 76 real, dimension(:), allocatable :: lat,lon,time,alt,aps,bps,levels, dsoilvert76 real, dimension(:), allocatable :: lat,lon,time,alt,aps,bps,levels,vertdsoil 77 77 real, dimension(:,:), allocatable :: vide,ones,ghtsfile 78 78 real, dimension(:,:), allocatable :: interm … … 207 207 allocate(dsoilfile(lonlen,latlen,altlen,timelen)) 208 208 allocate(isoilfile(lonlen,latlen,altlen,timelen)) 209 allocate( dsoilvert(altlen))209 allocate(vertdsoil(altlen)) 210 210 !allocate(tfileorig(lonlen,latlen,altlen,timelen)) 211 211 allocate(ufile(lonlen,latlen,altlen,timelen)) … … 240 240 isoilfile(:,:,:,:)=0 241 241 dsoilfile(:,:,:,:)=0 242 dsoilvert(:)=0.242 vertdsoil(:)=0. 243 243 !tfileorig(:,:,:,:)=0 244 244 !ufileorig(:,:,:,:)=0 … … 591 591 592 592 print *,'Surface Water ice' 593 ierr=NF_INQ_VARID(nid,"qsurf01",nvarid) 593 !!!!!! ATTENTION ATTENTION 594 !!!!!! water ice a la surface est qsurf(ig,nqmx) 595 ierr=NF_INQ_VARID(nid,"qsurf02",nvarid) 594 596 if (ierr.ne.NF_NOERR) then 595 write(*,*) "...No qsurf0 1- surface Water ice set to 0"597 write(*,*) "...No qsurf02 - surface Water ice set to 0" 596 598 swatericefile(:,:,:)=0. 597 599 else … … 648 650 write(*,*) "...No soildepth - Set to -999" !!! see soil_settings in LMD physics 649 651 DO l=1,altlen 650 dsoilvert(l)=-999.652 vertdsoil(l)=-999. 651 653 ENDDO 652 654 else 653 ierr=NF_GET_VAR_REAL(nid,nvarid, dsoilvert)655 ierr=NF_GET_VAR_REAL(nid,nvarid,vertdsoil) 654 656 endif 655 657 print *, 'wait a minute' !! AS: I know this could be better … … 657 659 DO n=1,latlen 658 660 DO p=1,timelen 659 dsoilfile(m,n,:,p) = dsoilvert(:)661 dsoilfile(m,n,:,p) = vertdsoil(:) 660 662 ENDDO 661 663 ENDDO … … 1050 1052 !------------------------! 1051 1053 FIELD='SM100200' 1052 UNITS='kg/ kg'1054 UNITS='kg/m2' 1053 1055 DESC='Surf water ice' 1054 1056 XLVL=200100. … … 1470 1472 deallocate(isoilfile) 1471 1473 deallocate(dsoilfile) 1472 !deallocate(dsoilvert)1473 1474 !deallocate(tfileorig) 1474 1475 deallocate(ufile)
Note: See TracChangeset
for help on using the changeset viewer.