chgres_cube  1.13.0
All Data Structures Namespaces Files Functions Variables Pages
model_grid.F90 File Reference

Specify input and target model grids. More...

Go to the source code of this file.

Modules

module  model_grid
 Sets up the ESMF grid objects for the input data grid and target FV3 grid.
 

Functions/Subroutines

subroutine, public model_grid::cleanup_input_target_grid_data
 Deallocate all esmf grid objects. More...
 
subroutine, public model_grid::define_input_grid (localpet, npets)
 Driver routine to setup the esmf grid object for the input grid. More...
 
subroutine model_grid::define_input_grid_gaussian (npets)
 Define grid object for input data on global gaussian grids. More...
 
subroutine model_grid::define_input_grid_grib2 (npets)
 Define input grid object for grib2 input data. More...
 
subroutine model_grid::define_input_grid_mosaic (localpet, npets)
 Define input grid for tiled data using the 'mosaic', 'grid' and orography files. More...
 
subroutine, public model_grid::define_target_grid (localpet, npets)
 Setup the esmf grid object for the target grid. More...
 
subroutine model_grid::gdt_to_gds (igdtnum, igdstmpl, igdtlen, kgds, ni, nj, res)
 Convert the GRIB2 grid description template to to the GRIB1 grid description section. More...
 
subroutine model_grid::get_model_latlons (mosaic_file, orog_dir, num_tiles, tile, i_tile, j_tile, ip1_tile, jp1_tile, latitude, latitude_s, latitude_w, longitude, longitude_s, longitude_w)
 Read model lat/lons for a single tile from the "grid" specificaton file. More...
 
subroutine model_grid::get_model_mask_terrain (orog_file, idim, jdim, mask, terrain, land_frac)
 Read the model land mask and terrain for a single tile from the orography file. More...
 

Variables

integer, public model_grid::i_input
 i-dimension of input grid (or of each global tile) More...
 
integer, public model_grid::i_target
 i dimension of each global tile, or of a nest, target grid. More...
 
type(esmf_grid), public model_grid::input_grid
 input grid esmf grid object More...
 
character(len=50), public model_grid::input_grid_type = "latlon"
 map projection of input grid More...
 
integer, public model_grid::ip1_input
 i_input plus 1 More...
 
integer, public model_grid::ip1_target
 ip1_target plus 1 More...
 
integer, public model_grid::j_input
 j-dimension of input grid (or of each global tile) More...
 
integer, public model_grid::j_target
 j dimension of each global tile, or of a nest, target grid. More...
 
integer, public model_grid::jp1_input
 j_input plus 1 More...
 
integer, public model_grid::jp1_target
 jp1_target plus 1 More...
 
type(esmf_field), public model_grid::land_frac_target_grid
 land fraction, target grid More...
 
type(esmf_field), public model_grid::landmask_target_grid
 land mask target grid - '1' some or all land; '0' all non-land More...
 
type(esmf_field), public model_grid::latitude_input_grid
 latitude of grid center, input grid More...
 
type(esmf_field), public model_grid::latitude_s_input_grid
 latitude of 'south' edge of grid box, input grid More...
 
type(esmf_field), public model_grid::latitude_s_target_grid
 latitude of 'south' edge of grid box, target grid More...
 
type(esmf_field), public model_grid::latitude_target_grid
 latitude of grid center, target grid More...
 
type(esmf_field), public model_grid::latitude_w_input_grid
 latitude of 'west' edge of grid box, input grid More...
 
type(esmf_field), public model_grid::latitude_w_target_grid
 latitude of 'west' edge of grid box, target grid More...
 
type(esmf_field), public model_grid::longitude_input_grid
 longitude of grid center, input grid More...
 
type(esmf_field), public model_grid::longitude_s_input_grid
 longitude of 'south' edge of grid box, input grid More...
 
type(esmf_field), public model_grid::longitude_s_target_grid
 longitude of 'south' edge of grid box, target grid More...
 
type(esmf_field), public model_grid::longitude_target_grid
 longitude of grid center, target grid More...
 
type(esmf_field), public model_grid::longitude_w_input_grid
 longitude of 'west' edge of grid box, input grid More...
 
type(esmf_field), public model_grid::longitude_w_target_grid
 longitude of 'west' edge of grid box, target grid More...
 
integer, public model_grid::lsoil_target = 4
 Number of soil layers, target grid. More...
 
integer, public model_grid::num_tiles_input_grid
 Number of tiles, input grid. More...
 
integer, public model_grid::num_tiles_target_grid
 Number of tiles, target grid. More...
 
type(esmf_field), public model_grid::seamask_target_grid
 sea mask target grid - '1' some or all non-land; '0' all land More...
 
type(esmf_grid), public model_grid::target_grid
 target grid esmf grid object. More...
 
type(esmf_field), public model_grid::terrain_target_grid
 terrain height target grid More...
 
character(len=5), dimension(:), allocatable, public model_grid::tiles_target_grid
 Tile names of target grid. More...
 

Detailed Description

Specify input and target model grids.

Author
George Gayno NCEP/EMC

Definition in file model_grid.F90.