Changeset 3303 for trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Timestamp:
- Apr 16, 2024, 1:59:23 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/subslope_mola.F90
r3302 r3303 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)//"/", iim,&62 CALL mola(trim(datadir)//"/",& 63 63 ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola) 64 64 … … 111 111 !========================================================================================== 112 112 113 SUBROUTINE mola(dset,i im,ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola)113 SUBROUTINE mola(dset,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 ! MOLA pixel/degree resolution 127 integer jjm_mola, iim_mola ! # of longitude and latitude MOLA data values 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 128 131 129 132 ! Arguments 130 133 ! inputs 131 134 character*(*) dset ! Path to MCD datafiles 132 integer :: iim133 135 134 136 ! outputs … … 141 143 142 144 ! Local variables 145 143 146 real latitude ! north latitude (degrees)m 144 147 real longitude ! east longitude (degrees) 145 character*140 molafile ! MOLA datafile 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'/ 146 152 !c real invresol 147 153 !c parameter(invresol=1./resol) … … 162 168 double precision lat,lon ! longitude and latitude, local values (in degrees) 163 169 real topogrid(iim_mola,jjm_mola) ! altmola in 'real' version 164 character(2) :: iim_char165 170 166 171 167 172 !C 1.1. Open MOLA file 168 write(iim_char,'(i2)') iim 169 molafile = dset//'mola'//iim_char//'.nc' 173 molafile=dset//'mola64.nc' 170 174 if (output_messages) then 171 175 write(*,*)"Loading MOLA topography from file ", & … … 574 578 575 579 END MODULE subslope_mola_mod 580
Note: See TracChangeset
for help on using the changeset viewer.