public class Grib2NetcdfWriter extends Object implements Closeable
| Constructor and Description |
|---|
Grib2NetcdfWriter(String fileIn,
String fileOut) |
| Modifier and Type | Method and Description |
|---|---|
static float |
bitShave(float value,
int bitMask)
Shave n bits off the float
|
void |
close() |
static int |
getBitMask(int bitN) |
static void |
main(String[] args) |
static void |
main2(String[] args) |
void |
write() |
public Grib2NetcdfWriter(String fileIn, String fileOut) throws IOException
IOExceptionpublic void write()
throws IOException
IOExceptionpublic static int getBitMask(int bitN)
public static float bitShave(float value,
int bitMask)
value - original floating pointbitMask - bitMask from getBitMask()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic static void main2(String[] args)
public static void main(String[] args)