public class Grib2Utils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Grib2Utils.LatLon2DCoord |
static class |
Grib2Utils.LatLonCoordType |
Constructor and Description |
---|
Grib2Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
clean(java.lang.String s) |
static java.lang.String |
cleanupHeader(byte[] raw) |
static CalendarPeriod |
getCalendarPeriod(int timeUnit) |
static Grib2Utils.LatLon2DCoord |
getLatLon2DcoordType(int discipline,
int category,
int parameter) |
static Grib2Utils.LatLonCoordType |
getLatLon2DcoordType(java.lang.String desc)
This looks for snippets in the variable name/desc as to whether it wants U, V, or P 2D coordinates
|
static java.lang.String |
getVariableName(Grib2Record gr) |
static boolean |
isCurvilinearOrthogonal(int gridTemplate,
int center) |
static boolean |
isLatLon(int gridTemplate,
int center) |
static boolean |
isLayer(Grib2Pds pds)
Check to see if this pds is a layer variable
|
public static java.lang.String clean(java.lang.String s)
public static java.lang.String cleanupHeader(byte[] raw)
public static java.lang.String getVariableName(Grib2Record gr)
@Nullable public static CalendarPeriod getCalendarPeriod(int timeUnit)
public static boolean isLayer(Grib2Pds pds)
pds
- record to checkpublic static boolean isLatLon(int gridTemplate, int center)
public static boolean isCurvilinearOrthogonal(int gridTemplate, int center)
@Nullable public static Grib2Utils.LatLon2DCoord getLatLon2DcoordType(int discipline, int category, int parameter)
public static Grib2Utils.LatLonCoordType getLatLon2DcoordType(java.lang.String desc)
desc
- variable name/desc