public class GribData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
GribData.Bean |
static class |
GribData.Info |
static class |
GribData.InterpolationMethod |
Constructor and Description |
---|
GribData() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
calcScaleOffset(GribData.Bean bean1,
java.util.Formatter f) |
static byte[] |
compressScaled(GribData.Bean bean) |
static byte[] |
convertToBytes(float[] data) |
static byte[] |
convertToBytes(int[] data) |
static double |
entropy(byte[] data) |
static double |
entropy(int nbits,
int[] data) |
static GribData.InterpolationMethod |
getInterpolationMethod() |
static void |
setInterpolationMethod(GribData.InterpolationMethod interpolationMethod) |
static float[] |
uncompressScaled(byte[] bdata) |
public static GribData.InterpolationMethod getInterpolationMethod()
public static void setInterpolationMethod(GribData.InterpolationMethod interpolationMethod)
public static byte[] calcScaleOffset(GribData.Bean bean1, java.util.Formatter f)
public static byte[] compressScaled(GribData.Bean bean) throws java.io.IOException
java.io.IOException
public static float[] uncompressScaled(byte[] bdata) throws java.io.IOException
java.io.IOException
public static byte[] convertToBytes(float[] data)
public static byte[] convertToBytes(int[] data)
public static double entropy(byte[] data)
public static double entropy(int nbits, int[] data)