Package ucar.gcdm
Class GcdmConverter
- java.lang.Object
-
- ucar.gcdm.GcdmConverter
-
public class GcdmConverter extends Object
Convert between Gcdm Protos and Netcdf objects, using Array for data.
-
-
Constructor Summary
Constructors Constructor Description GcdmConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataType
convertDataType(GcdmNetcdfProto.DataType protoDataType)
static GcdmNetcdfProto.DataType
convertDataType(DataType dataType)
static Array
decodeData(GcdmNetcdfProto.Data protoData)
static void
decodeGroup(GcdmNetcdfProto.Group protoGroup, Group.Builder groupBuilder)
static GcdmNetcdfProto.Data
encodeData(DataType dataType, Array data)
static GcdmNetcdfProto.Group.Builder
encodeGroup(Group group, int sizeToCache)
-
-
-
Method Detail
-
encodeGroup
public static GcdmNetcdfProto.Group.Builder encodeGroup(Group group, int sizeToCache) throws IOException
- Throws:
IOException
-
encodeData
public static GcdmNetcdfProto.Data encodeData(DataType dataType, Array data)
-
decodeGroup
public static void decodeGroup(GcdmNetcdfProto.Group protoGroup, Group.Builder groupBuilder)
-
decodeData
public static Array decodeData(GcdmNetcdfProto.Data protoData)
-
convertDataType
public static GcdmNetcdfProto.DataType convertDataType(DataType dataType)
-
convertDataType
public static DataType convertDataType(GcdmNetcdfProto.DataType protoDataType)
-
-