public class Grib2TimePartitionBuilder extends Grib2CollectionBuilder
GribCollectionBuilder.GcMFile| Modifier and Type | Field and Description |
|---|---|
static String |
MAGIC_START |
gc, minVersionSingle, tables, versiondcm, isSingleFile, loggercreateFromIndex, factory, makeAggregatedGroups, needsUpdate, readIndex, readIndex, readOrCreateIndexFromSingleFile, update, writeCoordProto, writeCoordProto, writeCoordProto, writeIndexFile, writeParamProtomakeFilespublic static final String MAGIC_START
public static boolean update(TimePartitionCollection tpc, org.slf4j.Logger logger) throws IOException
IOExceptionpublic static Grib2TimePartition factory(TimePartitionCollection tpc, CollectionManager.Force force, org.slf4j.Logger logger) throws IOException
IOExceptionpublic static Grib2TimePartition createFromIndex(String name, File directory, RandomAccessFile raf, org.slf4j.Logger logger) throws IOException
IOExceptionpublic static boolean writeIndexFile(TimePartitionCollection tpc, CollectionManager.Force force, org.slf4j.Logger logger) throws IOException
tpc - use this collectionforce - force indexIOException - on errorpublic String getMagicStart()
getMagicStart in class Grib2CollectionBuilderprotected GribCollectionProto.TimeCoordUnion writeTimeCoordUnionProto(TimeCoordUnion tcu, int index) throws IOException
IOExceptionprotected boolean readPartitions(GribCollectionProto.GribCollectionIndex proto, String dirname)
readPartitions in class Grib2CollectionBuilderprotected void readTimePartitions(GribCollection.GroupHcs group, GribCollectionProto.Group proto)
readTimePartitions in class Grib2CollectionBuilderprotected TimeCoord readTimePartition(GribCollectionProto.TimeCoordUnion pc, int timeIndex)
protected GribCollection.VariableIndex readVariable(GribCollectionProto.Variable pv, GribCollection.GroupHcs group)
readVariable in class Grib2CollectionBuilderpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.