Ignore:
Timestamp:
Jan 31, 2023, 9:52:30 PM (22 months ago)
Author:
romain.vande
Message:

Mars PCM:
Move a endif misplaced
RV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/read_data_GCM.F90

    r2855 r2885  
    6969  REAL, ALLOCATABLE ::  co2_ice_s(:,:,:)                               ! co2 ice, mesh averaged, of the concatenated file [kg/m^2]
    7070  REAL, ALLOCATABLE ::  h2o_ice_s_slope(:,:,:,:)                       ! h2o ice per slope of the concatenated file [kg/m^2]
     71  REAL, ALLOCATABLE :: watercap_slope(:,:,:,:)
    7172
    7273!-----------------------------------------------------------------------
     
    8081      allocate(co2_ice_s(iim+1,jjm+1,timelen))
    8182      allocate(h2o_ice_s_slope(iim+1,jjm+1,nslope,timelen))
     83      allocate(watercap_slope(iim_input+1,jjm_input+1,nslope,timelen))
    8284      allocate(h2o_ice_s(iim+1,jjm+1,timelen))
    8385
     
    133135
    134136     print *, "Downloading data for h2o_ice_s_slope done"
     137     print *, "Downloading data for watercap_slope ..."
     138
     139DO islope=1,nslope
     140  write(num,fmt='(i2.2)') islope
     141  call get_var3("watercap_slope"//num,watercap_slope(:,:,islope,:))
     142ENDDO
     143
     144     print *, "Downloading data for watercap_slope done"
    135145     print *, "Downloading data for tsurf_slope ..."
    136146
     
    198208
    199209  print *, "Computing the min of h2o_ice_slope"
    200   min_h2o_ice_slope(:,:,:)=minval(h2o_ice_s_slope,4)
     210  min_h2o_ice_slope(:,:,:)=minval(h2o_ice_s_slope+watercap_slope,4)
    201211  print *, "Computing the min of co2_ice_slope"
    202212  min_co2_ice_slope(:,:,:)=minval(co2_ice_slope,4)
     
    225235            min_co2_ice_slope(i,j,islope)  = 0.
    226236          endif
    227           if (min_h2o_ice_slope(i,j,islope).LT.0) then
    228             min_h2o_ice_slope(i,j,islope)  = 0.
    229           endif
     237!          if (min_h2o_ice_slope(i,j,islope).LT.0) then
     238!            min_h2o_ice_slope(i,j,islope)  = 0.
     239!          endif
    230240       ENDDO
    231241    ENDDO
Note: See TracChangeset for help on using the changeset viewer.