public class Grib1TimePartitionBuilder extends Grib1CollectionBuilder
GribCollectionBuilder.GcMFile| Modifier and Type | Field and Description |
|---|---|
static String |
MAGIC_START |
cust, gc, minVersionSingle, 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 Grib1TimePartition factory(TimePartitionCollection tpc, CollectionManager.Force force, org.slf4j.Logger logger) throws IOException
IOExceptionpublic static Grib1TimePartition 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 Grib1CollectionBuilderprotected GribCollectionProto.TimeCoordUnion writeTimeCoordUnionProto(TimeCoordUnion tcu, int index) throws IOException
IOExceptionprotected boolean readPartitions(GribCollectionProto.GribCollectionIndex proto, String directory)
readPartitions in class Grib1CollectionBuilderprotected void readTimePartitions(GribCollection.GroupHcs group, GribCollectionProto.Group proto)
readTimePartitions in class Grib1CollectionBuilderprotected TimeCoord readTimePartition(GribCollectionProto.TimeCoordUnion pc, int timeIndex)
protected GribCollection.VariableIndex readVariable(GribCollectionProto.Variable pv, GribCollection.GroupHcs group)
readVariable in class Grib1CollectionBuilderpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 1999–2013 UCAR/Unidata. All rights reserved.