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

Program regrid_3d

Contact: Bonnie Samuels
Reviewers: M.J. HarrisonZhi Liang
Change History: WebCVS Log


OVERVIEW

regrid 3-d lat-lon gridded data to logically rectangular grid described by grid descriptor file. Applies only to scalar fields No missing points allowed on input grid.



MODULES USED

         mpp_mod
mpp_io_mod
mpp_domains_mod
horiz_interp_mod
axis_utils_mod
fms_mod
constants_mod

PUBLIC INTERFACE



PUBLIC DATA

None.


PUBLIC ROUTINES


    NAMELIST

    &regrid_3d_nml

    src_file
    Name of input file containing grid and data to be regridded.
    [character(len=128), default: src_file.nc]
    numfields
    Number of fields.
    [integer, default: 2]
    src_field_name
    Name of input field(s). default is (/'temp', 'salt'/)
    [character(len=128), dimension(max_fields)]
    dest_field_name
    Name of input field(s). If it is not specified in the namelist, it will get the value from src_field_name
    [character(len=128), dimension(max_fields)]
    dest_grid
    Name of grid descriptor file containing target grid information.
    [character(len=128), default: dest_grid.nc]
    dest_file
    Name of output file.
    [character(len=128), default: dest_file.nc]
    num_nbrs
    Number of nearest neighbors for regridding
    [integer, default: 10]
    max_dist
    Maximum radial influence for regridding.
    [integer, units: radians, default: 0.17]
    scale_factor
    scaling factor for data (e.g. -1 to flip sign or 0.01 to convert from centimeters)
    [real ]
    stop_crit
    The stopping criteria when extrapping data onto missing points.
    [character(len=1),dimension(2), default: 0.001]
    apply_dest_mask
    flag to indicate if the land/sea mask of destination grid will be applied on the output dest_file. when true, land/sea mask of destination grid will be applied on the output dest_file. When false, the output data will be global data. Default is false.
    [logical, default: false]
    interp_method
    specifying the remapping method when remampping data onto current grid. Its value can be "spherical" or " bilinear". Default value is "bilinear". "bilinear" interpolation is recommanded, since bilinear interpolation will provide more smooth results than "spherical" interpolation (especially when interpolating from coarse grid to fine grid). Plus bilinear interpolation is much more efficiency than "spherical interpolation". The reason to have "spherical" option is for backward compatibility.
    [character(len=20)]


    DATA SETS

    None.


    ERROR MESSAGES

    None.


    top