Changeset 996 for trunk/LMDZ.GENERIC
- Timestamp:
- Jun 21, 2013, 1:54:50 AM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r994 r996 975 975 - removed obsolete addit.F (and change corresponding lines in gcm) 976 976 - remove unused "description.h" (and many places where it was "included") 977 978 == 21/06/2013 == AS 979 - Added possibility to initialize temperature from a rcm1d profile (t=profile) 980 - Added output for Ls in diagfi -
trunk/LMDZ.GENERIC/libf/phystd/newstart.F
r993 r996 540 540 write(*,*) 'coldspole : cold subsurface and high albedo at S.pole' 541 541 write(*,*) 'qname : change tracer name' 542 write(*,*) 't=profile : read temperature profile in profile.in' 542 543 write(*,*) 'q=0 : ALL tracer =zero' 543 544 write(*,*) 'q=x : give a specific uniform value to one tracer' … … 892 893 qsurf(ig,iq)=val 893 894 ENDDO 895 896 c t=profile : initialize temperature with a given profile 897 c ------------------------------------------------------- 898 else if (trim(modif) .eq. 't=profile') then 899 write(*,*) 'Temperature profile from ASCII file' 900 write(*,*) "'profile.in' e.g. 1D output" 901 write(*,*) "(one value per line in file; starting with" 902 write(*,*) "surface value, the 1st atmospheric layer" 903 write(*,*) "followed by 2nd, etc. up to top of atmosphere)" 904 txt="profile.in" 905 open(33,file=trim(txt),status='old',form='formatted', 906 & iostat=ierr) 907 if (ierr.eq.0) then 908 ! OK, found file 'profile_...', load the profile 909 do l=1,llm+1 910 read(33,*,iostat=ierr) profile(l) 911 write(*,*) profile(l) 912 if (ierr.ne.0) then ! something went wrong 913 exit ! quit loop 914 endif 915 enddo 916 if (ierr.eq.0) then 917 tsurf(1:ngridmx)=profile(1) 918 tsoil(1:ngridmx,1:nsoilmx)=profile(1) 919 do l=1,llm 920 Tset(1:iip1,1:jjp1,l)=profile(l+1) 921 flagtset=.true. 922 enddo 923 ucov(1:iip1,1:jjp1,1:llm)=0. 924 vcov(1:iip1,1:jjm,1:llm)=0. 925 q2(1:ngridmx,1:nlayermx+1)=0. 926 else 927 write(*,*)'problem reading file ',trim(txt),' !' 928 write(*,*)'No modifications to temperature' 929 endif 930 else 931 write(*,*)'Could not find file ',trim(txt),' !' 932 write(*,*)'No modifications to temperature' 933 endif 894 934 895 935 c q=profile : initialize tracer with a given profile -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r989 r996 411 411 integer num_run 412 412 logical,save :: ice_update 413 413 414 414 !======================================================================= 415 415 … … 1548 1548 endif 1549 1549 1550 1550 1551 if (cursor == 1) then 1551 1552 print*,'--> Ls =',zls*180./pi … … 1677 1678 ! but its preferable to keep all the calls in one place... 1678 1679 1680 call writediagfi(ngrid,"Ls","solar longitude","deg",0,zls*180./pi) 1679 1681 call writediagfi(ngrid,"tsurf","Surface temperature","K",2,tsurf) 1680 1682 call writediagfi(ngrid,"ps","Surface pressure","Pa",2,ps)
Note: See TracChangeset
for help on using the changeset viewer.