#############################################################################
#                                                                           #
# mww3_test_03 : Overlapping grid test (propagation only)                   #
#                Six grids with two ranks.                                  #
#                                                                           #
# Model should be compiled with the switches :                              #
#                                                                           #
#   !/FLXn !/LN0 !/ST0 !/NL0 !/BT0 !/DB0 !/TR0 !/BS0 !/XX0                  #
#                        No source terms needed.                            #
#   !/PRn                Selecting one of the propagation schemes.          #
#   !/O0 !/O1 !/O2 !/O3 !/O4 !/O5 !/O6 !/O7 !/O10 !/O11                     #
#                        Sdt out output options.                            #
#                                                                           #
# No other optional switches should be used.                                #
#                                                                           #
# Remarks :                                                                 #
#                                                                           #
# - Test case input (default):                                              #
#   * ww3_grid_low0.inp :                            (single low-res grid)  #
#     + Spatial grid: 53 x 53 rectilinear Cartesian grid                    #
#       - dx = 10 km, dy = 10 km                                            #
#       - Xrange = -10:510 km, Yrange = -10:510 km                          #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_low1.inp :                           (partial low-res grid)  #
#     + Spatial grid: 53 x 30 rectilinear Cartesian grid                    #
#       - dx = 10 km, dy = 10 km                                            #
#       - Xrange = -10:510 km, Yrange = -10:280 km                          #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_low2.inp :                           (partial low-res grid)  #
#     + Spatial grid: 32 x 32 rectilinear Cartesian grid                    #
#       - dx = 10 km, dy = 10 km                                            #
#       - Xrange = -10:300 km, Yrange = 200:510 km                          #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_low3.inp :                           (partial low-res grid)  #
#     + Spatial grid: 29 x 34 rectilinear Cartesian grid                    #
#       - dx = 10 km, dy = 10 km                                            #
#       - Xrange = 230:510 km, Yrange = 180:510 km                          #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_hgh0.inp :                           (single high-res grid)  #
#     + Spatial grid: 103 x 61 rectilinear Cartesian grid                   #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = -5:505 km, Yrange = 205:505 km                           #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#     + This grid and partial grids contain beach.                          #
#   * ww3_grid_hgh1.inp :                          (partial high-res grid)  #
#     + Spatial grid: 41 x 60 rectilinear Cartesian grid                    #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = -5:195 km, Yrange = 210:505 km                           #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_hgh2.inp :                          (partial high-res grid)  #
#     + Spatial grid: 72 x 45 rectilinear Cartesian grid                    #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = 30:385 km, Yrange = 285:505 km                           #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_hgh3.inp :                          (partial high-res grid)  #
#     + Spatial grid: 46 x 32 rectilinear Cartesian grid                    #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = 280:505 km, Yrange = 350:505 km                          #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * ww3_grid_points.inp :                    (unified point output grid)  #
#     + Spatial grid: 3 x 3 rectilinear Cartesian grid                      #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = -5:5 km, Yrange = -5:5 km                                #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#   * Note on grids: the option to have the grid points not exactly         #
#     coincide from thr old test has not (yet) been reproduced here.        #
#                                                                           #
#   * Grid sets available :                                                 #
#     + grdset_a : low1 low2 low3                                           #
#     + grdset_b : low0           hgh1 hgh2 hgh3                            #
#     + grdset_c : low1 low2 low3 hgh0                                      #
#     + grdset_d : low1 low2 low3 hgh1 hgh2 hgh3                            #
#     + grdset_d2: low1 low2 low3 hgh1 hgh2 hgh3 (MPI split communicator)   #
#     + grdset_e : low1 low2 low3 hgh1 hgh2 hgh3 points                     #
#                                                                           #
#   * map_m03.gs: GrADS script for grdset_d, requires minor editing for     #
#                 some of the other other grid set options.                 #
#                                                                           #
#   * switch options (mostly self-explanatory).                             #
#     + switch_PR1              : First order scheme (default)              #
#     + switch_PR2_UNO          : UNO scheme with diffusion (off)           #
#     + switch_PR2_UQ           : UQ scheme with diffusion (off)            #
#     + switch_PR3_UNO          : UNO scheme with averaging (off)           #
#     + switch_PR3_UQ           : UQ scheme with averaging (off)            #
#     + switch_PR3_UNO_SCRIP    : Using SCRIP package for mapping.          #
#     + switch_PR3_UQ_SCRIP     : Using SCRIP package for mapping.          #
#     + switch_PR3_UNO_SCRIPNC  : Using SCRIP package and file if avail.    #
#     + switch_PR3_UQ_SCRIPNC   : Using SCRIP package and file if avail.    #
#     + switch_PR3_UNO_SCRIP_T38: Using SCRIP package with test output.     #
#     + switch_PR3_UQ_SCRIP_T38 : Using SCRIP package with test output.     #
#     + switch_PR1_MPI                                                      #
#     + switch_PR2_UNO_MPI                                                  #
#     + switch_PR2_UQ_MPI                                                   #
#     + switch_PR3_UNO_MPI                                                  #
#     + switch_PR3_UQ_MPI                                                   #
#     + switch_PR3_UNO_MPI_SCRIP                                            #
#     + switch_PR3_UQ_MPI_SCRIP                                             #
#     + switch_PR3_UNO_MPI_SCRIPNC                                          #
#     + switch_PR3_UQ_MPI_SCRIPNC                                           #
#     + switch_PR3_UNO_MPI_SCRIP_T38                                        #
#     + switch_PR3_UQ_MPI_SCRIP_T38                                         #
#                                                                           #
#   * Added an output grid ww3_grid.cmpl.inp                                #
#     + Spatial grid: 105 x 105 rectilinear Cartesian grid                  #
#       - dx = 5 km, dy = 5 km                                              #
#       - Xrange = -10:510 km, Yrange = -10::510 km                         #
#     + Spectral grid: ntheta = 24, nf = 20, f1 = 0.075, fgamma = 1.03      #
#     Data from the computational model grids is interpolated to this       #
#     grid using ww3_gint. The input files for the interpolation are        #
#     defined by ww3_gint_grdset_*.inp files. The interpolation grid is     #
#     defined in the grdset_* files under the flag INTGL.                   #
#                                                   Arun, Nov 11 2013       #
#                                                                           #
#  Example run_test commands:                                               #
#  (some details will vary by local system and configuration)               #
#  ./bin/run_test -m grdset_a -n 3 -p mpirun -s PR3_UQ_MPI -w work_a \      #
#                                         ../model mww3_test_03             #
#  ./bin/run_test -m grdset_b -n 3 -p mpirun -s PR3_UQ_MPI -w work_b \      #
#                                         ../model mww3_test_03             #
#  ./bin/run_test -m grdset_c -n 3 -p mpirun -s PR3_UQ_MPI -w work_c \      #
#                                         ../model mww3_test_03             #
#  ./bin/run_test -m grdset_d -n 3 -p mpirun -s PR3_UQ_MPI -w work_d \      #
#                                         ../model mww3_test_03             #
#  ./bin/run_test ../ -m grdset_c -c gnu_debug -o netcdf mww3_test_03       #
#                                                                           #
#                                              Hendrik Tolman, Feb 2006     #
#                                                   Last Mod : Nov 2013     #
#                                                                           #
#    Copyright 2009-2013 National Weather Service (NWS),                    #
#       National Oceanic and Atmospheric Administration.  All rights        #
#       reserved.  WAVEWATCH III is a trademark of the NWS.                 #
#       No unauthorized use without permission.                             #
#                                                                           #
#############################################################################
