Package ucar.nc2.ft2.coverage.remote
Class CdmrfWriter
- java.lang.Object
-
- ucar.nc2.ft2.coverage.remote.CdmrfWriter
-
public class CdmrfWriter extends Object
Server side for Cdmrf- Since:
- 5/1/2015
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
MAGIC_START
static int
MAX_INLINE_NVALUES
-
Constructor Summary
Constructors Constructor Description CdmrfWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CdmrFeatureProto.AxisType
convertAxisType(AxisType dtype)
static CdmrFeatureProto.Calendar
convertCalendar(Calendar type)
static CdmrFeatureProto.CoverageType
convertCoverageType(FeatureType type)
static CdmrFeatureProto.DependenceType
convertDependenceType(CoverageCoordAxis.DependenceType type)
static CdmrFeatureProto.AxisSpacing
convertSpacing(CoverageCoordAxis.Spacing type)
CdmrFeatureProto.CoverageDataResponse
encodeDataResponse(Iterable<CoverageCoordAxis> axes, Iterable<CoverageCoordSys> coordSys, Iterable<CoverageTransform> transforms, List<GeoReferencedArray> arrays, boolean deflate)
CdmrFeatureProto.GeoReferencedArray.Builder
encodeGeoReferencedArray(GeoReferencedArray geoArray, boolean deflate)
long
sendHeader(OutputStream out, CoverageCollection gridDataset, String location)
-
-
-
Field Detail
-
MAGIC_START
public static final byte[] MAGIC_START
-
MAX_INLINE_NVALUES
public static final int MAX_INLINE_NVALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
sendHeader
public long sendHeader(OutputStream out, CoverageCollection gridDataset, String location) throws IOException
- Throws:
IOException
-
convertAxisType
public static CdmrFeatureProto.AxisType convertAxisType(AxisType dtype)
-
convertCalendar
public static CdmrFeatureProto.Calendar convertCalendar(Calendar type)
-
convertCoverageType
public static CdmrFeatureProto.CoverageType convertCoverageType(FeatureType type)
-
convertDependenceType
public static CdmrFeatureProto.DependenceType convertDependenceType(CoverageCoordAxis.DependenceType type)
-
convertSpacing
public static CdmrFeatureProto.AxisSpacing convertSpacing(CoverageCoordAxis.Spacing type)
-
encodeDataResponse
public CdmrFeatureProto.CoverageDataResponse encodeDataResponse(Iterable<CoverageCoordAxis> axes, Iterable<CoverageCoordSys> coordSys, Iterable<CoverageTransform> transforms, List<GeoReferencedArray> arrays, boolean deflate)
-
encodeGeoReferencedArray
public CdmrFeatureProto.GeoReferencedArray.Builder encodeGeoReferencedArray(GeoReferencedArray geoArray, boolean deflate)
-
-