FV3 Bundle
data_override_mod Module Reference

Data Types

interface  data_override
 
interface  data_override_ug
 
type  data_type
 
type  override_type
 

Functions/Subroutines

subroutine, public data_override_init (Atm_domain_in, Ocean_domain_in, Ice_domain_in, Land_domain_in, Land_domainUG_in)
 
subroutine, public data_override_unset_domains (unset_Atm, unset_Ocean, unset_Ice, unset_Land, must_be_set)
 
subroutine check_grid_sizes (domain_name, Domain, nlon, nlat)
 
subroutine get_domain (gridname, domain, comp_domain)
 
subroutine get_domainug (gridname, UGdomain, comp_domain)
 
subroutine data_override_2d (gridname, fieldname, data_2D, time, override, is_in, ie_in, js_in, je_in)
 
subroutine data_override_3d (gridname, fieldname_code, data, time, override, data_index, is_in, ie_in, js_in, je_in)
 
subroutine data_override_0d (gridname, fieldname_code, data, time, override, data_index)
 
subroutine data_override_ug_1d (gridname, fieldname, data, time, override)
 
subroutine data_override_ug_2d (gridname, fieldname, data, time, override)
 
subroutine get_grid_version_1 (grid_file, mod_name, domain, isc, iec, jsc, jec, lon, lat, min_lon, max_lon)
 
subroutine get_grid_version_2 (mosaic_file, mod_name, domain, isc, iec, jsc, jec, lon, lat, min_lon, max_lon)
 

Variables

integer, parameter max_table =100
 
integer, parameter max_array =100
 
integer table_size
 
integer, parameter annual =1
 
integer, parameter monthly =2
 
integer, parameter daily =3
 
integer, parameter hourly =4
 
integer, parameter undef =-1
 
real, parameter tpi =2*PI
 
real deg_to_radian
 
real radian_to_deg
 
logical module_is_initialized = .FALSE.
 
type(domain2d), save ocn_domain
 
type(domain2d), save atm_domain
 
type(domain2d), save lnd_domain
 
type(domain2d), save ice_domain
 
type(domainug), save lnd_domainug
 
real, dimension(:,:), allocatable, target lon_local_ocn
 
real, dimension(:,:), allocatable, target lat_local_ocn
 
real, dimension(:,:), allocatable, target lon_local_atm
 
real, dimension(:,:), allocatable, target lat_local_atm
 
real, dimension(:,:), allocatable, target lon_local_ice
 
real, dimension(:,:), allocatable, target lat_local_ice
 
real, dimension(:,:), allocatable, target lon_local_lnd
 
real, dimension(:,:), allocatable, target lat_local_lnd
 
real min_glo_lon_ocn
 
real max_glo_lon_ocn
 
real min_glo_lon_atm
 
real max_glo_lon_atm
 
real min_glo_lon_lnd
 
real max_glo_lon_lnd
 
real min_glo_lon_ice
 
real max_glo_lon_ice
 
integer num_fields = 0
 
type(data_type), dimension(max_tabledata_table
 
type(data_typedefault_table
 
type(override_type), dimension(max_array), save override_array
 
type(override_type), save default_array
 
logical atm_on
 
logical ocn_on
 
logical lnd_on
 
logical ice_on
 
logical lndug_on
 
logical debug_data_override
 
logical grid_center_bug = .false.
 

Function/Subroutine Documentation

◆ check_grid_sizes()

subroutine data_override_mod::check_grid_sizes ( character(len=12), intent(in)  domain_name,
type (domain2d), intent(in)  Domain,
integer, intent(in)  nlon,
integer, intent(in)  nlat 
)
private

Definition at line 539 of file data_override.F90.

Here is the caller graph for this function:

◆ data_override_0d()

subroutine data_override_mod::data_override_0d ( character(len=3), intent(in)  gridname,
character(len=*), intent(in)  fieldname_code,
real, intent(out)  data,
type(time_type), intent(in)  time,
logical, intent(out), optional  override,
integer, intent(in), optional  data_index 
)
private

Definition at line 1105 of file data_override.F90.

Here is the call graph for this function:

◆ data_override_2d()

subroutine data_override_mod::data_override_2d ( character(len=3), intent(in)  gridname,
character(len=*), intent(in)  fieldname,
real, dimension(:,:), intent(inout)  data_2D,
type(time_type), intent(in)  time,
logical, intent(out), optional  override,
integer, intent(in), optional  is_in,
integer, intent(in), optional  ie_in,
integer, intent(in), optional  js_in,
integer, intent(in), optional  je_in 
)
private

Definition at line 612 of file data_override.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ data_override_3d()

subroutine data_override_mod::data_override_3d ( character(len=3), intent(in)  gridname,
character(len=*), intent(in)  fieldname_code,
real, dimension(:,:,:), intent(inout)  data,
type(time_type), intent(in)  time,
logical, intent(out), optional  override,
integer, intent(in), optional  data_index,
integer, intent(in), optional  is_in,
integer, intent(in), optional  ie_in,
integer, intent(in), optional  js_in,
integer, intent(in), optional  je_in 
)
private

Definition at line 671 of file data_override.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ data_override_init()

subroutine, public data_override_mod::data_override_init ( type (domain2d), intent(in), optional  Atm_domain_in,
type (domain2d), intent(in), optional  Ocean_domain_in,
type (domain2d), intent(in), optional  Ice_domain_in,
type (domain2d), intent(in), optional  Land_domain_in,
type(domainug), intent(in), optional  Land_domainUG_in 
)

Definition at line 190 of file data_override.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ data_override_ug_1d()

subroutine data_override_mod::data_override_ug_1d ( character(len=3), intent(in)  gridname,
character(len=*), intent(in)  fieldname,
real, dimension(:), intent(inout)  data,
type(time_type), intent(in)  time,
logical, intent(out), optional  override 
)
private

Definition at line 1191 of file data_override.F90.

Here is the call graph for this function:

◆ data_override_ug_2d()

subroutine data_override_mod::data_override_ug_2d ( character(len=3), intent(in)  gridname,
character(len=*), intent(in)  fieldname,
real, dimension(:,:), intent(inout)  data,
type(time_type), intent(in)  time,
logical, intent(out), optional  override 
)
private

Definition at line 1226 of file data_override.F90.

Here is the call graph for this function:

◆ data_override_unset_domains()

subroutine, public data_override_mod::data_override_unset_domains ( logical, intent(in), optional  unset_Atm,
logical, intent(in), optional  unset_Ocean,
logical, intent(in), optional  unset_Ice,
logical, intent(in), optional  unset_Land,
logical, intent(in), optional  must_be_set 
)

Definition at line 487 of file data_override.F90.

◆ get_domain()

subroutine data_override_mod::get_domain ( character(len=3), intent(in)  gridname,
type(domain2d), intent(inout)  domain,
integer, dimension(4), intent(out), optional  comp_domain 
)
private

Definition at line 563 of file data_override.F90.

Here is the caller graph for this function:

◆ get_domainug()

subroutine data_override_mod::get_domainug ( character(len=3), intent(in)  gridname,
type(domainug), intent(inout)  UGdomain,
integer, dimension(4), intent(out), optional  comp_domain 
)
private

Definition at line 587 of file data_override.F90.

Here is the caller graph for this function:

◆ get_grid_version_1()

subroutine data_override_mod::get_grid_version_1 ( character(len=*), intent(in)  grid_file,
character(len=*), intent(in)  mod_name,
type(domain2d), intent(in)  domain,
integer, intent(in)  isc,
integer, intent(in)  iec,
integer, intent(in)  jsc,
integer, intent(in)  jec,
real, dimension(isc:,jsc:), intent(out)  lon,
real, dimension(isc:,jsc:), intent(out)  lat,
real, intent(out)  min_lon,
real, intent(out)  max_lon 
)
private

Definition at line 1271 of file data_override.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_grid_version_2()

subroutine data_override_mod::get_grid_version_2 ( character(len=*), intent(in)  mosaic_file,
character(len=*), intent(in)  mod_name,
type(domain2d), intent(in)  domain,
integer, intent(in)  isc,
integer, intent(in)  iec,
integer, intent(in)  jsc,
integer, intent(in)  jec,
real, dimension(isc:,jsc:), intent(out)  lon,
real, dimension(isc:,jsc:), intent(out)  lat,
real, intent(out)  min_lon,
real, intent(out)  max_lon 
)
private

Definition at line 1393 of file data_override.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ annual

integer, parameter data_override_mod::annual =1
private

Definition at line 136 of file data_override.F90.

◆ atm_domain

type(domain2d), save data_override_mod::atm_domain
private

Definition at line 141 of file data_override.F90.

◆ atm_on

logical data_override_mod::atm_on
private

Definition at line 157 of file data_override.F90.

◆ daily

integer, parameter data_override_mod::daily =3
private

Definition at line 136 of file data_override.F90.

◆ data_table

type(data_type), dimension(max_table) data_override_mod::data_table
private

Definition at line 153 of file data_override.F90.

◆ debug_data_override

logical data_override_mod::debug_data_override
private

Definition at line 159 of file data_override.F90.

◆ default_array

type(override_type), save data_override_mod::default_array
private

Definition at line 156 of file data_override.F90.

◆ default_table

type(data_type) data_override_mod::default_table
private

Definition at line 154 of file data_override.F90.

◆ deg_to_radian

real data_override_mod::deg_to_radian
private

Definition at line 138 of file data_override.F90.

◆ grid_center_bug

logical data_override_mod::grid_center_bug = .false.
private

Definition at line 160 of file data_override.F90.

◆ hourly

integer, parameter data_override_mod::hourly =4
private

Definition at line 136 of file data_override.F90.

◆ ice_domain

type(domain2d), save data_override_mod::ice_domain
private

Definition at line 141 of file data_override.F90.

◆ ice_on

logical data_override_mod::ice_on
private

Definition at line 157 of file data_override.F90.

◆ lat_local_atm

real, dimension(:,:), allocatable, target data_override_mod::lat_local_atm
private

Definition at line 145 of file data_override.F90.

◆ lat_local_ice

real, dimension(:,:), allocatable, target data_override_mod::lat_local_ice
private

Definition at line 146 of file data_override.F90.

◆ lat_local_lnd

real, dimension(:,:), allocatable, target data_override_mod::lat_local_lnd
private

Definition at line 147 of file data_override.F90.

◆ lat_local_ocn

real, dimension(:,:), allocatable, target data_override_mod::lat_local_ocn
private

Definition at line 144 of file data_override.F90.

◆ lnd_domain

type(domain2d), save data_override_mod::lnd_domain
private

Definition at line 141 of file data_override.F90.

◆ lnd_domainug

type(domainug), save data_override_mod::lnd_domainug
private

Definition at line 142 of file data_override.F90.

◆ lnd_on

logical data_override_mod::lnd_on
private

Definition at line 157 of file data_override.F90.

◆ lndug_on

logical data_override_mod::lndug_on
private

Definition at line 158 of file data_override.F90.

◆ lon_local_atm

real, dimension(:,:), allocatable, target data_override_mod::lon_local_atm
private

Definition at line 145 of file data_override.F90.

◆ lon_local_ice

real, dimension(:,:), allocatable, target data_override_mod::lon_local_ice
private

Definition at line 146 of file data_override.F90.

◆ lon_local_lnd

real, dimension(:,:), allocatable, target data_override_mod::lon_local_lnd
private

Definition at line 147 of file data_override.F90.

◆ lon_local_ocn

real, dimension(:,:), allocatable, target data_override_mod::lon_local_ocn
private

Definition at line 144 of file data_override.F90.

◆ max_array

integer, parameter data_override_mod::max_array =100
private

Definition at line 134 of file data_override.F90.

◆ max_glo_lon_atm

real data_override_mod::max_glo_lon_atm
private

Definition at line 149 of file data_override.F90.

◆ max_glo_lon_ice

real data_override_mod::max_glo_lon_ice
private

Definition at line 151 of file data_override.F90.

◆ max_glo_lon_lnd

real data_override_mod::max_glo_lon_lnd
private

Definition at line 150 of file data_override.F90.

◆ max_glo_lon_ocn

real data_override_mod::max_glo_lon_ocn
private

Definition at line 148 of file data_override.F90.

◆ max_table

integer, parameter data_override_mod::max_table =100
private

Definition at line 134 of file data_override.F90.

◆ min_glo_lon_atm

real data_override_mod::min_glo_lon_atm
private

Definition at line 149 of file data_override.F90.

◆ min_glo_lon_ice

real data_override_mod::min_glo_lon_ice
private

Definition at line 151 of file data_override.F90.

◆ min_glo_lon_lnd

real data_override_mod::min_glo_lon_lnd
private

Definition at line 150 of file data_override.F90.

◆ min_glo_lon_ocn

real data_override_mod::min_glo_lon_ocn
private

Definition at line 148 of file data_override.F90.

◆ module_is_initialized

logical data_override_mod::module_is_initialized = .FALSE.
private

Definition at line 139 of file data_override.F90.

◆ monthly

integer, parameter data_override_mod::monthly =2
private

Definition at line 136 of file data_override.F90.

◆ num_fields

integer data_override_mod::num_fields = 0
private

Definition at line 152 of file data_override.F90.

◆ ocn_domain

type(domain2d), save data_override_mod::ocn_domain
private

Definition at line 141 of file data_override.F90.

◆ ocn_on

logical data_override_mod::ocn_on
private

Definition at line 157 of file data_override.F90.

◆ override_array

type(override_type), dimension(max_array), save data_override_mod::override_array
private

Definition at line 155 of file data_override.F90.

◆ radian_to_deg

real data_override_mod::radian_to_deg
private

Definition at line 138 of file data_override.F90.

◆ table_size

integer data_override_mod::table_size
private

Definition at line 135 of file data_override.F90.

◆ tpi

real, parameter data_override_mod::tpi =2*PI
private

Definition at line 137 of file data_override.F90.

◆ undef

integer, parameter data_override_mod::undef =-1
private

Definition at line 136 of file data_override.F90.