Ignore:
Timestamp:
Nov 20, 2009, 5:27:40 PM (15 years ago)
Author:
Laurent Fairhead
Message:

Correction d'un bug dans aeropt_5wv.F90 : une variable était utilisée sans
être calculée
Ajout de tests sur l'écriture de variables dans les fichiers de sortie
Changement des arguments d'appels à INCA
ACo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_mod.F90

    r1263 r1266  
    486486       ctetaSTD,dtime, ok_veget, &
    487487       type_ocean, iflag_pbl,ok_mensuel,ok_journe, &
    488        ok_hf,ok_instan,ok_LES,ok_ade,ok_aie, read_climoz)
     488       ok_hf,ok_instan,ok_LES,ok_ade,ok_aie, read_climoz, &
     489       new_aod, aerosol_couple)   
     490
    489491
    490492  USE iophy
     
    507509  logical                               :: ok_mensuel, ok_journe, ok_hf, ok_instan
    508510  logical                               :: ok_LES,ok_ade,ok_aie
    509 
     511  logical                               :: new_aod, aerosol_couple
    510512  integer, intent(in)::  read_climoz ! read ozone climatology
    511513  !     Allowed values are 0, 1 and 2
     
    833835 CALL histdef2d(iff,o_rugs_srf(nsrf)%flag,o_rugs_srf(nsrf)%name,"Latent heat flux "//clnsurf(nsrf),"W/m2")
    834836 CALL histdef2d(iff,o_ages_srf(nsrf)%flag,o_ages_srf(nsrf)%name,"Snow age", "day")
    835      END DO
    836 
    837      DO naero = 1, naero_spc
    838 CALL histdef2d(iff,o_tausumaero(naero)%flag,o_tausumaero(naero)%name,"Aerosol Optical depth at 550 nm "//name_aero(naero),"1")
    839      END DO
     837END DO
     838
     839IF (new_aod .AND. (.NOT. aerosol_couple)) THEN
     840  DO naero = 1, naero_spc
     841  CALL histdef2d(iff,o_tausumaero(naero)%flag,o_tausumaero(naero)%name,"Aerosol Optical depth at 550 nm "//name_aero(naero),"1")
     842  END DO
     843ENDIF
    840844
    841845 IF (ok_ade) THEN
     
    853857 CALL histdef2d(iff,o_swsrfcs_ant%flag,o_swsrfcs_ant%name, "Anthropogenic aerosol radiative forcing clear-sky at SRF", "W/m2")
    854858
     859 IF (.NOT. aerosol_couple) THEN
    855860 CALL histdef2d(iff,o_swtoacf_nat%flag,o_swtoacf_nat%name, "Natural aerosol impact on cloud radiative forcing at TOA", "W/m2")
    856861 CALL histdef2d(iff,o_swsrfcf_nat%flag,o_swsrfcf_nat%name, "Natural aerosol impact on cloud radiative forcing  at SRF", "W/m2")
     
    859864 CALL histdef2d(iff,o_swtoacf_zero%flag,o_swtoacf_zero%name, "Cloud radiative forcing (allsky-clearsky fluxes) at TOA", "W/m2")
    860865 CALL histdef2d(iff,o_swsrfcf_zero%flag,o_swsrfcf_zero%name, "Cloud radiative forcing (allsky-clearsky fluxes) at SRF", "W/m2")
     866 ENDIF
    861867
    862868 ENDIF
Note: See TracChangeset for help on using the changeset viewer.