Ignore:
Timestamp:
Mar 14, 2017, 11:10:55 PM (7 years ago)
Author:
oboucher
Message:

Climatological ASNO3M, CSNO3M, CINO3M aerosol fields can be read and fed
through the aerosol routines for optical properties. The get_aero_fromfile
routine needed some change so that it doesn't stop if a particular field
is not there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phys_local_var_mod.F90

    r2806 r2823  
    209209      REAL, SAVE, ALLOCATABLE :: loaddust(:)
    210210      !$OMP THREADPRIVATE(loaddust)
     211      REAL, SAVE, ALLOCATABLE :: loadno3(:)
     212      !$OMP THREADPRIVATE(loadno3)
    211213      REAL, SAVE, ALLOCATABLE :: load_tmp1(:)
    212214      !$OMP THREADPRIVATE(load_tmp1)
     
    215217      REAL, SAVE, ALLOCATABLE :: load_tmp3(:)
    216218      !$OMP THREADPRIVATE(load_tmp3)
    217       REAL, SAVE, ALLOCATABLE :: load_tmp4(:)
    218       !$OMP THREADPRIVATE(load_tmp4)
    219       REAL, SAVE, ALLOCATABLE :: load_tmp5(:)
    220       !$OMP THREADPRIVATE(load_tmp5)
    221       REAL, SAVE, ALLOCATABLE :: load_tmp6(:)
    222       !$OMP THREADPRIVATE(load_tmp6)
    223       REAL, SAVE, ALLOCATABLE :: load_tmp7(:)
    224       !$OMP THREADPRIVATE(load_tmp7)
    225219
    226220!IM ajout variables CFMIP2/CMIP5
     
    605599      allocate(loadss(klon))
    606600      allocate(loaddust(klon))
     601      allocate(loadno3(klon))
    607602      allocate(load_tmp1(klon))
    608603      allocate(load_tmp2(klon))
    609604      allocate(load_tmp3(klon))
    610       allocate(load_tmp4(klon))
    611       allocate(load_tmp5(klon))
    612       allocate(load_tmp6(klon))
    613       allocate(load_tmp7(klon))
    614605
    615606!IM ajout variables CFMIP2/CMIP5
     
    866857      deallocate(loadss)
    867858      deallocate(loaddust)
     859      deallocate(loadno3)
    868860      deallocate(load_tmp1)
    869861      deallocate(load_tmp2)
    870862      deallocate(load_tmp3)
    871       deallocate(load_tmp4)
    872       deallocate(load_tmp5)
    873       deallocate(load_tmp6)
    874       deallocate(load_tmp7)
    875863      deallocate(du_gwd_hines,dv_gwd_hines,d_t_hin)
    876864      deallocate(d_q_ch4)
Note: See TracChangeset for help on using the changeset viewer.