Package ucar.nc2.iosp.grads
Class GradsUtil
- java.lang.Object
-
- ucar.nc2.iosp.grads.GradsUtil
-
public class GradsUtil extends Object
Utility class for GrADS stuff
-
-
Constructor Summary
Constructors Constructor Description GradsUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double[]
getGaussianLatitudes(String type, int start, int num)
Get the latitude values for the given type.
-
-
-
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
-
-
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 typestart
- starting index (1 based)num
- number of values- Returns:
- the values
- Throws:
IllegalArgumentException
- invalid or unsupported type
-
-