Changeset 4160 for trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
- Timestamp:
- Mar 31, 2026, 3:38:07 PM (10 days ago)
- File:
-
- 1 edited
-
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90
r4150 r4160 37 37 use comsoil_h, only: flux_geo 38 38 use comslope_mod, only: nslope, major_slope 39 use paleoclimate_mod, only: paleoclimate, h2o _ice_depth, lag_co2_ice, d_coef, zdqsdif_ssi_tot39 use paleoclimate_mod, only: paleoclimate, h2oice_depth, co2ice_depth, coef_ssdif, zdqsdif_ssi_tot 40 40 use comcstfi_h, only: pi 41 41 use geometry_mod, only: latitude … … 908 908 if (startphy_file) then 909 909 ! Depth of H2O lag 910 call get_field("h2o _ice_depth",h2o_ice_depth,found,indextime)911 if (.not.found) then 912 write(*,*) "phyetat0: Failed loading <h2o _ice_depth> : ", &913 "<h2o _ice_depth> is set as -1 (no subsurface ice)"914 h2o _ice_depth(:,:) = -1.910 call get_field("h2oice_depth",h2oice_depth,found,indextime) 911 if (.not.found) then 912 write(*,*) "phyetat0: Failed loading <h2oice_depth> : ", & 913 "<h2oice_depth> is set as -1 (no subsurface ice)" 914 h2oice_depth(:,:) = -1. 915 915 endif 916 916 917 917 ! Total flux with SSI 918 call get_field(" zdqsdif_ssi_tot",zdqsdif_ssi_tot,found,indextime)919 if (.not.found) then 920 write(*,*) "phyetat0: Failed loading < zdqsdif_ssi_tot> : ", &921 "< zdqsdif_ssi_tot> is set as -1 (no subsurface ice)"918 call get_field("flux_ssice",zdqsdif_ssi_tot,found,indextime) 919 if (.not.found) then 920 write(*,*) "phyetat0: Failed loading <flux_ssice> : ", & 921 "<flux_ssice> is set as -1 (no subsurface ice)" 922 922 zdqsdif_ssi_tot(:,:) = 0. 923 923 endif 924 924 925 925 ! Diffusion coeficent 926 call get_field(" d_coef",d_coef,found,indextime)927 if (.not.found) then 928 write(*,*) "phyetat0: Failed loading < d_coef> : ", &929 "< d_coef> is set as 4e-4 (defualt value)"930 d_coef(:,:) = 4e-4926 call get_field("coef_ssdif",coef_ssdif,found,indextime) 927 if (.not.found) then 928 write(*,*) "phyetat0: Failed loading <coef_ssdif> : ", & 929 "<coef_ssdif> is set as 4e-4 (default value)" 930 coef_ssdif(:,:) = 4.e-4 931 931 endif 932 932 933 933 ! Depth of CO2 lag 934 call get_field(" lag_co2_ice",lag_co2_ice,found,indextime)935 if (.not.found) then 936 write(*,*) "phyetat0: Failed loading < lag_co2_ice> : ", &937 "< lag_co2_ice> is set as -1 (no subsurface ice)"938 lag_co2_ice(:,:) = -1.934 call get_field("co2ice_depth",co2ice_depth,found,indextime) 935 if (.not.found) then 936 write(*,*) "phyetat0: Failed loading <co2ice_depth> : ", & 937 "<co2ice_depth> is set as -1 (no subsurface ice)" 938 co2ice_depth(:,:) = -1. 939 939 endif 940 940 … … 948 948 endif ! not found 949 949 else ! no startphy_file 950 h2o _ice_depth= -1.951 lag_co2_ice= -1.952 zdqsdif_ssi_tot = 0.953 d_coef= 4.e-4954 perennial_co2ice = 0.950 h2oice_depth(:,:) = -1. 951 co2ice_depth(:,:) = -1. 952 zdqsdif_ssi_tot(:,:) = 0. 953 coef_ssdif(:,:) = 4.e-4 954 perennial_co2ice(:,:) = 0. 955 955 if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2 956 956 endif !startphy_file 957 957 else 958 h2o _ice_depth= -1.959 lag_co2_ice= -1.960 zdqsdif_ssi_tot = 0.961 d_coef= 4.e-4962 perennial_co2ice = 0.958 h2oice_depth(:,:) = -1. 959 co2ice_depth(:,:) = -1. 960 zdqsdif_ssi_tot(:,:) = 0. 961 coef_ssdif(:,:) = 4.e-4 962 perennial_co2ice(:,:) = 0. 963 963 endif !paleoclimate 964 964
Note: See TracChangeset
for help on using the changeset viewer.
