Ignore:
Timestamp:
Sep 26, 2023, 3:57:38 PM (14 months ago)
Author:
jbclement
Message:

Mars PEM:
Minor changes concerning the form of the code in the PEM.
JBC

File:
1 edited

Legend:

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

    r2985 r3050  
    8080      B=1/m_noco2
    8181
    82   print *, "Opening ", fichnom, "..."
     82  write(*,*) "Opening ", fichnom, "..."
    8383
    8484!  Open initial state NetCDF file
     
    8686  CALL err(NF90_OPEN(var,NF90_NOWRITE,fID),"open",var)
    8787
    88      print *, "Downloading data for vmr co2..."
     88     write(*,*) "Downloading data for vmr co2..."
    8989
    9090  CALL get_var3("co2_layer1"   ,q_co2_dyn)
    9191
    92      print *, "Downloading data for vmr co2 done"
    93      print *, "Downloading data for vmr h20..."
     92     write(*,*) "Downloading data for vmr co2 done"
     93     write(*,*) "Downloading data for vmr h20..."
    9494
    9595  CALL get_var3("h2o_layer1"   ,q_h2o_dyn)
    9696
    97      print *, "Downloading data for vmr h2o done"
    98      print *, "Downloading data for surface pressure ..."
     97     write(*,*) "Downloading data for vmr h2o done"
     98     write(*,*) "Downloading data for surface pressure ..."
    9999
    100100  CALL get_var3("ps"   ,ps_GCM)
    101101
    102      print *, "Downloading data for surface pressure done"
    103      print *, "nslope=", nslope
     102     write(*,*) "Downloading data for surface pressure done"
     103     write(*,*) "nslope=", nslope
    104104
    105105if(nslope.gt.1) then
    106106
    107      print *, "Downloading data for co2ice_slope ..."
     107     write(*,*) "Downloading data for co2ice_slope ..."
    108108
    109109DO islope=1,nslope
     
    112112ENDDO
    113113
    114      print *, "Downloading data for co2ice_slope done"
    115      print *, "Downloading data for h2o_ice_s_slope ..."
     114     write(*,*) "Downloading data for co2ice_slope done"
     115     write(*,*) "Downloading data for h2o_ice_s_slope ..."
    116116
    117117DO islope=1,nslope
     
    120120ENDDO
    121121
    122      print *, "Downloading data for h2o_ice_s_slope done"
     122     write(*,*) "Downloading data for h2o_ice_s_slope done"
    123123
    124124#ifndef CPP_STD
    125125
    126      print *, "Downloading data for watercap_slope ..."
     126     write(*,*) "Downloading data for watercap_slope ..."
    127127DO islope=1,nslope
    128128       write(num,fmt='(i2.2)') islope
     
    130130!        watercap_slope(:,:,:,:)= 0.
    131131ENDDO           
    132      print *, "Downloading data for watercap_slope done"
     132     write(*,*) "Downloading data for watercap_slope done"
    133133
    134134#endif
    135135   
    136  print *, "Downloading data for tsurf_slope ..."
     136 write(*,*) "Downloading data for tsurf_slope ..."
    137137
    138138DO islope=1,nslope
     
    141141ENDDO
    142142
    143      print *, "Downloading data for tsurf_slope done"
     143     write(*,*) "Downloading data for tsurf_slope done"
    144144
    145145#ifndef CPP_STD
     
    147147     if(soil_pem) then
    148148
    149      print *, "Downloading data for soiltemp_slope ..."
     149     write(*,*) "Downloading data for soiltemp_slope ..."
    150150
    151151DO islope=1,nslope
     
    154154ENDDO
    155155
    156      print *, "Downloading data for soiltemp_slope done"
    157 
    158      print *, "Downloading data for watersoil_density ..."
     156     write(*,*) "Downloading data for soiltemp_slope done"
     157
     158     write(*,*) "Downloading data for watersoil_density ..."
    159159
    160160DO islope=1,nslope
     
    163163ENDDO
    164164
    165      print *, "Downloading data for  watersoil_density  done"
    166 
    167      print *, "Downloading data for  watersurf_density  ..."
     165     write(*,*) "Downloading data for  watersoil_density  done"
     166
     167     write(*,*) "Downloading data for  watersurf_density  ..."
    168168
    169169DO islope=1,nslope
     
    172172ENDDO
    173173
    174      print *, "Downloading data for  watersurf_density  done"
     174     write(*,*) "Downloading data for  watersurf_density  done"
    175175
    176176  endif !soil_pem
     
    196196
    197197! Compute the minimum over the year for each point
    198   print *, "Computing the min of h2o_ice_slope"
     198  write(*,*) "Computing the min of h2o_ice_slope"
    199199  min_h2o_ice_dyn(:,:,:)=minval(h2o_ice_s_dyn+watercap_slope,4)
    200   print *, "Computing the min of co2_ice_slope"
     200  write(*,*) "Computing the min of co2_ice_slope"
    201201  min_co2_ice_dyn(:,:,:)=minval(co2_ice_slope_dyn,4)
    202202
    203203!Compute averages
    204204
    205     print *, "Computing average of tsurf"
     205    write(*,*) "Computing average of tsurf"
    206206    tsurf_ave_dyn(:,:,:)=SUM(tsurf_gcm_dyn(:,:,:,:),4)/timelen
    207207
     
    215215
    216216  if(soil_pem) then
    217     print *, "Computing average of tsoil"
     217    write(*,*) "Computing average of tsoil"
    218218    tsoil_ave_dyn(:,:,:,:)=SUM(tsoil_gcm_dyn(:,:,:,:,:),5)/timelen
    219     print *, "Computing average of watersurf_density"
     219    write(*,*) "Computing average of watersurf_density"
    220220    watersurf_density_ave(:,:) = SUM(watersurf_density(:,:,:),3)/timelen
    221221  endif
Note: See TracChangeset for help on using the changeset viewer.