Class DatasetFilter.ByDataType

    • Constructor Detail

      • ByDataType

        public ByDataType​(ucar.nc2.constants.FeatureType type)
    • Method Detail

      • accept

        public int accept​(InvDataset d)
        Description copied from interface: DatasetFilter
        Decision function as to whether to accept this dataset or not.
        Specified by:
        accept in interface DatasetFilter
        Parameters:
        d - dataset to filter
        Returns:
        1 if pass, -1 if fail, 0 is dont know.