Changeset 75 for trunk/SOURCES/Ant40_files/lect-anteis_mod.f90
- Timestamp:
- 06/28/16 18:04:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/Ant40_files/lect-anteis_mod.f90
r46 r75 37 37 38 38 integer :: ios 39 ! pour les lectures ncdf 40 real*8, dimension(:,:), pointer :: tab !< tableau 2d real pointer 39 41 40 42 namelist/topo_file/topo_ref,topo_dep,grid_topo,ghf_fich … … 101 103 ! voir init_iso et a avoir une surface de reference pour les temperatures 102 104 ! lecture adaptee aux fichiers ZBL.dat ou netcdf ou grd 103 call lect_input(1,'Bsoc',1,Bsoc0,topo_ref,file_ncdf) ! socle 104 call lect_input(1,'S',1,S0,topo_ref,file_ncdf) ! surface 105 call lect_input(1,'H',1,H0,topo_ref,file_ncdf) ! epaisseur 105 ! call lect_input(1,'Bsoc',1,Bsoc0,topo_ref,file_ncdf) ! socle 106 ! call lect_input(1,'S',1,S0,topo_ref,file_ncdf) ! surface 107 ! call lect_input(1,'H',1,H0,topo_ref,file_ncdf) ! epaisseur 108 109 ! lecture pour eviter plantage avec compile -O0 110 call Read_Ncdf_var('Bsoc',topo_ref,tab) 111 Bsoc0(:,:) = tab(:,:) 112 call Read_Ncdf_var('S',topo_ref,tab) 113 S0(:,:) = tab(:,:) 114 call Read_Ncdf_var('H',topo_ref,tab) 115 H0(:,:) = tab(:,:) 106 116 !cdc correction point pole sud : 107 117 ! S0(71,71)=(S0(71,70)+S0(71,72)+S0(70,71)+S0(72,71))/4. … … 127 137 ! --------------------------- 128 138 ! lecture adaptee aux fichiers ZBL.dat ou netcdf ou grd 129 call lect_input(1,'Bsoc',1,Bsoc,topo_dep,file_ncdf) ! socle 130 call lect_input(1,'S',1,S,topo_dep,file_ncdf) ! surface 131 call lect_input(1,'H',1,H,topo_dep,file_ncdf) ! epaisseur 139 ! call lect_input(1,'Bsoc',1,Bsoc,topo_dep,file_ncdf) ! socle 140 ! call lect_input(1,'S',1,S,topo_dep,file_ncdf) ! surface 141 ! call lect_input(1,'H',1,H,topo_dep,file_ncdf) ! epaisseur 142 ! lecture pour eviter plantage avec compile -O0 143 call Read_Ncdf_var('Bsoc',topo_dep,tab) 144 Bsoc(:,:) = tab(:,:) 145 call Read_Ncdf_var('S',topo_dep,tab) 146 S(:,:) = tab(:,:) 147 call Read_Ncdf_var('H',topo_dep,tab) 148 H(:,:) = tab(:,:) 149 132 150 ! S(71,71)=(S(71,70)+S(71,72)+S(70,71)+S(72,71))/4. 133 151 ! Bsoc(71,71)=(Bsoc(71,70)+Bsoc(71,72)+Bsoc(70,71)+Bsoc(72,71))/4. … … 242 260 ! close(88) 243 261 244 call lect_input(1,'ghf',1,ghf,ghf_fich,file_ncdf) 262 ! call lect_input(1,'ghf',1,ghf,ghf_fich,file_ncdf) 263 ! pour eviter plantage -O0 264 call Read_Ncdf_var('ghf',ghf_fich,tab) 265 ghf(:,:) = tab(:,:) 245 266 246 267 ! pour passer les flux des mW/m2 au J/m2/an
Note: See TracChangeset
for help on using the changeset viewer.