Difference between revisions of "Lake Jersey Refinement Example Introduction"

From WikiROMS
Jump to navigationJump to search
Line 2: Line 2:




The Lake Jersey idealized example is used in ROMS to test the nesting algorithms for the Refinement Grids Super-Class.  Various configurations of refined grids are possible including refinement ratio, telescoping grids, and nesting layers.  Currently, there are four refined grids inside the coarse grid. The following table summarize the grid information:  
The Lake Jersey idealized example is used in ROMS to test the nesting algorithms for the Refinement Grids Super-Class.  Various configurations of refined grids are possible including refinement ratio, telescoping grids, and nesting layers.  Currently, there are four refined grids inside the coarse grid. The following table summarize the nested grids information:  


<div style="padding-left: 25px">
<div style="padding-left: 25px">
Line 86: Line 86:


The configuration and input NetCDF file can be found in the '''test/lake_jersey''' sub-directory.
The configuration and input NetCDF file can be found in the '''test/lake_jersey''' sub-directory.


==Nested Grid Diagram==
==Nested Grid Diagram==
Line 91: Line 92:
The following diagram illustrate the location of all the nested grids.  Grid a is the coarser grid at 500m resolution.  The above table provides the information of the coordinates used to extract the refined grids from the donor grid.  The Matlab script [[grid_extract.m]] the refine grids.  For example:
The following diagram illustrate the location of all the nested grids.  Grid a is the coarser grid at 500m resolution.  The above table provides the information of the coordinates used to extract the refined grids from the donor grid.  The Matlab script [[grid_extract.m]] the refine grids.  For example:


  <span class="twilightBlue"> >>  Imin = 34;<br \> >>  Imax = 58;<br \> >>  Jmin = 19;<br \> >>  Jmax = 45;<br \> >>   C = grid_extract ('lake_jersey_grd_a.nc', 'lake_jersey_grd_c.nc', 5, Imin, Imax, Jmin, Jmax);</span>
  <span class="twilightBlue"> >>  Imin = 34;<br \> >>  Imax = 58;<br \> >>  Jmin = 19;<br \> >>  Jmax = 45;<br \> >> C = grid_extract ('lake_jersey_grd_a.nc', 'lake_jersey_grd_c.nc', 5, Imin, Imax, Jmin, Jmax);</span>
 
In the Menu above, the link '''Lake Jersey ABDE''' correspond to a nesting application including grids '''a''', '''b''', '''d''', and '''e'''.
In the Menu above, the link '''Lake Jersey ACDE''' correspond to a nesting application including grids '''a''', '''c''', '''d''', and '''e'''.




[[Image:Lake_Jersey_grids.png|thumb|800px|left|Click image to view full resolution]]
[[Image:Lake_Jersey_grids.png|thumb|800px|left|Click image to view full resolution]]

Revision as of 03:36, 9 December 2014

Lake Jersey Nesting Refinement Example


The Lake Jersey idealized example is used in ROMS to test the nesting algorithms for the Refinement Grids Super-Class. Various configurations of refined grids are possible including refinement ratio, telescoping grids, and nesting layers. Currently, there are four refined grids inside the coarse grid. The following table summarize the nested grids information:

Lake Jersey Grid Information
Grid Mesh
Size
Refinement
Factor
Parent
Imin
Parent
Imax
Parent
Jmin
Parent
Jmax
Δx
Δy
Grid NetCDF File
a 100x 80x8 - - - - - 500.0 m lake_jersey_grd_a.nc
b 66x99x8 1:3 from a 9 31 12 45 166.6 m lake_jersey_grd_b.nc
c 120x130x8 1:5 from a 34 58 19 45 100.0 m lake_jersey_grd_c.nc
d 114x60x8 1:3 from a 50 88 50 70 166.6 m lake_jersey_grd_d.nc
e 132x60x8 1:3 from d 36 80 20 40 55.5 m lake_jersey_grd_e.nc



Obtaining Test Cases

The test cases can be obtained using Subversion with the following command:

   svn checkout https://www.myroms.org/svn/src/test 

The configuration and input NetCDF file can be found in the test/lake_jersey sub-directory.


Nested Grid Diagram

The following diagram illustrate the location of all the nested grids. Grid a is the coarser grid at 500m resolution. The above table provides the information of the coordinates used to extract the refined grids from the donor grid. The Matlab script grid_extract.m the refine grids. For example:

 >>  Imin = 34;
>> Imax = 58;
>> Jmin = 19;
>> Jmax = 45;
>> C = grid_extract ('lake_jersey_grd_a.nc', 'lake_jersey_grd_c.nc', 5, Imin, Imax, Jmin, Jmax);

In the Menu above, the link Lake Jersey ACDE correspond to a nesting application including grids a, c, d, and e.


Click image to view full resolution