Changeset 3303 for trunk


Ignore:
Timestamp:
Apr 16, 2024, 1:59:23 PM (7 months ago)
Author:
jbclement
Message:

Mars PCM:
Revert "subslope_mola.F90" to the version before r3301. The modification was a mistake.
JBC

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3302 r3303  
    46054605== 15/04/2024 == JBC
    46064606Correction related to r3301: the variable 'resol' was not linked to longitude resolution.
     4607
     4608== 16/04/2024 == JBC
     4609Revert "subslope_mola.F90" to the version before r3301. The modification was a mistake.
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/subslope_mola.F90

    r3302 r3303  
    6060!-------------Building of theta_mola and psi_mola
    6161      ! Assume that the mola file is to ben found in "datadir"
    62       CALL mola(trim(datadir)//"/",iim, &
     62      CALL mola(trim(datadir)//"/",&
    6363                ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola)
    6464
     
    111111!==========================================================================================
    112112
    113  SUBROUTINE mola(dset,iim,ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola)
     113 SUBROUTINE mola(dset,ierr,theta_mola,psi_mola,resol,iim_mola,jjm_mola)
    114114
    115115
     
    124124logical output_messages
    125125      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
    128131
    129132! Arguments
    130133! inputs
    131134      character*(*) dset ! Path to MCD datafiles
    132       integer :: iim
    133135
    134136! outputs
     
    141143
    142144! Local variables
     145
    143146      real latitude  ! north latitude (degrees)m
    144147      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'/
    146152!c      real invresol
    147153!c      parameter(invresol=1./resol)
     
    162168      double precision lat,lon ! longitude and latitude, local values (in degrees)
    163169      real topogrid(iim_mola,jjm_mola) ! altmola in 'real' version
    164       character(2) :: iim_char
    165170
    166171
    167172!C 1.1. Open MOLA file
    168          write(iim_char,'(i2)') iim
    169          molafile = dset//'mola'//iim_char//'.nc'
     173         molafile=dset//'mola64.nc'
    170174         if (output_messages) then
    171175           write(*,*)"Loading MOLA topography from file ", &
     
    574578
    575579END MODULE subslope_mola_mod
     580
Note: See TracChangeset for help on using the changeset viewer.