Documentation for nestbat2.1 and 2.2 here (see further down for 2.2 documentation). They are sligthly different, but do essentially the same thing. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !Routine nestbat-2.1 for old NERSC hycom version 2.1 ! ! ! ! This program reads the global and local depths and newpos files ! ! and creates a new local depths file which at all boundaries are ! ! consistent with the global file (smoothed towards boundary). This is! ! necessary for nesting... ! ! ! ! The files read are ! ! gdepths???x???.uf - global depths file ! ! gnewpos.uf - global newpos file ! ! ldepths???x???.uf - local depths file ! ! lnewpos.uf - local newpos file ! ! grid.info - grid info for global grid ! ! ! ! User input when running nestbat: ! ! Grid dimensions for global grid ! ! Grid dimensions for local grid ! ! Width of boundary zone (transition zone from global to local grid) ! ! ! ! The new depths file is saved in ! ! ndepths???x???.uf ! ! ! ! Diagnostic files are saved in ! ! nestrelmask.asc -- text file for visual check of the nesting zone ! ! tecnestbat.tec -- tecplot file with old and new local depths ! ! ! ! To use: copy the required files to a new empty directory and ! ! execute nestbat.... ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !Routine nestbat-2.2 for new NERSC hycom version 2.2 ! ! ! ! This program reads the global and local depths and grid files ! ! and creates a new local depths file which at all boundaries are ! ! consistent with the global file (smoothed towards boundary). This is! ! necessary for nesting... ! ! ! ! The files read are ! ! regional.depth.[ab] - local depths file ! ! regional.grid.[ab] - local grid file ! ! global.depth.[ab] - global depths file ! ! global.grid.[ab] - global grid file ! ! grid.info - grid info for global grid (NB!) ! ! ! ! User input when running nestbat: ! ! None ! ! nesting boundary is hardcoded to 20 grid cells ! ! ! ! The new depths file is saved in ! ! nestbat.depth.[ab] ! ! ! ! Diagnostic files are saved in ! ! nestrelmask.asc -- text file for visual check of the nesting zone ! ! nestbat.tec -- tecplot file with old and new local depths ++ ! ! nestbat.nc -- netcdf file with old and new local depths ++ ! ! ! ! To use: copy the required files to a new empty directory and ! ! execute nestbat.... Note that global grid/depth files have to be ! ! renamed from regional.* to global.* ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TODO: periodic grid stuff TODO: check the nestmask setup in nestbat-2.2 more thoroughly