ucar.nc2.iosp.grads
Class GradsUtil

java.lang.Object
  extended by ucar.nc2.iosp.grads.GradsUtil

public class GradsUtil
extends Object

Utility class for GrADS stuff

Author:
Don Murray CU/CIRES

Field Summary
static String GAUSR15
          GAUSR15 identifier
static String GAUSR20
          GAUSR20 identifier
static String GAUSR30
          GAUSR30 identifier
static String GAUSR40
          GAUSR40 identifier
static String GAUST62
          GAUST62 identifier
 
Constructor Summary
GradsUtil()
           
 
Method Summary
static double[] getGaussianLatitudes(String type, int start, int num)
          Get the latitude values for the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GAUSR15

public static final String GAUSR15
GAUSR15 identifier

See Also:
Constant Field Values

GAUSR20

public static final String GAUSR20
GAUSR20 identifier

See Also:
Constant Field Values

GAUSR30

public static final String GAUSR30
GAUSR30 identifier

See Also:
Constant Field Values

GAUSR40

public static final String GAUSR40
GAUSR40 identifier

See Also:
Constant Field Values

GAUST62

public static final String GAUST62
GAUST62 identifier

See Also:
Constant Field Values
Constructor Detail

GradsUtil

public GradsUtil()
Method Detail

getGaussianLatitudes

public static double[] getGaussianLatitudes(String type,
                                            int start,
                                            int num)
                                     throws IllegalArgumentException
Get the latitude values for the given type.

Parameters:
type - gaussian type
start - starting index (1 based)
num - number of values
Returns:
the values
Throws:
IllegalArgumentException - invalid or unsupported type


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.