PUBLIC INTERFACE ~ PUBLIC ROUTINES ~ NAMELIST

Program ocean_grid_generator

Contact: Z. Liang
Reviewers: S. M. Griffies
Change History: WebCVS Log


OVERVIEW

Generate a grid specification data file for ocean.

This program can generate horizontal grid, vertical grid or grids with topography and land/sea mask. . The namelist option grid_type control the type of grid created. when grid_type equal
 1. "hgrid": only horizontal grid will be created.
 2. "vgrid": only vertical grid will be created
 4. "hgrid_topog" : horizontal grid, topography and land/sea mask will be created. 
    Topography is obtained by remapping onto current grid from some topography source data. 
    land/sea mask is determined by the topography. In this case, topography does not depend 
    on vertical grid and no vertical grid will be created. You need to set topog_depend_on_vgrid of 
    topog_nml to .false. .
 5. "hgrid_vgrid_topog": horizontal grid, vertical grid, topography and land/sea mask 
    will be created. The topography is mom4-specific topography (could be idealized or from 
    some source file), which depends on vertical grid. The land/sea mask is determined by 
    topography. In this case, you need to set topog_depend_on_vgrid of topog_nml to .true. .


MODULES USED

       fms_mod
mpp_mod
mpp_io_mod
grids_type_mod
hgrid_mod
vgrid_mod
topog_mod
constants_mod

PUBLIC INTERFACE



PUBLIC ROUTINES


    NAMELIST

    &ocean_grid_generator_nml

    grid_type
    Control the type of grid will be created. Its value can be hgrid, vgrid, hgrid_mask, hgrid_topog_mask, hgrid_vgrid_topog_mask. Default value is hgrid_vgrid_topog. See module description for details.
    [character(len=64)]
    output_file
    name of grid file to be created. Default value is "ocean_grid.nc".
    [character(len=128)]


    top