Class Grib1CollectionBuilder


  • public class Grib1CollectionBuilder
    extends Object
    Builds indexes for collections of Grib1 files. May create GC or PC
    Since:
    2/5/14
    • Field Detail

      • dcm

        protected final thredds.inventory.MCollection dcm
      • isGrib1

        protected final boolean isGrib1
      • name

        protected final String name
      • directory

        protected final File directory
    • Method Detail

      • makeGroups

        public List<ucar.nc2.grib.collection.Grib1CollectionWriter.Group> makeGroups​(List<thredds.inventory.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<thredds.inventory.MFile> files,
                                     ucar.nc2.time.CalendarDateRange dateRange)
                              throws IOException
        Throws:
        IOException