Changeset 3950 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Jun 28, 2021, 8:09:46 PM (3 years ago)
Author:
jyg
Message:

add missing test on vars_defined in phys_output_write

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/phys_output_write_mod.F90

    r3929 r3950  
    14311431          CALL histwrite_phy(o_slab_bils, slab_wfbils)
    14321432          IF (nslay.EQ.1) THEN
    1433               zx_tmp_fi2d(:)=tslab(:,1)
     1433              IF (vars_defined) zx_tmp_fi2d(:)=tslab(:,1)
    14341434              CALL histwrite_phy(o_tslab, zx_tmp_fi2d)
    1435               zx_tmp_fi2d(:)=dt_qflux(:,1)
     1435              IF (vars_defined) zx_tmp_fi2d(:)=dt_qflux(:,1)
    14361436              CALL histwrite_phy(o_slab_qflux, zx_tmp_fi2d)
    14371437          ELSE
     
    14491449          IF (slab_hdiff) THEN
    14501450            IF (nslay.EQ.1) THEN
    1451                 zx_tmp_fi2d(:)=dt_hdiff(:,1)
     1451                IF (vars_defined) zx_tmp_fi2d(:)=dt_hdiff(:,1)
    14521452                CALL histwrite_phy(o_slab_hdiff, zx_tmp_fi2d)
    14531453            ELSE
     
    14571457          IF (slab_ekman.GT.0) THEN
    14581458            IF (nslay.EQ.1) THEN
    1459                 zx_tmp_fi2d(:)=dt_ekman(:,1)
     1459                IF (vars_defined) zx_tmp_fi2d(:)=dt_ekman(:,1)
    14601460                CALL histwrite_phy(o_slab_ekman, zx_tmp_fi2d)
    14611461            ELSE
Note: See TracChangeset for help on using the changeset viewer.