Skip to content

Commit

Permalink
Vlab issue #40344
Browse files Browse the repository at this point in the history
Update grid generation codes to create stand-alone regional
nests with 'halo' regions.

Fixed bug in topography filtering code for 'stretched' grids.

Updates to CHGRES to optionally output lateral boundary file,
and to remove lateral boundary halo regions from atmospheric
and surface files.

Change-Id: I4292a1ba1a1d219b92995d36c77da10a84c727cb
  • Loading branch information
GeorgeGayno-NOAA committed Apr 2, 2018
1 parent 68b6f3e commit 7b3afc8
Show file tree
Hide file tree
Showing 15 changed files with 2,677 additions and 473 deletions.
17 changes: 17 additions & 0 deletions sorc/build_fre-nctools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ tmpDir=`pwd`/build
mkdir -p $tmpDir
cd $tmpDir

set +x
echo "////////////////////////////////////////////////////////////////////////////////"
echo "//////////////////////////////////////////////////////// Environment Settings //"
echo "////////////////////////////////////////////////////////////////////////////////"
set -x

#Original setup is for cray so for now require input only on a different platform.

Expand All @@ -49,9 +51,11 @@ fi

alias make="make HDF5_HOME=${HDF5_DIR} NETCDF_HOME=${NETCDF_DIR} NC_BLKSZ=64K SITE=${system_site} -f fre-nctools.mk"

set +x
echo "////////////////////////////////////////////////////////////////////////////////"
echo "//////////////////////////////////////////////////////////// Directory Layout //"
echo "////////////////////////////////////////////////////////////////////////////////"
set -x

mkdir -p share/src
cp -r $srcDir/shared share/src/.
Expand All @@ -61,9 +65,11 @@ echo "Done..."

for freNCToolsDir in tools/make_hgrid tools/make_solo_mosaic tools/fregrid
do
set +x
echo "////////////////////////////////////////////////////////////////////////////////"
echo "////////////////////////////////////////////////////////////////// $freNCToolsDir:t"
echo "////////////////////////////////////////////////////////////////////////////////"
set -x

cd share/src/$freNCToolsDir
cp fre-nctools.mk_${system_site} fre-nctools.mk
Expand All @@ -86,9 +92,11 @@ do
cd $tmpDir
done

set +x
echo "////////////////////////////////////////////////////////////////////////////////"
echo "///////////////////////////////////////////////////////////////// filter_topo //"
echo "////////////////////////////////////////////////////////////////////////////////"
set -x

cd ../tools/filter_topo
./make.csh_${target}
Expand All @@ -97,4 +105,13 @@ mv filter_topo $home_dir/exec/.
echo "\n////////// CLEANING UP TEMPORARY BUILD AREA //////////\n"
rm -fr $tmpDir

set +x
echo "///////////////////////////////////////////////////////////////////////////"
echo "///////////////////////////////////////////////////////////////// shave //"
echo "///////////////////////////////////////////////////////////////////////////"
set -x

cd $srcDir/tools/shave.fd
./build_shave $system_site

exit
Loading

0 comments on commit 7b3afc8

Please sign in to comment.