cdm/src/main/java/ucar/nc2/ft2/coverage/remote/CdmrfWriter.java
CdmrFeatureProto.CoordSys.Builder encodeCoordSys(CoverageCoordSys gcs) {
    CdmrFeatureProto.CoordSys.Builder builder = CdmrFeatureProto.CoordSys.newBuilder();
    builder.setName(gcs.getName());
    builder.setCoverageType(convertCoverageType(gcs.getCoverageType()));

    for (String axis : gcs.getAxisNames())
      builder.addAxisNames(axis);

    for (String gct : gcs.getTransformNames())
      builder.addTransformNames(gct);
    return builder;
  }
CdmrFeatureProto.CoordSys.Builder encodeCoordSys(CoverageCoordSys gcs) {
    CdmrFeatureProto.CoordSys.Builder builder = CdmrFeatureProto.CoordSys.newBuilder();
    builder.setName(gcs.getName());
    builder.setCoverageType(convertCoverageType(gcs.getCoverageType()));

    for (String axis : gcs.getAxisNames())
      builder.addAxisNames(axis);

    for (String gct : gcs.getTransformNames())
      builder.addTransformNames(gct);
    return builder;
  }
CdmrFeatureProto . CoordSys . Builder encodeCoordSys ( CoverageCoordSys gcs ) { CdmrFeatureProto . CoordSys . Builder builder = CdmrFeatureProto . CoordSys . newBuilder ( ) ; builder . setName ( gcs . getName ( ) ) ; builder . setCoverageType ( convertCoverageType ( gcs . getCoverageType ( ) ) ) ; for ( String axis : gcs . getAxisNames ( ) ) builder . addAxisNames ( axis ) ; for ( String gct : gcs . getTransformNames ( ) ) builder . addTransformNames ( gct ) ; return builder ; }
/* message CoordSys {
required string name = 1;               // must be unique in dataset's CoordSys
repeated string axisNames = 2;
repeated string transformNames = 3;
optional CoverageType coverageType = 5;
}
}
/ * message CoordSys { required string name = 1 ; // must be unique in dataset s CoordSys repeated string axisNames = 2 ; repeated string transformNames = 3 ; optional CoverageType coverageType = 5 ; } }