Changeset 1047 for trunk/LMDZ.MARS/libf/phymars/soil_settings.F
- Timestamp:
- Sep 23, 2013, 9:56:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/soil_settings.F
r999 r1047 2 2 3 3 use netcdf 4 use comsoil_h, only: layer, mlayer, inertiedat, volcapa 4 5 implicit none 5 6 … … 31 32 !====================================================================== 32 33 33 #include "dimensions.h"34 #include "dimphys.h"35 36 #include "comsoil.h"37 !#include "netcdf.inc"38 34 !====================================================================== 39 35 ! arguments 40 36 ! --------- 41 37 ! inputs: 42 integer nid ! Input Netcdf file ID43 integer ngrid ! # of horizontal grid points44 integer nsoil ! # of soil layers45 real tsurf(ngrid)! surface temperature46 integer indextime ! position on time axis38 integer,intent(in) :: nid ! Input Netcdf file ID 39 integer,intent(in) :: ngrid ! # of horizontal grid points 40 integer,intent(in) :: nsoil ! # of soil layers 41 real,intent(in) :: tsurf(ngrid) ! surface temperature 42 integer,intent(in) :: indextime ! position on time axis 47 43 ! output: 48 real tsoil(ngridmx,nsoilmx) ! soil temperature44 real,intent(out) :: tsoil(ngrid,nsoil) ! soil temperature 49 45 50 46 !====================================================================== … … 184 180 enddo 185 181 186 ! 2. Volumetric heat capacity (note: it is declared in comsoil .h)182 ! 2. Volumetric heat capacity (note: it is declared in comsoil_h) 187 183 ! --------------------------- 188 184 ! "volcapa" is (so far) 0D and written in "controle" table of startfi file … … 217 213 ! endif 218 214 219 ! 3. Thermal inertia (note: it is declared in comsoil .h)215 ! 3. Thermal inertia (note: it is declared in comsoil_h) 220 216 ! ------------------ 221 217 … … 306 302 corner(2)=1 307 303 corner(3)=indextime 308 edges(1)=ngrid mx309 edges(2)=nsoil mx304 edges(1)=ngrid 305 edges(2)=nsoil 310 306 edges(3)=1 311 307 !ierr=nf90_get_var(nid,nvarid,tsoil,corner,edges)
Note: See TracChangeset
for help on using the changeset viewer.