PUBLIC INTERFACE ~ PUBLIC DATA ~ PUBLIC ROUTINES ~ NAMELIST ~ DIAGNOSTIC FIELDS ~ ERROR MESSAGES ~ REFERENCES ~ NOTES

Program compare_grid

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


OVERVIEW

compare depth and land/sea mask of two grid_spec file.

This program reads in two grid descriptor files (generated via ocean_grid_generator) and creates a text file output listing line-by-line differences between the two files. Output file format is the same as the grid_edits file used by edit_grid.F90. These two files should have same grid size.

Originally developed by Jeffery B. Greenblatt on 12/11/2001 at Princeton University


MODULES USED

   mpp_mod
mpp_io_mod
fms_mod

PUBLIC INTERFACE



PUBLIC DATA

None.


PUBLIC ROUTINES


    NAMELIST

    &compare_grid_nml

    grid_file_1
    First grid files to be compared with grid_file_2.
    [character(len=128)]
    grid_file_2
    Second grid files to be compared with grid_file_1.
    [character(len=128)]
    grid_edits
    output text file. Each line is in the format as "i, j, depth_new, #was depth_old ". depth_new is the depth at point (i,j) of grid_file_2 and depth_old is the depth at point (i,j) of grid_file_1.
    [character(len=128)]
    mask_diff
    output text file. Each line is in the format as "i, j, wet_new, #was wet_old ". wet_new is the land/sea mask at point (i,j) of grid_file_2 and wet_old is the land/sea mask at point (i,j) of grid_file_1.
    [character(len=128)]


    DATA SETS

    None.


    ERROR MESSAGES

    None.


    top