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