Changeset 321 for trunk/LMDZ.MARS/libf/dyn3d
- Timestamp:
- Oct 21, 2011, 10:20:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dyn3d/newstart.F
r224 r321 347 347 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,aire,airefi) 348 348 349 ! also initialize various physics flags/settings which might be needed 350 ! (for instance initracer needs to know about some flags, and/or 351 ! 'datafile' path may be changed by user) 352 call inifis(ngridmx,llm,day_ini,daysec,dtphys, 353 & latfi,lonfi,airefi,rad,g,r,cpp) 354 349 355 c======================================================================= 350 356 c lecture topographie, albedo, inertie thermique, relief sous-maille … … 361 367 relief="mola" 362 368 c enddo 363 364 ! before using datareadnc, "datafile" must be set (normaly done in inifis)365 datafile="/u/forget/WWW/datagcm/datafile" ! default value366 call getin("datadir",datafile) ! in case user specified another path367 369 368 370 CALL datareadnc(relief,phis,alb,surfith,z0S, … … 457 459 tnom(1:nqmx)=noms(1:nqmx) 458 460 write(*,*) 'Newstart: updated tracer names' 461 else 462 ! initialize tracer names and indexes (igcm_co2, igcm_h2o_vap, ...) 463 call initracer(qsurf,co2ice) 459 464 endif 460 465 … … 883 888 DO l=1,llm 884 889 DO j=1,jjp1 885 DO i=1,iip1 890 DO i=1,iip1-1 886 891 q(i,j,l,igcm_h2o_vap)=150.e-6 * (rlatu(j)+pi/2.) / pi 887 892 ENDDO 893 ! We want to have the very same value at lon -180 and lon 180 894 q(iip1,j,l,igcm_h2o_vap) = q(1,j,l,igcm_h2o_vap) 888 895 ENDDO 889 896 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.