Ignore:
Timestamp:
Jan 23, 2025, 4:28:27 PM (15 hours ago)
Author:
jbclement
Message:

PEM:
Few small optimizations.
JBC

File:
1 edited

Legend:

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

    r3598 r3599  
    102102        write(num,'(i2.2)') islope
    103103        call get_var3("co2ice_slope"//num,co2_ice_slope_dyn(:,:,islope,:))
    104     enddo
    105     write(*,*) "Data for co2_ice downloaded."
    106 
    107     do islope = 1,nslope
    108         write(num,'(i2.2)') islope
     104        write(*,*) "Data for co2_ice_slope"//num//" downloaded."
    109105        call get_var3("h2o_ice_s_slope"//num,h2o_ice_s_dyn(:,:,islope,:))
    110     enddo
    111     write(*,*) "Data for h2o_ice_s downloaded."
    112 
    113     do islope = 1,nslope
    114         write(num,'(i2.2)') islope
     106        write(*,*) "Data for h2o_ice_s_slope"//num//" downloaded."
    115107        call get_var3("tsurf_slope"//num,tsurf_dyn(:,:,islope,:))
    116     enddo
    117     write(*,*) "Data for tsurf downloaded."
    118 
     108        write(*,*) "Data for tsurf_slope"//num//" downloaded."
    119109#ifndef CPP_STD
    120     do islope = 1,nslope
    121         write(num,'(i2.2)') islope
    122110        call get_var3("watercap_slope"//num,watercap(:,:,islope,:))
    123     enddo
    124     write(*,*) "Data for watercap downloaded."
    125 
    126     do islope = 1,nslope
    127         write(num,'(i2.2)') islope
     111        write(*,*) "Data for watercap_slope"//num//" downloaded."
    128112        call get_var3("perennial_co2ice_slope"//num,perennial_co2ice(:,:,islope,:))
    129     enddo
    130     write(*,*) "Data for perennial_co2ice downloaded."
    131 #endif
     113        write(*,*) "Data for perennial_co2ice_slope"//num//" downloaded."
     114#endif
     115    enddo
    132116endif
    133117
     
    209193        write(num,'(i2.2)') islope
    210194        call get_var3("co2ice_slope"//num,co2_ice_slope_dyn(:,:,islope,:))
    211     enddo
    212     write(*,*) "Data for co2_ice downloaded."
    213 
    214     do islope = 1,nslope
    215         write(num,'(i2.2)') islope
     195        write(*,*) "Data for co2_ice_slope"//num//" downloaded."
    216196        call get_var3("h2o_ice_s_slope"//num,h2o_ice_s_dyn(:,:,islope,:))
    217     enddo
    218     write(*,*) "Data for h2o_ice_s downloaded."
    219 
    220     do islope = 1,nslope
    221         write(num,'(i2.2)') islope
     197        write(*,*) "Data for h2o_ice_s_slope"//num//" downloaded."
    222198        call get_var3("tsurf_slope"//num,tsurf_dyn(:,:,islope,:))
    223     enddo
    224     write(*,*) "Data for tsurf downloaded."
    225 
     199        write(*,*) "Data for tsurf_slope"//num//" downloaded."
    226200#ifndef CPP_STD
    227     do islope = 1,nslope
    228         write(num,'(i2.2)') islope
    229201        call get_var3("watercap_slope"//num,watercap(:,:,islope,:))
    230     enddo
    231     write(*,*) "Data for watercap downloaded."
    232 
    233     do islope = 1,nslope
    234         write(num,'(i2.2)') islope
     202        write(*,*) "Data for watercap_slope"//num//" downloaded."
    235203        call get_var3("perennial_co2ice_slope"//num,perennial_co2ice(:,:,islope,:))
    236     enddo
    237     write(*,*) "Data for perennial_co2ice downloaded."
    238 
    239     if (soil_pem) then
    240         do islope = 1,nslope
    241             write(num,'(i2.2)') islope
     204        write(*,*) "Data for perennial_co2ice_slope"//num//" downloaded."
     205        if (soil_pem) then
    242206            call get_var4("soiltemp_slope"//num,tsoil_dyn(:,:,:,islope,:))
    243         enddo
    244         write(*,*) "Data for soiltemp downloaded."
    245 
    246         do islope = 1,nslope
    247             write(num,'(i2.2)') islope
     207            write(*,*) "Data for soiltemp_slope"//num//" downloaded."
    248208            call get_var4("waterdensity_soil_slope"//num,watersoil_density_dyn(:,:,:,islope,:))
    249         enddo
    250         write(*,*) "Data for waterdensity_soil downloaded."
    251 
    252         do islope = 1,nslope
    253             write(num,'(i2.2)') islope
     209            write(*,*) "Data for waterdensity_soil_slope"//num//" downloaded."
    254210            call get_var3("waterdensity_surface"//num,watersurf_density_dyn(:,:,islope,:))
    255         enddo
    256         write(*,*) "Data for waterdensity_surface downloaded."
    257     endif !soil_pem
    258 #endif
     211            write(*,*) "Data for waterdensity_surface_slope"//num//" downloaded."
     212        endif
     213#endif
     214    enddo
    259215endif
    260216
Note: See TracChangeset for help on using the changeset viewer.