Ignore:
Timestamp:
May 18, 2015, 5:25:29 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Backport of trunk revisions 2271, 2279, 2280, 2282 into LMDZ6_rc0 branch:

  • modifications for NMC/XIOS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/LMDZ6_rc0/libf/phylmd/physiq.F90

    r2160 r2283  
    4747  use phyaqua_mod, only: zenang_an
    4848  USE control_mod
     49#ifdef CPP_XIOS
     50  USE wxios, ONLY: missing_val, missing_val_omp
     51  USE xios, ONLY: xios_get_field_attr
     52#endif
    4953#ifdef REPROBUS
    5054  USE CHEM_REP, ONLY : Init_chem_rep_xjour
     
    240244  real da(klon,klev),phi(klon,klev,klev),mp(klon,klev)
    241245  real wght_cvfd(klon,klev)
     246#ifndef CPP_XIOS
     247  REAL, SAVE :: missing_val
     248#endif
    242249  ! Variables pour le lessivage convectif
    243250  ! RomP >>>
     
    36743681  !IM Interpolation sur les niveaux de pression du NMC
    36753682  !   -------------------------------------------------
     3683#ifdef CPP_XIOS
     3684          !$OMP MASTER
     3685          !On recupere la valeur de la missing value donnee dans le xml
     3686          CALL xios_get_field_attr("t850",default_value=missing_val_omp)
     3687!         PRINT *,"ARNAUD value missing ",missing_val_omp
     3688          !$OMP END MASTER
     3689          !$OMP BARRIER
     3690          missing_val=missing_val_omp
     3691#endif
     3692#ifndef CPP_XIOS
     3693          missing_val=missing_val_nf90
     3694#endif
    36763695  !
    36773696  include "calcul_STDlev.h"
Note: See TracChangeset for help on using the changeset viewer.