001    /**
002     * 
003     */
004    package org.wdssii.dualpol.icing;
005    
006    import org.wdssii.core.LatLonGrid;
007    
008    /**
009     * @author lakshman
010     *
011     */
012    public class IcingGrids {
013            public static final String[] gridTypes = new String[]{ "DZ", "DR", "KD", "RH", "PO" };
014    
015            private LatLonGrid[][] grids;
016            
017            public IcingGrids(LatLonGrid[][] grids){
018                    assert(grids.length == gridTypes.length);
019                    this.grids = grids;
020            }
021            
022            public LatLonGrid[] getGrids(int gridTypeIndex){
023                    return grids[gridTypeIndex];
024            }
025            
026            public LatLonGrid getGrid(int gridTypeIndex, int htIndex){
027                    return grids[gridTypeIndex][htIndex];
028            }
029    }