public class Grib2NetcdfWriter extends Object implements AutoCloseable
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
IOException
public void write() throws IOException
IOException
public 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 AutoCloseable
IOException
public static void main2(String[] args)
public static void main(String[] args)
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.