public class Grib2Utils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Grib2Utils.LatLonCoordType |
| Constructor and Description |
|---|
Grib2Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
clean(String s) |
static String |
cleanupHeader(byte[] raw) |
static CalendarPeriod |
getCalendarPeriod(int timeUnit) |
static Grib2Utils.LatLonCoordType |
getLatLon2DcoordType(String desc) |
static VertCoord.VertUnit |
getLevelUnit(int code)
Unit of vertical coordinate.
|
static String |
getVariableName(Grib2Record gr) |
static boolean |
isLatLon(int gridTemplate,
int center) |
static boolean |
isLatLon2D(int gridTemplate,
int center) |
static boolean |
isLayer(Grib2Pds pds)
Check to see if this pds is a layer variable
LOOK compare to Grib2Utils.getLevelUnit(coord.getCode());
|
static boolean |
isLevelUsed(int code) |
public static String getVariableName(Grib2Record gr)
public static CalendarPeriod getCalendarPeriod(int timeUnit)
public static VertCoord.VertUnit getLevelUnit(int code)
code - code from table 4.5public static boolean isLevelUsed(int code)
public static boolean isLayer(Grib2Pds pds)
pds - record to checkpublic static boolean isLatLon(int gridTemplate,
int center)
public static boolean isLatLon2D(int gridTemplate,
int center)
public static Grib2Utils.LatLonCoordType getLatLon2DcoordType(String desc)
public static String cleanupHeader(byte[] raw)
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.