public class Grib1CollectionBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Grib1CollectionBuilder.VariableBag |
static interface |
ucar.nc2.grib.collection.GribCollectionBuilder.Group |
protected static class |
ucar.nc2.grib.collection.GribCollectionBuilder.GroupAndRuntime |
Modifier and Type | Field and Description |
---|---|
protected MCollection |
dcm |
protected java.io.File |
directory |
protected boolean |
isGrib1 |
protected java.lang.String |
name |
protected GribCollectionImmutable.Type |
type |
Constructor and Description |
---|
Grib1CollectionBuilder(java.lang.String name,
MCollection dcm,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
createIndex(FeatureCollectionConfig.PartitionType ptype,
java.util.Formatter errlog) |
java.util.List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> |
makeGroups(java.util.List<MFile> allFiles,
boolean singleRuntime,
java.util.Formatter errlog) |
boolean |
updateNeeded(CollectionUpdateType ff) |
protected boolean |
writeIndex(java.lang.String name,
java.lang.String indexFilepath,
CoordinateRuntime masterRuntime,
java.util.List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups,
java.util.List<MFile> files) |
protected final MCollection dcm
protected final boolean isGrib1
protected GribCollectionImmutable.Type type
protected java.lang.String name
protected java.io.File directory
public Grib1CollectionBuilder(java.lang.String name, MCollection dcm, org.slf4j.Logger logger)
public java.util.List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> makeGroups(java.util.List<MFile> allFiles, boolean singleRuntime, java.util.Formatter errlog) throws java.io.IOException
java.io.IOException
protected boolean writeIndex(java.lang.String name, java.lang.String indexFilepath, CoordinateRuntime masterRuntime, java.util.List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups, java.util.List<MFile> files) throws java.io.IOException
java.io.IOException
public boolean updateNeeded(CollectionUpdateType ff) throws java.io.IOException
java.io.IOException
public boolean createIndex(FeatureCollectionConfig.PartitionType ptype, java.util.Formatter errlog) throws java.io.IOException
java.io.IOException