Changeset 3598 for trunk/LMDZ.COMMON/libf
- Timestamp:
- Jan 23, 2025, 12:10:24 PM (7 hours ago)
- Location:
- trunk/LMDZ.COMMON/libf/evolution
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/changelog.txt
r3591 r3598 551 551 - Making allocation/deallocation systematically and more efficient in the main program. 552 552 - Some cleanings (variables deletion, more adapted type/dimension, etc). 553 554 == 23/01/2025 == JBC 555 Correction of typos and minor bugs. -
trunk/LMDZ.COMMON/libf/evolution/comsoil_h_PEM.F90
r3532 r3598 22 22 integer :: index_breccia ! last index of the depth grid before having breccia 23 23 integer :: index_bedrock ! last index of the depth grid before having bedrock 24 logical :: soil_pem ! True by default, to run with the subsurface physic. Read in pem.def24 logical :: soil_pem ! True by default, to run with the subsurface physic. Read in run_PEM.def 25 25 real :: ini_huge_h2oice ! Initial value for huge reservoirs of H2O ice [kg/m^2] 26 26 logical :: reg_thprop_dependp ! thermal properites of the regolith vary with the surface pressure -
trunk/LMDZ.COMMON/libf/evolution/get_timelen_PCM_mod.F90
r3591 r3598 40 40 call error_msg(NF90_OPEN(var,NF90_NOWRITE,fID),"open",var) 41 41 42 ierr = nf90_inq_varid (fID, "temps",vID)42 ierr = nf90_inq_varid(fID,"temps",vID) 43 43 if (ierr /= nf90_noerr) then 44 44 write(*,*)"read_data_PCM: Le champ <temps> est absent" 45 45 write(*,*)"read_data_PCM: J essaie <time_counter>" 46 ierr = nf90_inq_varid (fID, "time_counter",vID)46 ierr = nf90_inq_varid(fID,"time_counter",vID) 47 47 if (ierr /= nf90_noerr) then 48 48 write(*,*)"read_data_PCM: Le champ <time_counter> est absent" 49 49 write(*,*)"read_data_PCM: J essaie <Time>" 50 ierr = nf90_inq_varid 50 ierr = nf90_inq_varid(fID,"Time",vID) 51 51 if (ierr /= nf90_noerr) then 52 52 write(*,*)"read_data_PCM: Le champ <Time> est absent" 53 53 write(*,*)trim(nf90_strerror(ierr)) 54 call abort_gcm("get_timelen_PCM", "",1)54 call abort_gcm("get_timelen_PCM","",1) 55 55 endif 56 56 ! Get the length of the "Time" dimension -
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r3591 r3598 204 204 ! Variables for surface and soil 205 205 real, dimension(:,:), allocatable :: tsurf_avg ! Grid points x Slope field: Averaged surface temperature [K] 206 real, dimension(:,:), allocatable :: tsurf_dev ! ngrid x Slope x Timesfield: Surface temperature deviation [K]206 real, dimension(:,:), allocatable :: tsurf_dev ! Grid points x Slope field: Surface temperature deviation [K] 207 207 real, dimension(:,:), allocatable :: tsurf_avg_yr1 ! Grid points x Slope field: Averaged surface temperature of first call of the PCM [K] 208 208 real, dimension(:,:,:), allocatable :: tsoil_avg ! Grid points x Soil x Slope field: Averaged Soil Temperature [K] … … 990 990 enddo ! big time iteration loop of the pem 991 991 deallocate(vmr_co2_PCM,q_co2_PEM_phys,q_h2o_PEM_phys,delta_co2_adsorbed) 992 deallocate(watersoil_density_PEM_avg,watersurf_density_avg ,)992 deallocate(watersoil_density_PEM_avg,watersurf_density_avg) 993 993 deallocate(ps_timeseries,tsoil_PEM_timeseries,watersoil_density_PEM_timeseries) 994 994 deallocate(co2ice_disappeared,delta_h2o_adsorbed,delta_h2o_icetablesublim) -
trunk/LMDZ.COMMON/libf/evolution/read_data_PCM_mod.F90
r3591 r3598 80 80 call error_msg(NF90_OPEN(filename1,NF90_NOWRITE,fID),"open",filename1) 81 81 82 ! Compute averages over the year for each point 83 write(*,*) "Computing the average of tsurf..." 82 ! Download the data from the file 84 83 if (nslope == 1) then ! There is no slope 85 84 call get_var3("co2ice",co2_ice_slope_dyn(:,:,1,:)) … … 289 288 A = (1./m_co2 - 1./m_noco2) 290 289 B = 1./m_noco2 291 do i = 1,iim + 1290 do i = 1,iim_input + 1 292 291 do j = 1,jjm_input + 1 293 292 do t = 1, timelen
Note: See TracChangeset
for help on using the changeset viewer.