legacy/src/main/java/thredds/catalog/InvCatalogImpl.java
public void filter(DatasetFilter filter) {
    mark(filter, topDataset);
    delete(topDataset);
    this.filter = filter;
  }
public void filter(DatasetFilter filter) {
    mark(filter, topDataset);
    delete(topDataset);
    this.filter = filter;
  }
public void filter ( DatasetFilter filter ) { mark ( filter , topDataset ) ; delete ( topDataset ) ; this . filter = filter ; }
Munge this catalog to remove any dataset that doesnt pass through the filter.

@param filter remove datasets that dont pass this filter.
Munge this catalog to remove any dataset that doesnt pass through the filter .