Package ucar.nc2.grib.collection
Class Grib1CollectionBuilder
- java.lang.Object
-
- ucar.nc2.grib.collection.Grib1CollectionBuilder
-
public class Grib1CollectionBuilder extends Object
Builds indexes for collections of Grib1 files. May create GC or PC- Since:
- 2/5/14
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Grib1CollectionBuilder.VariableBag
-
Field Summary
Fields Modifier and Type Field Description protected MCollection
dcm
protected File
directory
protected boolean
isGrib1
protected String
name
protected GribCollectionImmutable.Type
type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group>
makeGroups(List<MFile> allFiles, boolean singleRuntime, Formatter errlog)
protected boolean
writeIndex(String name, String indexFilepath, CoordinateRuntime masterRuntime, List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups, List<MFile> files, CalendarDateRange dateRange)
-
-
-
Field Detail
-
dcm
protected final MCollection dcm
-
isGrib1
protected final boolean isGrib1
-
type
protected GribCollectionImmutable.Type type
-
name
protected final String name
-
directory
protected final File directory
-
-
Method Detail
-
makeGroups
public List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> makeGroups(List<MFile> allFiles, boolean singleRuntime, Formatter errlog) throws IOException
- Throws:
IOException
-
writeIndex
protected boolean writeIndex(String name, String indexFilepath, CoordinateRuntime masterRuntime, List<? extends ucar.nc2.grib.collection.GribCollectionBuilder.Group> groups, List<MFile> files, CalendarDateRange dateRange) throws IOException
- Throws:
IOException
-
-