public class Grib1CollectionBuilder extends 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 thredds.inventory.MCollection |
dcm |
protected File |
directory |
protected boolean |
isGrib1 |
protected String |
name |
protected GribCollectionImmutable.Type |
type |
| Constructor and Description |
|---|
Grib1CollectionBuilder(String name,
thredds.inventory.MCollection dcm,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createIndex(thredds.featurecollection.FeatureCollectionConfig.PartitionType ptype,
Formatter errlog) |
List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> |
makeGroups(List<thredds.inventory.MFile> allFiles,
boolean singleRuntime,
Formatter errlog) |
boolean |
updateNeeded(thredds.inventory.CollectionUpdateType ff) |
protected boolean |
writeIndex(String name,
String indexFilepath,
CoordinateRuntime masterRuntime,
List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups,
List<thredds.inventory.MFile> files,
ucar.nc2.time.CalendarDateRange dateRange) |
protected final thredds.inventory.MCollection dcm
protected final boolean isGrib1
protected GribCollectionImmutable.Type type
protected String name
protected File directory
public Grib1CollectionBuilder(String name, thredds.inventory.MCollection dcm, org.slf4j.Logger logger)
public List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> makeGroups(List<thredds.inventory.MFile> allFiles, boolean singleRuntime, Formatter errlog) throws IOException
IOExceptionprotected boolean writeIndex(String name, String indexFilepath, CoordinateRuntime masterRuntime, List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups, List<thredds.inventory.MFile> files, ucar.nc2.time.CalendarDateRange dateRange) throws IOException
IOExceptionpublic boolean updateNeeded(thredds.inventory.CollectionUpdateType ff)
throws IOException
IOExceptionpublic boolean createIndex(thredds.featurecollection.FeatureCollectionConfig.PartitionType ptype,
Formatter errlog)
throws IOException
IOException