Changeset 3735
- Timestamp:
- Apr 23, 2025, 11:35:47 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/phyredem.F90
r3640 r3735 14 14 emisice, emissiv, & 15 15 iceradius, dtemisice, phisfi 16 use iostart, only : open_restartphy, close_restartphy, & 16 use iostart, only : open_restartphy, close_restartphy, & 17 17 put_var, put_field, length 18 18 use mod_grid_phy_lmdz, only : klon_glo … … 41 41 real,intent(in) :: pzgam(ngrid) 42 42 real,intent(in) :: pzthe(ngrid) 43 43 44 character(ndscrpt), dimension(ldscrpt), parameter :: dscrpt_tab_cntrl = (/ & 45 "(1) Number of atmospheric columns in physics ", & 46 "(2) Number of atmospheric layers ", & 47 "(3) Final day ", & 48 "(4) Final time of day ", & 49 "(5) Planet radius (m) ", & 50 "(6) Rotation rate (rad.s-1) ", & 51 "(7) Gravity (m.s-2) ", & 52 "(8) Molar mass of the atmosphere (g.mol-1) ", & 53 "(9) = r/Cp (=kappa in the dynamics) ", & 54 "(10) Length of a solar day (s) ", & 55 "(11) Physics time step (s) ", & 56 "(12) - ", & 57 "(13) - ", & 58 "(14) Length of year (in solar days) ", & 59 "(15) Minimum star-planet distance (AU) ", & 60 "(16) Maximum star-planet distance (AU) ", & 61 "(17) Date of periastro (sols since N. spring) ", & 62 "(18) Obliquity of the planet (deg) ", & 63 "(19) Default surface roughness (m) ", & 64 "(20) - ", & 65 "(21) - ", & 66 "(22) - ", & 67 "(23) - ", & 68 "(24) Emissivity of northern cap ~0.95 ", & 69 "(25) Emissivity of southern cap ~0.95 ", & 70 "(26) Emissivity of martian soil ~.95 ", & 71 "(27) - ", & 72 "(28) - ", & 73 "(29) - ", & 74 "(30) - ", & 75 "(31) Mean scat radius of CO2 snow (north) ", & 76 "(32) Mean scat radius of CO2 snow (south) ", & 77 "(33) Time scale for snow metamorphism (north) ", & 78 "(34) Time scale for snow metamorphism (south) ", & 79 "(35) Soil volumetric heat capacity "/) 44 80 real :: tab_cntrl(length) ! nb "length=100" defined in iostart module 45 81 46 82 ! Create physics start file 47 83 call open_restartphy(filename) … … 55 91 tab_cntrl(1) = float(klon_glo) ! number of nodes on physics grid 56 92 tab_cntrl(2) = float(nlay) ! number of atmospheric layers 57 tab_cntrl(3) = day_ini + int(time) ! final day 93 tab_cntrl(3) = day_ini + int(time) ! final day 58 94 tab_cntrl(4) = time -int(time) ! final time of day 59 95 … … 73 109 tab_cntrl(14) = year_day ! length of year (sols) ~668.6 74 110 tab_cntrl(15) = periastr ! min. star-planet distance (AU) 75 tab_cntrl(16) = apoastr ! max. star-planet distance (AU) 111 tab_cntrl(16) = apoastr ! max. star-planet distance (AU) 76 112 tab_cntrl(17) = peri_day ! date of periastron (sols since N. spring) 77 113 tab_cntrl(18) = obliquit ! Obliquity of the planet (deg) ~23.98 … … 91 127 tab_cntrl(34) = dtemisice(2) ! time scale for snow metamorphism (south) 92 128 93 tab_cntrl(28) = 0. 129 tab_cntrl(28) = 0. 94 130 tab_cntrl(29) = 0. 95 131 tab_cntrl(30) = 0. … … 98 134 99 135 call put_var("controle","Control parameters",tab_cntrl) 100 136 137 ! Write the controle array descriptor 138 call put_var(nid_restart,"controle_descriptor",& 139 "Description of control parameters",dscrpt_tab_cntrl) 140 101 141 ! Write the mid-layer depths 102 142 call put_var("soildepth","Soil mid-layer depth",mlayer) 103 143 104 144 ! Write longitudes 105 145 call put_field("longitude","Longitudes of physics grid",lonfi) 106 146 107 147 ! Write latitudes 108 148 call put_field("latitude","Latitudes of physics grid",latfi) 109 149 110 150 ! Write mesh areas 111 151 call put_field("area","Mesh area",cell_area) 112 152 113 153 ! Write surface geopotential 114 154 call put_field("phisfi","Geopotential at the surface",phisfi) 115 155 116 156 ! Write surface albedo 117 157 !call put_field("albedodat","Albedo of bare ground",alb) 118 158 119 159 ! Subgrid topogaphy variables 120 160 call put_field("ZMEA","Relief: mean relief",zmea) … … 123 163 call put_field("ZGAM","Relief: gamma parameter",zgam) 124 164 call put_field("ZTHE","Relief: theta parameter",zthe) 125 165 126 166 ! Close file 127 167 call close_restartphy 128 168 129 169 end subroutine physdem0 130 170 … … 133 173 emis,alb,q2,qsurf) 134 174 ! write time-dependent variable to restart file 135 use iostart, only : open_restartphy, close_restartphy, & 175 use iostart, only : open_restartphy, close_restartphy, & 136 176 put_var, put_field 137 177 use tracer_h, only: noms … … 155 195 156 196 integer :: iq 157 197 158 198 ! Open file 159 199 call open_restartphy(filename) … … 162 202 ! set time counter in file 163 203 !call put_var("Time","Temps de simulation",time) 164 204 165 205 ! Surface temperature 166 206 call put_field("tsurf","Surface temperature",tsurf) … … 168 208 ! Soil inertia 169 209 call put_field("inertiedat","Soil thermal inertia",inertiesoil) 170 210 171 211 ! Soil temperature 172 212 call put_field("tsoil","Soil temperature",tsoil) 173 213 174 214 ! Emissivity of the surface 175 215 call put_field("emis","Surface emissivity",emis) … … 177 217 ! Albedo of the surface 178 218 call put_field("albedodat","Albedo of bare ground",alb) 179 219 180 220 ! Planetary Boundary Layer 181 221 call put_field("q2","pbl wind variance",q2) 182 222 183 223 ! cloud fraction and sea ice !AF24: removed 184 224
Note: See TracChangeset
for help on using the changeset viewer.