Functions/Subroutines | |
subroutine, public | surfdrv (npx, npy, grid, agrid, area, dx, dy, dxa, dya, dxc, dyc, sin_sg, phis, stretch_fac, nested, npx_global, domain, grid_number, bd, regional) |
subroutine, public | fv3_zs_filter (bd, isd, ied, jsd, jed, npx, npy, npx_global, stretch_fac, nested, domain, area, dxa, dya, dx, dy, dxc, dyc, grid, agrid, sin_sg, phis, oro, regional) |
subroutine | two_delta_filter (npx, npy, q, area, dx, dy, dxa, dya, dxc, dyc, sin_sg, cd, zero_ocean, check_slope, filter_type, oro, nested, domain, bd, ntmax, regional) |
subroutine, public | del2_cubed_sphere (npx, npy, q, area, dx, dy, dxc, dyc, sin_sg, nmax, cd, zero_ocean, oro, nested, domain, bd, regional) |
subroutine, public | del4_cubed_sphere (npx, npy, q, area, dx, dy, dxc, dyc, sin_sg, nmax, zero_ocean, oro, nested, domain, bd, regional) |
subroutine | map_to_cubed_raw (igh, im, jt, lat1, lon1, zs, ft, grid, agrid, q2, f2, h2, npx, npy, jstart, jend, stretch_fac, nested, npx_global, bd, regional) |
logical function | inside_p4 (p1, p2, p3, p4, pp, th0) |
subroutine | handle_err (status) |
The subroutine 'handle_err' returns an error when it cannot find or correctly read in an external file. More... | |
subroutine | remove_ice_sheets (lon, lat, lfrac, bd) |
subroutine | read_namelist |
The subroutine 'read_namelis' reads the namelist file, writes the namelist to log file, and initializes constants. More... | |
subroutine | zonal_mean (im, p, zmean) |
The sugroutine 'zonal_mean' replaces 'p' with its zonal mean. More... | |
Variables | |
logical | zs_filter = .true. |
logical | zero_ocean = .true. |
integer | nlon = 21600 |
integer | nlat = 10800 |
real | cd4 = 0.15 |
Dimensionless coeff for del-4 diffusion (with FCT) More... | |
real | cd2 = -1. |
Dimensionless coeff for del-2 diffusion (-1 gives resolution-determined value) More... | |
real | peak_fac = 1.05 |
overshoot factor for the mountain peak More... | |
real | max_slope = 0.15 |
max allowable terrain slope: 1 –> 45 deg 0.15 for C768 or lower; 0.25 C1536; 0.3 for C3072 More... | |
integer | n_del2_weak = 12 |
integer | n_del2_strong = -1 |
integer | n_del4 = -1 |
character(len=128) | surf_file = "INPUT/topo1min.nc" |
character(len=6) | surf_format = 'netcdf' |
logical | namelist_read = .false. |
real(kind=r_grid) | da_min |
real | cos_grid |
character(len=3) | grid_string = '' |
real, dimension(:,:), allocatable, public | zs_g |
real, dimension(:,:), allocatable, public | sgh_g |
real, dimension(:,:), allocatable, public | oro_g |
subroutine, public fv_surf_map_mod::del2_cubed_sphere | ( | integer, intent(in) | npx, |
integer, intent(in) | npy, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(inout) | q, | ||
real(kind=r_grid), dimension(bd%isd:bd%ied, bd%jsd:bd%jed), intent(in) | area, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed+1), intent(in) | dx, | ||
real, dimension(bd%isd:bd%ied+1,bd%jsd:bd%jed), intent(in) | dy, | ||
real, dimension(bd%isd:bd%ied+1,bd%jsd:bd%jed), intent(in) | dxc, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed+1), intent(in) | dyc, | ||
real, dimension(bd%isd:bd%ied,bd%jsd:bd%jed,9), intent(in) | sin_sg, | ||
integer, intent(in) | nmax, | ||
real(kind=r_grid), intent(in) | cd, | ||
logical, intent(in) | zero_ocean, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed), intent(in) | oro, | ||
logical, intent(in) | nested, | ||
type(domain2d), intent(inout) | domain, | ||
type(fv_grid_bounds_type), intent(in) | bd, | ||
logical, intent(in) | regional | ||
) |
[in] | oro | 0==water, 1==land |
Definition at line 860 of file fv_surf_map.F90.
subroutine, public fv_surf_map_mod::del4_cubed_sphere | ( | integer, intent(in) | npx, |
integer, intent(in) | npy, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(inout) | q, | ||
real(kind=r_grid), dimension(bd%isd:bd%ied, bd%jsd:bd%jed), intent(in) | area, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed+1), intent(in) | dx, | ||
real, dimension(bd%isd:bd%ied+1,bd%jsd:bd%jed), intent(in) | dy, | ||
real, dimension(bd%isd:bd%ied+1,bd%jsd:bd%jed), intent(in) | dxc, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed+1), intent(in) | dyc, | ||
real, dimension(bd%isd:bd%ied,bd%jsd:bd%jed,9), intent(in) | sin_sg, | ||
integer, intent(in) | nmax, | ||
logical, intent(in) | zero_ocean, | ||
real, dimension(bd%isd:bd%ied, bd%jsd:bd%jed), intent(in) | oro, | ||
logical, intent(in) | nested, | ||
type(domain2d), intent(inout) | domain, | ||
type(fv_grid_bounds_type), intent(in) | bd, | ||
logical, intent(in) | regional | ||
) |
[in] | oro | 0==water, 1==land |
Definition at line 962 of file fv_surf_map.F90.
subroutine, public fv_surf_map_mod::fv3_zs_filter | ( | type(fv_grid_bounds_type), intent(in) | bd, |
integer, intent(in) | isd, | ||
integer, intent(in) | ied, | ||
integer, intent(in) | jsd, | ||
integer, intent(in) | jed, | ||
integer, intent(in) | npx, | ||
integer, intent(in) | npy, | ||
integer, intent(in) | npx_global, | ||
real(kind=r_grid), intent(in) | stretch_fac, | ||
logical, intent(in) | nested, | ||
type(domain2d), intent(inout) | domain, | ||
real(kind=r_grid), dimension(isd:ied,jsd:jed), intent(in) | area, | ||
real, dimension(isd:ied,jsd:jed), intent(in) | dxa, | ||
real, dimension(isd:ied,jsd:jed), intent(in) | dya, | ||
real, dimension(isd:ied, jsd:jed+1), intent(in) | dx, | ||
real, dimension(isd:ied+1,jsd:jed), intent(in) | dy, | ||
real, dimension(isd:ied+1,jsd:jed), intent(in) | dxc, | ||
real, dimension(isd:ied, jsd:jed+1), intent(in) | dyc, | ||
real(kind=r_grid), dimension(isd:ied+1, jsd:jed+1,2), intent(in) | grid, | ||
real(kind=r_grid), dimension(isd:ied, jsd:jed, 2), intent(in) | agrid, | ||
real, dimension(isd:ied,jsd:jed,9), intent(in) | sin_sg, | ||
real, dimension(isd:ied,jsd,jed), intent(inout) | phis, | ||
real, dimension(isd:ied,jsd,jed), intent(inout) | oro, | ||
logical, intent(in) | regional | ||
) |
Definition at line 514 of file fv_surf_map.F90.
|
private |
The subroutine 'handle_err' returns an error when it cannot find or correctly read in an external file.
Definition at line 1534 of file fv_surf_map.F90.
|
private |
Definition at line 1490 of file fv_surf_map.F90.
|
private |
[in] | lat1 | original southern edge of the cell [-pi/2:pi/2] |
[in] | lon1 | original western edge of the cell [0:2*pi] |
[out] | q2 | Mapped data at the target resolution |
[out] | f2 | oro |
[out] | h2 | variances of terrain |
Definition at line 1198 of file fv_surf_map.F90.
|
private |
The subroutine 'read_namelis' reads the namelist file, writes the namelist to log file, and initializes constants.
Definition at line 1597 of file fv_surf_map.F90.
|
private |
Definition at line 1545 of file fv_surf_map.F90.
subroutine, public fv_surf_map_mod::surfdrv | ( | integer, intent(in) | npx, |
integer, intent(in) | npy, | ||
real(kind=r_grid), dimension(bd%is-ng:bd%ie+ng+1, bd%js-ng:bd%je+ng+1,2), intent(in) | grid, | ||
real(kind=r_grid), dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng,2), intent(in) | agrid, | ||
real(kind=r_grid), dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(in) | area, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng+1), intent(in) | dx, | ||
real, dimension(bd%is-ng:bd%ie+ng+1, bd%js-ng:bd%je+ng), intent(in) | dy, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(in) | dxa, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(in) | dya, | ||
real, dimension(bd%is-ng:bd%ie+ng+1, bd%js-ng:bd%je+ng), intent(in) | dxc, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng+1), intent(in) | dyc, | ||
real, dimension(bd%isd:bd%ied,bd%jsd:bd%jed,9), intent(in) | sin_sg, | ||
real, dimension(bd%is-ng:bd%ie+ng, bd%js-ng:bd%je+ng), intent(out) | phis, | ||
real(kind=r_grid), intent(in) | stretch_fac, | ||
logical, intent(in) | nested, | ||
integer, intent(in) | npx_global, | ||
type(domain2d), intent(inout) | domain, | ||
integer, intent(in) | grid_number, | ||
type(fv_grid_bounds_type), intent(in) | bd, | ||
logical, intent(in) | regional | ||
) |
Definition at line 135 of file fv_surf_map.F90.
|
private |
[in] | filter_type | 0: strong, 1: weak |
[in] | oro | 0==water, 1==land |
Definition at line 578 of file fv_surf_map.F90.
|
private |
The sugroutine 'zonal_mean' replaces 'p' with its zonal mean.
Definition at line 1629 of file fv_surf_map.F90.
|
private |
Dimensionless coeff for del-2 diffusion (-1 gives resolution-determined value)
Definition at line 105 of file fv_surf_map.F90.
|
private |
Dimensionless coeff for del-4 diffusion (with FCT)
Definition at line 104 of file fv_surf_map.F90.
|
private |
Definition at line 119 of file fv_surf_map.F90.
|
private |
Definition at line 118 of file fv_surf_map.F90.
|
private |
Definition at line 120 of file fv_surf_map.F90.
|
private |
max allowable terrain slope: 1 –> 45 deg 0.15 for C768 or lower; 0.25 C1536; 0.3 for C3072
Definition at line 107 of file fv_surf_map.F90.
|
private |
Definition at line 110 of file fv_surf_map.F90.
|
private |
Definition at line 109 of file fv_surf_map.F90.
|
private |
Definition at line 111 of file fv_surf_map.F90.
|
private |
Definition at line 116 of file fv_surf_map.F90.
|
private |
Definition at line 103 of file fv_surf_map.F90.
|
private |
Definition at line 102 of file fv_surf_map.F90.
real, dimension(:,:), allocatable, public fv_surf_map_mod::oro_g |
Definition at line 125 of file fv_surf_map.F90.
|
private |
overshoot factor for the mountain peak
Definition at line 106 of file fv_surf_map.F90.
real, dimension(:,:), allocatable, public fv_surf_map_mod::sgh_g |
Definition at line 125 of file fv_surf_map.F90.
|
private |
Definition at line 114 of file fv_surf_map.F90.
|
private |
Definition at line 115 of file fv_surf_map.F90.
|
private |
Definition at line 101 of file fv_surf_map.F90.
|
private |
Definition at line 100 of file fv_surf_map.F90.
real, dimension(:,:), allocatable, public fv_surf_map_mod::zs_g |
Definition at line 125 of file fv_surf_map.F90.