Ignore:
Timestamp:
Jan 30, 2020, 2:38:10 PM (4 years ago)
Author:
lguez
Message:

Bug fix: use missing_val from XIOS for output with XIOS, else the
operations are not done propoerly in XIOS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/phylmd/pbl_surface_mod.F90

    r3605 r3626  
    294294    use phys_state_var_mod, only: ds_ns, dt_ns
    295295    use phys_output_var_mod, only: t_int, s_int, dter, dser, tkt, tks, rf, taur
    296     use netcdf, only: nf90_fill_real
     296#ifdef CPP_XIOS
     297    USE wxios, ONLY: missing_val
     298#else
     299    use netcdf, only: missing_val => nf90_fill_real
     300#endif
    297301
    298302    IMPLICIT NONE
     
    966970
    967971    if (activate_ocean_skin >= 1) then
    968        t_int = nf90_fill_real
    969        s_int = nf90_fill_real
    970        dter = nf90_fill_real
    971        dser = nf90_fill_real
    972        tkt = nf90_fill_real
    973        tks = nf90_fill_real
    974        rf = nf90_fill_real
    975        taur = nf90_fill_real
     972       t_int = missing_val
     973       s_int = missing_val
     974       dter = missing_val
     975       dser = missing_val
     976       tkt = missing_val
     977       tks = missing_val
     978       rf = missing_val
     979       taur = missing_val
    976980    end if
    977981
     
    25662570
    25672571       if (nsrf == is_oce .and. activate_ocean_skin >= 1) then
    2568           dt_ns = nf90_fill_real
    2569           ds_ns = nf90_fill_real
     2572          dt_ns = missing_val
     2573          ds_ns = missing_val
    25702574          ds_ns(ni(:knon)) = yds_ns(:knon)
    25712575          dt_ns(ni(:knon)) = ydt_ns(:knon)
Note: See TracChangeset for help on using the changeset viewer.