MOM6
ocean_da_core.F90
1 !> A set of dummy interfaces for compiling the MOM6 DA driver code.
3  ! MOM modules
4  use mom_domains, only : mom_domain_type, domain2d
5  use mom_time_manager, only : time_type, set_time, get_date
6  ! ODA_tools modules
8  use kdtree, only : kd_root
9 
10  implicit none
11  private
12  public :: ocean_da_core_init
13  public :: get_profiles
14 
15 contains
16 
17  !> Initializes the MOM6 DA driver code.
18  subroutine ocean_da_core_init(Domain, global_grid, Profiles, model_time)
19  type(domain2d), pointer, intent(in) :: Domain !< A MOM domain type
20  type(grid_type), pointer, intent(in) :: global_grid !< The global ODA horizontal grid type
21  type(ocean_profile_type), pointer :: Profiles !< This is an unstructured recursive list of profiles
22  !! which are either within the localized domain corresponding
23  !! to the Domain argument, or the global profile list (type).
24  type(time_type), intent(in) :: model_time !< The current model time type.
25 
26 
27 
28  profiles=>null()
29  return
30  end subroutine ocean_da_core_init
31 
32 
33  !> Get profiles obs within the current analysis interval
34  subroutine get_profiles(model_time, Profiles, Current_profiles)
35  type(time_type), intent(in) :: model_time !< The current analysis time.
36  type(ocean_profile_type), pointer :: Profiles !< The full recursive list of profiles.
37  type(ocean_profile_type), pointer :: Current_profiles !< A returned list of profiles for the
38  !! current analysis step.
39 
40  profiles=>null()
41  current_profiles=>null()
42 
43  return
44  end subroutine get_profiles
45 
46 
47 end module ocean_da_core_mod
A K-d tree tpe.
Definition: kdtree.f90:9
Wraps the FMS time manager functions.
A set of dummy interfaces for compiling the MOM6 DA driver code.
Describes the decomposed MOM domain and has routines for communications across PEs.
Definition: MOM_domains.F90:2
The MOM_domain_type contains information about the domain decompositoin.
A null version of K-d tree from geoKdTree.
Definition: kdtree.f90:2
Dummy aata structures and methods for ocean data assimilation.