Changeset 3301
- Timestamp:
- Apr 15, 2024, 5:27:36 PM (8 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3292 r3301 4599 4599 wind stress and dust devils. Renamed "dustlift" routine "dust_windstress_lift" 4600 4600 and made it a module; also made dustdevil a module. 4601 4602 == 15/04/2024 == JBC 4603 Modification of "subslope_mola.F90" to take into account other longitude resolution than 64. It makes "newstart" be able to change the number of sub-slopes for low resolution. -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/subslope_mola.F90
r2910 r3301 19 19 20 20 double precision :: resol 21 parameter(resol = 64)21 parameter(resol = real(iim)) 22 22 integer :: jjm_mola, iim_mola 23 23 parameter(jjm_mola=180*resol, iim_mola=2*jjm_mola) … … 60 60 !-------------Building of theta_mola and psi_mola 61 61 ! Assume that the mola file is to ben found in "datadir" 62 CALL mola(trim(datadir)//"/", &62 CALL mola(trim(datadir)//"/",iim, & 63 63 ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola) 64 64 … … 111 111 !========================================================================================== 112 112 113 SUBROUTINE mola(dset,i err,theta_mola,psi_mola,resol,iim_mola,jjm_mola)113 SUBROUTINE mola(dset,iim,ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola) 114 114 115 115 … … 124 124 logical output_messages 125 125 parameter (output_messages=.true.) 126 double precision resol 127 !c parameter(resol=16) ! MOLA pixel/degree resolution 128 129 130 integer jjm_mola, iim_mola ! # of longitude and latitude MOLA data values 126 double precision resol ! MOLA pixel/degree resolution 127 integer jjm_mola, iim_mola ! # of longitude and latitude MOLA data values 131 128 132 129 ! Arguments 133 130 ! inputs 134 131 character*(*) dset ! Path to MCD datafiles 132 integer :: iim 135 133 136 134 ! outputs … … 143 141 144 142 ! Local variables 145 146 143 real latitude ! north latitude (degrees)m 147 144 real longitude ! east longitude (degrees) 148 character*140 molafile ! MOLA datafile 149 ! data molafile/'mola_32.2.nc'/ 150 !c data molafile/'mola16.nc'/ 151 !c data molafile/'mola32.nc'/ 145 character*140 molafile ! MOLA datafile 152 146 !c real invresol 153 147 !c parameter(invresol=1./resol) … … 168 162 double precision lat,lon ! longitude and latitude, local values (in degrees) 169 163 real topogrid(iim_mola,jjm_mola) ! altmola in 'real' version 164 character(2) :: iim_char 170 165 171 166 172 167 !C 1.1. Open MOLA file 173 molafile=dset//'mola64.nc' 168 write(iim_char,'(i2)') iim 169 molafile = dset//'mola'//iim_char//'.nc' 174 170 if (output_messages) then 175 171 write(*,*)"Loading MOLA topography from file ", & -
trunk/LMDZ.MARS/libf/phymars/dyn1d/init_testphys1d_mod.F90
r3272 r3301 129 129 omeg = 4.*asin(1.)/daysec ! rotation rate (rad.s-1) 130 130 g = 3.72 ! gravity (m.s-2) ~3.72 131 mugaz = 43.49 ! atmosphere mola mass (g.mol-1) ~43.49131 mugaz = 43.49 ! atmosphere molar mass (g.mol-1) ~43.49 132 132 rcp = .256793 ! = r/cp ~0.256793 133 133 r = 8.314511*1000./mugaz
Note: See TracChangeset
for help on using the changeset viewer.