Changeset 1403 for trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars
- Timestamp:
- Mar 31, 2015, 3:49:07 PM (10 years ago)
- Location:
- trunk/LMDZ.MARS/libf/dynlonlat_phylonlat
- Files:
-
- 6 added
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/datareadnc.F
r1401 r1403 228 228 if (k.eq.4) then 229 229 230 call multscal(imd*jmdp1,zdata,1000.,zdata)231 call multscal(imd,longitude,pi/180.,longitude)232 call multscal(jmdp1,latitude,pi/180.,latitude)230 zdata(:)=1000.*zdata(:) 231 longitude(:)=(pi/180.)*longitude(:) 232 latitude(:)=(pi/180.)*latitude(:) 233 233 234 234 call grid_noro1(360, 180, longitude, latitude, zdata, … … 299 299 c----------------------------------------------------------------------- 300 300 301 DO i=1,iimp1*jjp1 302 phisinit(i)=1000.*phisinit(i) 303 ENDDO 301 phisinit(1:iimp1*jjp1)=1000.*phisinit(1:iimp1*jjp1) 304 302 CALL dump2d(iimp1,jjp1,phisinit,'Altitude in m') 305 CALL multscal(iimp1*jjp1,phisinit,g,phisinit)303 phisinit(:)=g*phisinit(:) 306 304 307 305 c----------------------------------------------------------------------- -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F
r1401 r1403 34 34 use turb_mod, only: q2 35 35 use comgeomfi_h, only: ini_fillgeom 36 36 use filtreg_mod, only: inifilr 37 37 38 38 implicit none … … 137 137 integer flagthermo, flagh2o 138 138 character modif*20 139 real z_reel(iip1,jjp1)140 139 real tsud,albsud,alb_bb,ith_bb,Tiso 141 140 real ptoto,pcap,patm,airetot,ptotn,patmn … … 545 544 if (trim(modif) .eq. 'flat') then 546 545 c set topo to zero 547 CALL initial0(ip1jmp1,z_reel) 548 CALL multscal(ip1jmp1,z_reel,g,phis) 546 phis(:,:)=0 549 547 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,phis,phisfi) 550 548 write(*,*) 'topography set to zero.' -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/start2archive.F
r1401 r1403 24 24 use comsoil_h, only: ini_comsoil_h 25 25 use comgeomphy, only: initcomgeomphy 26 use filtreg_mod, only: inifilr 26 27 implicit none 27 28 -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/xvik.F
r1401 r1403 1 1 PROGRAM xvik 2 3 USE filtreg_mod, ONLY: inifilr 4 2 5 IMPLICIT NONE 3 6 c======================================================================= … … 77 80 78 81 EXTERNAL iniconst,inigeom,covcont,mywrite 79 EXTERNAL inifilr,exner,pbar82 EXTERNAL exner,pbar 80 83 EXTERNAL solarlong,coordij,moy2 81 84 EXTERNAL SSUM 82 85 REAL SSUM 83 EXTERNAL lnblnk84 INTEGER lnblnk85 86 86 87 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc … … 157 158 158 159 firstcal=.true. 159 DO WHILE(l nblnk(nomfich).GT.0.AND.lnblnk(nomfich).LT.50)160 DO WHILE(len_trim(nomfich).GT.0.AND.len_trim(nomfich).LT.50) 160 161 PRINT *,'>>> nomfich : ',trim(nomfich) 161 162 162 163 c%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 163 164 164 file=pathchmp(1:l nblnk(pathchmp))//'/'//165 s nomfich(1:l nblnk(nomfich))166 PRINT*,'file.nc: ', file(1:l nblnk(file))//'.nc'165 file=pathchmp(1:len_trim(pathchmp))//'/'// 166 s nomfich(1:len_trim(nomfich)) 167 PRINT*,'file.nc: ', file(1:len_trim(file))//'.nc' 167 168 PRINT*,'timestep ',dtvr 168 169 169 170 IF(nc) THEN 170 ierr= NF_OPEN(file(1:l nblnk(file))//'.nc',NF_NOWRITE,nid)171 ierr= NF_OPEN(file(1:len_trim(file))//'.nc',NF_NOWRITE,nid) 171 172 ELSE 172 173 PRINT*,'Ouverture binaire ',file … … 179 180 c ------------------------------ 180 181 181 CALL readhead_NC(file(1:l nblnk(file))//'.nc',day0,phis,constR)182 CALL readhead_NC(file(1:len_trim(file))//'.nc',day0,phis,constR) 182 183 183 184 WRITE (*,*) 'day0 = ' , day0
Note: See TracChangeset
for help on using the changeset viewer.