1 module da_wrfvar_esmf_super
3 !-----------------------------------------------------------------------
4 ! Purpose: defines wrfvar_init(), wrfvar_run(), and wrfvar_finalize()
5 ! routines for use by ESMF superstructure.
6 ! WRFVAR can be built with either ESMF_Mod (from an installed ESMF library)
7 ! or with built-in wrf_esmf_mod. The choice is made at configure time
8 ! via cpp token WRF_ESMF_MOD.
9 ! Note that WRF_ESMF_MOD is used by module_domain.
10 !------------------------------------------------------------------------
14 ! use module_integrate
15 ! use module_driver_constants
16 ! use module_configure
27 ! use da_define_structures
28 ! use da_setup_structures
31 ! use da_wrf_interfaces
37 integer :: loop
, levels_to_process
39 type (domain
) , pointer :: keep_grid
, grid_ptr
, null_domain
40 type (grid_config_rec_type
), save :: config_flags
41 integer :: number_at_same_level
42 integer :: time_step_begin_restart
44 integer :: domain_id
, fid
, oid
, idum1
, idum2
48 integer, parameter :: configbuflen
= 4* CONFIG_BUF_LEN
49 integer :: configbuf( configbuflen
)
52 character (LEN
=80) :: rstname
53 character (LEN
=80) :: message
57 #
include "da_esmf_init.inc"
58 #
include "da_esmf_run.inc"
59 #
include "da_esmf_finalize.inc"
60 #
include "da_wrfvar_interface.inc"
62 end module da_wrfvar_esmf_super