cdm/src/main/java/ucar/nc2/ft2/coverage/remote/CdmrfWriter.java
CdmrFeatureProto.CoordTransform.Builder encodeCoordTransform(CoverageTransform gct) {
    CdmrFeatureProto.CoordTransform.Builder builder = CdmrFeatureProto.CoordTransform.newBuilder();
    builder.setIsHoriz(gct.isHoriz());
    builder.setName(gct.getName());
    for (Attribute att : gct.getAttributes())
      builder.addParams(NcStream.encodeAtt(att));
    return builder;
  }
CdmrFeatureProto.CoordTransform.Builder encodeCoordTransform(CoverageTransform gct) {
    CdmrFeatureProto.CoordTransform.Builder builder = CdmrFeatureProto.CoordTransform.newBuilder();
    builder.setIsHoriz(gct.isHoriz());
    builder.setName(gct.getName());
    for (Attribute att : gct.getAttributes())
      builder.addParams(NcStream.encodeAtt(att));
    return builder;
  }
CdmrFeatureProto . CoordTransform . Builder encodeCoordTransform ( CoverageTransform gct ) { CdmrFeatureProto . CoordTransform . Builder builder = CdmrFeatureProto . CoordTransform . newBuilder ( ) ; builder . setIsHoriz ( gct . isHoriz ( ) ) ; builder . setName ( gct . getName ( ) ) ; for ( Attribute att : gct . getAttributes ( ) ) builder . addParams ( NcStream . encodeAtt ( att ) ) ; return builder ; }
/* message CoordTransform {
required bool isHoriz = 1;
required string name = 2;
repeated Attribute params = 3;
}
/ * message CoordTransform { required bool isHoriz = 1 ; required string name = 2 ; repeated Attribute params = 3 ; }