Changeset 1346 for LMDZ4


Ignore:
Timestamp:
Apr 12, 2010, 11:34:10 AM (15 years ago)
Author:
Laurent Fairhead
Message:
  • Error in variable dimension in pres2lev.F90
  • Some aerosol variables are output but were not calculated. A test is included

in phys_output_write.h


  • Erreur dans la dimension d'une variable dans pres2lev.F90
  • Des variables "aérosol" sont sorties alors qu'elles ne sont pas calculées. Un

test est inclus dans phys_output_write.h

ACo

Location:
LMDZ4/branches/LMDZ4V5.0-dev/libf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3dpar/pres2lev.F90

    r1279 r1346  
    3131  REAL, INTENT(OUT) :: varn(ni*nj,lmn) ! var dans la nouvelle grille
    3232
    33   REAL :: zvaro(ni*nj,lmo),zpo(ni*nj,lmn)
     33  REAL :: zvaro(ni*nj,lmo),zpo(ni*nj,lmo)
    3434
    3535! Autres variables
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/phys_output_write.h

    r1285 r1346  
    844844! OD550 per species
    845845      IF (new_aod .and. (.not. aerosol_couple)) THEN
    846       DO naero = 1, naero_spc
    847           IF (o_tausumaero(naero)%flag(iff)<=lev_files(iff)) THEN
    848              CALL histwrite_phy(nid_files(iff),
    849      $            o_tausumaero(naero)%name,itau_w,
    850      $            tausum_aero(:,2,naero) )
    851           ENDIF
    852       END DO
    853       ENDIF
    854 
     846          IF (ok_ade.OR.ok_aie) THEN
     847
     848          IF (o_od550aer%flag(iff)<=lev_files(iff)) THEN
     849             CALL histwrite_phy(nid_files(iff),o_od550aer%name,itau_w,
     850     $            od550aer)
     851          ENDIF
     852          IF (o_od865aer%flag(iff)<=lev_files(iff)) THEN
     853             CALL histwrite_phy(nid_files(iff),o_od865aer%name,itau_w,
     854     $            od865aer)
     855          ENDIF
     856          IF (o_absvisaer%flag(iff)<=lev_files(iff)) THEN
     857             CALL histwrite_phy(nid_files(iff),o_absvisaer%name,itau_w,
     858     $            absvisaer)
     859          ENDIF
     860          IF (o_od550lt1aer%flag(iff)<=lev_files(iff)) THEN
     861            CALL histwrite_phy(nid_files(iff),o_od550lt1aer%name,itau_w,
     862     $            od550lt1aer)
     863          ENDIF
     864
     865          IF (o_sconcso4%flag(iff)<=lev_files(iff)) THEN
     866              CALL histwrite_phy(nid_files(iff),o_sconcso4%name,itau_w,
     867     $            sconcso4)
     868          ENDIF
     869          IF (o_sconcoa%flag(iff)<=lev_files(iff)) THEN
     870              CALL histwrite_phy(nid_files(iff),o_sconcoa%name,itau_w,
     871     $            sconcoa)
     872          ENDIF
     873          IF (o_sconcbc%flag(iff)<=lev_files(iff)) THEN
     874              CALL histwrite_phy(nid_files(iff),o_sconcbc%name,itau_w,
     875     $            sconcbc)
     876          ENDIF
     877          IF (o_sconcss%flag(iff)<=lev_files(iff)) THEN
     878              CALL histwrite_phy(nid_files(iff),o_sconcss%name,itau_w,
     879     $            sconcss)
     880          ENDIF
     881          IF (o_sconcdust%flag(iff)<=lev_files(iff)) THEN
     882              CALL histwrite_phy(nid_files(iff),o_sconcdust%name,itau_w,
     883     $            sconcdust)
     884          ENDIF
     885         
     886          IF (o_concso4%flag(iff)<=lev_files(iff)) THEN
     887              CALL histwrite_phy(nid_files(iff),o_concso4%name,itau_w,
     888     $            concso4)
     889          ENDIF
     890          IF (o_concoa%flag(iff)<=lev_files(iff)) THEN
     891              CALL histwrite_phy(nid_files(iff),o_concoa%name,itau_w,
     892     $            concoa)
     893          ENDIF
     894          IF (o_concbc%flag(iff)<=lev_files(iff)) THEN
     895              CALL histwrite_phy(nid_files(iff),o_concbc%name,itau_w,
     896     $            concbc)
     897          ENDIF
     898          IF (o_concss%flag(iff)<=lev_files(iff)) THEN
     899              CALL histwrite_phy(nid_files(iff),o_concss%name,itau_w,
     900     $            concss)
     901          ENDIF
     902          IF (o_concdust%flag(iff)<=lev_files(iff)) THEN
     903              CALL histwrite_phy(nid_files(iff),o_concdust%name,itau_w,
     904     $            concdust)
     905          ENDIF
     906         
     907          IF (o_loadso4%flag(iff)<=lev_files(iff)) THEN
     908              CALL histwrite_phy(nid_files(iff),o_loadso4%name,itau_w,
     909     $            loadso4)
     910          ENDIF
     911          IF (o_loadoa%flag(iff)<=lev_files(iff)) THEN
     912              CALL histwrite_phy(nid_files(iff),o_loadoa%name,itau_w,
     913     $            loadoa)
     914          ENDIF
     915          IF (o_loadbc%flag(iff)<=lev_files(iff)) THEN
     916              CALL histwrite_phy(nid_files(iff),o_loadbc%name,itau_w,
     917     $            loadbc)
     918          ENDIF
     919          IF (o_loadss%flag(iff)<=lev_files(iff)) THEN
     920              CALL histwrite_phy(nid_files(iff),o_loadss%name,itau_w,
     921     $            loadss)
     922          ENDIF
     923          IF (o_loaddust%flag(iff)<=lev_files(iff)) THEN
     924              CALL histwrite_phy(nid_files(iff),o_loaddust%name,itau_w,
     925     $            loaddust)
     926          ENDIF
     927         
     928          DO naero = 1, naero_spc
     929            IF (o_tausumaero(naero)%flag(iff)<=lev_files(iff)) THEN
     930                CALL histwrite_phy(nid_files(iff),
     931     $              o_tausumaero(naero)%name,itau_w,
     932     $              tausum_aero(:,2,naero) )
     933            ENDIF
     934          END DO
     935          endif
     936      ENDIF
     937     
    855938       IF (ok_ade) THEN
    856939          IF (o_topswad%flag(iff)<=lev_files(iff)) THEN
     
    9541037     $            solswai_aero)
    9551038          ENDIF
     1039          IF (o_scdnc%flag(iff)<=lev_files(iff)) THEN
     1040             CALL histwrite_phy(nid_files(iff),o_scdnc%name,itau_w,
     1041     $            scdnc)
     1042          ENDIF
     1043          IF (o_cldncl%flag(iff)<=lev_files(iff)) THEN
     1044             CALL histwrite_phy(nid_files(iff),o_cldncl%name,itau_w,
     1045     $            cldncl)
     1046          ENDIF
     1047          IF (o_reffclws%flag(iff)<=lev_files(iff)) THEN
     1048             CALL histwrite_phy(nid_files(iff),o_reffclws%name,itau_w,
     1049     $            reffclws)
     1050          ENDIF
     1051          IF (o_reffclwc%flag(iff)<=lev_files(iff)) THEN
     1052             CALL histwrite_phy(nid_files(iff),o_reffclwc%name,itau_w,
     1053     $            reffclwc)
     1054          ENDIF
     1055          IF (o_cldnvi%flag(iff)<=lev_files(iff)) THEN
     1056             CALL histwrite_phy(nid_files(iff),o_cldnvi%name,itau_w,
     1057     $            cldnvi)
     1058          ENDIF
     1059          IF (o_lcc%flag(iff)<=lev_files(iff)) THEN
     1060             CALL histwrite_phy(nid_files(iff),o_lcc%name,itau_w,
     1061     $            lcc)
     1062          ENDIF
     1063          IF (o_lcc3d%flag(iff)<=lev_files(iff)) THEN
     1064             CALL histwrite_phy(nid_files(iff),o_lcc3d%name,itau_w,
     1065     $            lcc3d)
     1066          ENDIF
     1067          IF (o_lcc3dcon%flag(iff)<=lev_files(iff)) THEN
     1068             CALL histwrite_phy(nid_files(iff),o_lcc3dcon%name,itau_w,
     1069     $            lcc3dcon)
     1070          ENDIF
     1071          IF (o_lcc3dstra%flag(iff)<=lev_files(iff)) THEN
     1072             CALL histwrite_phy(nid_files(iff),o_lcc3dstra%name,itau_w,
     1073     $            lcc3dstra)
     1074          ENDIF
     1075          IF (o_reffclwtop%flag(iff)<=lev_files(iff)) THEN
     1076             CALL histwrite_phy(nid_files(iff),o_reffclwtop%name,itau_w,
     1077     $            reffclwtop)
     1078          ENDIF
    9561079       ENDIF
    9571080
    9581081! Champs 3D:
     1082       IF (o_ec550aer%flag(iff)<=lev_files(iff)) THEN
     1083      CALL histwrite_phy(nid_files(iff),o_ec550aer%name,itau_w,ec550aer)
     1084       ENDIF
     1085
    9591086       IF (o_lwcon%flag(iff)<=lev_files(iff)) THEN
    9601087      CALL histwrite_phy(nid_files(iff),o_lwcon%name,itau_w,flwc)
Note: See TracChangeset for help on using the changeset viewer.