Ignore:
Timestamp:
May 21, 2025, 6:37:41 PM (5 weeks ago)
Author:
afalco
Message:

Generic: allow to write controle in XIOS output.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/phyetat0_mod.F90

    r3552 r3773  
    2222  use write_field_phy, only: Writefield_phy
    2323!!
    24   use tabfi_mod, only: tabfi
     24  use tabfi_mod, only: tabfi,ini_tab_controle_dyn_xios
    2525  USE tracer_h, ONLY: noms, igcm_h2o_vap
    2626  USE radinc_h, ONLY: L_NSPECTV
     
    485485   endif
    486486endif ! of if (startphy_file)
     487
     488call ini_tab_controle_dyn_xios(day_ini)
     489
     490
    487491!
    488492! close file:
     
    492496end subroutine phyetat0
    493497
    494 !======================================================================
    495 subroutine ini_tab_controle_dyn_xios(idayref)
    496 
    497 use comcstfi_mod,        only: g, mugaz, omeg, rad, rcp
    498 use time_phylmdz_mod,  only: daysec, dtphys
    499 use mod_grid_phy_lmdz, only: nbp_lon, nbp_lat, nbp_lev
    500 
    501 implicit none
    502 
    503 integer*4, intent(in) :: idayref ! date (initial date for this run)
    504 
    505 integer :: length, l
    506 parameter (length = 100)
    507 real    :: tab_cntrl(length) ! run parameters are stored in this array
    508 
    509 do l = 1,length
    510     tab_cntrl(l) = 0.
    511 enddo
    512 tab_cntrl(1)  = real(nbp_lon)
    513 tab_cntrl(2)  = real(nbp_lat-1)
    514 tab_cntrl(3)  = real(nbp_lev)
    515 tab_cntrl(4)  = real(idayref)
    516 tab_cntrl(5)  = rad
    517 tab_cntrl(6)  = omeg
    518 tab_cntrl(7)  = g
    519 tab_cntrl(8)  = mugaz
    520 tab_cntrl(9)  = rcp
    521 tab_cntrl(10) = daysec
    522 tab_cntrl(11) = dtphys
    523 
    524 tab_cntrl_mod = tab_cntrl
    525 
    526 end subroutine ini_tab_controle_dyn_xios
    527 
    528498end module phyetat0_mod
Note: See TracChangeset for help on using the changeset viewer.