Changeset 1886 for trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan
- Timestamp:
- Jan 7, 2018, 5:35:22 PM (7 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/ini_archive.F
r1647 r1886 35 35 c======================================================================= 36 36 37 USE comchem_h, ONLY: nlaykim_up 37 38 USE comsoil_h 38 39 ! use control_mod … … 80 81 INTEGER idim_tim 81 82 INTEGER idim_nsoilmx ! "subsurface_layers" dimension ID # 83 INTEGER idim_nlaykim_up ! "upper_chemistry_layers" dimension ID # 82 84 INTEGER nid,nvarid 83 85 real sig_s(llm),s(llm) … … 162 164 ierr = NF_DEF_DIM (nid, "altitude", llm, idim_llm) 163 165 ierr = NF_DEF_DIM (nid,"subsurface_layers",nsoilmx,idim_nsoilmx) 166 ierr = NF_DEF_DIM (nid,"upper_chemistry_layers", 167 . nlaykim_up,idim_nlaykim_up) 164 168 165 169 ierr = NF_DEF_DIM (nid,"index", length, idim_index) -
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/start2archive.F
r1871 r1886 111 111 INTEGER Lmodif 112 112 113 LOGICAL nokim113 LOGICAL kim 114 114 115 115 REAL ptotal … … 226 226 PRINT*, "start2archive: Missing field(s) for upper chemistry ... 227 227 . I presume they're all absent !" 228 nokim=.TRUE.228 kim=.FALSE. 229 229 ELSE 230 230 PRINT*,"start2archive: I found a field for upper chemistry ... … … 232 232 ! Allocates upper chemistry fields in comchem_h on physical and scalar grid 233 233 CALL allokim_start2archive(ngridmx,ip1jmp1) 234 kim=.TRUE. 234 235 ENDIF 235 236 … … 366 367 call gr_fi_dyn(1,ngridmx,iip1,jjp1,tankCH4,tankCH4S) 367 368 368 IF ( nokim .eqv. .FALSE.) THEN ! NB : fields are in comchem_h369 IF (kim) THEN ! NB : fields are in comchem_h 369 370 call gr_fi_dyn(nlaykim_up,ngridmx,iip1,jjp1,H,H_S) 370 371 call gr_fi_dyn(nlaykim_up,ngridmx,iip1,jjp1,H2,H2_S) … … 560 561 c----------------------------------------------------------------- 561 562 562 IF ( nokim .eqv. .FALSE.) THEN563 IF (kim) THEN 563 564 call write_archive(nid,ntime,'H_up', 564 565 . 'H in upper atmosphere','kg/kg',4,H_S) -
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/write_archive.F
r1871 r1886 175 175 ierr=NF_INQ_DIMID(nid,"upper_chemistry_layers",id(3)) 176 176 if (ierr.ne.NF_NOERR) then 177 write(*,*)"write_archive: dimension 178 & <upper_chemistry_layers> is missing !!!"177 write(*,*)"write_archive: dimension", 178 & " <upper_chemistry_layers> is missing !!!" 179 179 call abort 180 180 endif
Note: See TracChangeset
for help on using the changeset viewer.