/** * Create an Aggregation for the given NetcdfDataset. * The following addXXXX methods are called, then finish(), before the object is ready for use. * * @param ncd Aggregation belongs to this NetcdfDataset * @param dimName the aggregation dimension name * @param type the Aggregation.Type * @param recheckS how often to check if files have changes */ protected Aggregation(NetcdfDataset ncd, String dimName, Type type, String recheckS) { this.ncDataset = ncd; this.dimName = dimName; this.type = type; String name = ncd.getLocation(); if (name == null) name = "Agg-"+Integer.toString(ncd.hashCode()); datasetManager = MFileCollectionManager.openWithRecheck(name, recheckS); }
/** * Create an Aggregation for the given NetcdfDataset. * The following addXXXX methods are called, then finish(), before the object is ready for use. * * @param ncd Aggregation belongs to this NetcdfDataset * @param dimName the aggregation dimension name * @param type the Aggregation.Type * @param recheckS how often to check if files have changes */ protected Aggregation(NetcdfDataset ncd, String dimName, Type type, String recheckS) { this.ncDataset = ncd; this.dimName = dimName; this.type = type; String name = ncd.getLocation(); if (name == null) name = "Agg-"+Integer.toString(ncd.hashCode()); datasetManager = MFileCollectionManager.openWithRecheck(name, recheckS); }
/** * Create an Aggregation for the given NetcdfDataset. * The following addXXXX methods are called, then finish(), before the object is ready for use. * * @param ncd Aggregation belongs to this NetcdfDataset * @param dimName the aggregation dimension name * @param type the Aggregation.Type * @param recheckS how often to check if files have changes */ protected Aggregation(NetcdfDataset ncd, String dimName, Type type, String recheckS) { this.ncDataset = ncd; this.dimName = dimName; this.type = type; String name = ncd.getLocation(); if (name == null) name = "Agg-"+Integer.toString(ncd.hashCode()); datasetManager = MFileCollectionManager.openWithRecheck(name, recheckS); }
realLocationRunTimeMap.put(realLocation, runTime); datasetManager = MFileCollectionManager.openWithRecheck(ncmlLocation, recheck); datasetManager.setFilesAndRunDate(realLocationRunTimeMap); String olderThan = scanElem.getAttributeValue("olderThan"); datasetManager = MFileCollectionManager.openWithRecheck(ncmlLocation, recheck); datasetManager.addDirectoryScan(dirLocation, suffix, regexpPatternString, subdirs, olderThan, null);
String olderThan = scanElem.getAttributeValue("olderThan"); datasetManager = MFileCollectionManager.openWithRecheck(ncmlLocation, recheck); datasetManager.addDirectoryScan(dirLocation, suffix, regexpPatternString, subdirs, olderThan, null);
String olderThan = scanElem.getAttributeValue("olderThan"); datasetManager = MFileCollectionManager.openWithRecheck(ncmlLocation, recheck); datasetManager.addDirectoryScan(dirLocation, suffix, regexpPatternString, subdirs, olderThan, null);