@Override
  protected GribCollectionMutable.VariableIndex readVariableExtensions(GribCollectionMutable.GroupGC group, GribCollectionProto.Variable proto, GribCollectionMutable.VariableIndex vi) {
    """
	/*
	extend Variable {
	repeated PartitionVariable partition = 100;
	repeated Parameter vparams = 101;    // not used yet
	}
    """
    List<GribCollectionProto.PartitionVariable> pvList = proto.getPartVariableList();
    PartitionCollectionMutable.VariableIndexPartitioned vip = pc.makeVariableIndexPartitioned(group, vi, pvList.size());
    vip.setPartitions(pvList);

    // cant put this in the constructor
    vip.ndups = vi.ndups;
    vip.nrecords = vi.nrecords;
    vip.nmissing = vi.nmissing;
    return vip;
  }
@Override
  protected GribCollectionMutable.VariableIndex readVariableExtensions(GribCollectionMutable.GroupGC group, GribCollectionProto.Variable proto, GribCollectionMutable.VariableIndex vi) {
    List<GribCollectionProto.PartitionVariable> pvList = proto.getPartVariableList();
    PartitionCollectionMutable.VariableIndexPartitioned vip = pc.makeVariableIndexPartitioned(group, vi, pvList.size());
    vip.setPartitions(pvList);

    // cant put this in the constructor
    vip.ndups = vi.ndups;
    vip.nrecords = vi.nrecords;
    vip.nmissing = vi.nmissing;
    return vip;
  }
@ Override protected GribCollectionMutable . VariableIndex readVariableExtensions ( GribCollectionMutable . GroupGC group , GribCollectionProto . Variable proto , GribCollectionMutable . VariableIndex vi ) { List < GribCollectionProto . PartitionVariable > pvList = proto . getPartVariableList ( ) ; PartitionCollectionMutable . VariableIndexPartitioned vip = pc . makeVariableIndexPartitioned ( group , vi , pvList . size ( ) ) ; vip . setPartitions ( pvList ) ; // cant put this in the constructor vip . ndups = vi . ndups ; vip . nrecords = vi . nrecords ; vip . nmissing = vi . nmissing ; return vip ; }
/*
extend Variable {
repeated PartitionVariable partition = 100;
repeated Parameter vparams = 101;    // not used yet
}
/ * extend Variable { repeated PartitionVariable partition = 100 ; repeated Parameter vparams = 101 ; // not used yet }