this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; } else {
this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; } else {
this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; } else {
DatasetOuterDimension(MFile cd) { super(cd); if ((type == Type.joinNew) || (type == Type.joinExistingOne)) { this.ncoord = 1; } // default is that the coordinates are just the filenames // this can be overriden by an explicit declaration, which will replace the variable afte ther agg is processed in NcMLReader if ((type == Type.joinNew) || (type == Type.joinExistingOne) || (type == Type.forecastModelRunCollection)) { this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; this.isStringValued = true; } if (null != dateFormatMark) { String filename = cd.getName(); // LOOK operates on name, not path coordValueDate = DateFromString.getDateUsingDemarkatedCount(filename, dateFormatMark, '#'); coordValue = dateFormatter.toDateTimeStringISO(coordValueDate); if (debugDateParse) System.out.println(" adding " + cd.getPath() + " date= " + coordValue); } else { if (debugDateParse) System.out.println(" adding " + cd.getPath()); } if ((coordValue == null) && (type == Type.joinNew)) // use filename as coord value coordValue = cd.getName(); }
DatasetOuterDimension(MFile cd) { super(cd); if ((type == Type.joinNew) || (type == Type.joinExistingOne)) { this.ncoord = 1; } // default is that the coordinates are just the filenames // this can be overriden by an explicit declaration, which will replace the variable afte ther agg is processed in NcMLReader if ((type == Type.joinNew) || (type == Type.joinExistingOne) || (type == Type.forecastModelRunCollection)) { this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; this.isStringValued = true; } if (null != dateFormatMark) { String filename = cd.getName(); // LOOK operates on name, not path coordValueDate = DateFromString.getDateUsingDemarkatedCount(filename, dateFormatMark, '#'); coordValue = dateFormatter.toDateTimeStringISO(coordValueDate); if (debugDateParse) System.out.println(" adding " + cd.getPath() + " date= " + coordValue); } else { if (debugDateParse) System.out.println(" adding " + cd.getPath()); } if ((coordValue == null) && (type == Type.joinNew)) // use filename as coord value coordValue = cd.getName(); }
DatasetOuterDimension(MFile cd) { super(cd); if ((type == Type.joinNew) || (type == Type.joinExistingOne)) { this.ncoord = 1; } // default is that the coordinates are just the filenames // this can be overriden by an explicit declaration, which will replace the variable afte ther agg is processed in NcMLReader if ((type == Type.joinNew) || (type == Type.joinExistingOne) || (type == Type.forecastModelRunCollection)) { this.coordValue = extractCoordNameFromFilename(this.getLocation()); this.isStringValued = true; this.isStringValued = true; } if (null != dateFormatMark) { String filename = cd.getName(); // LOOK operates on name, not path coordValueDate = DateFromString.getDateUsingDemarkatedCount(filename, dateFormatMark, '#'); coordValue = dateFormatter.toDateTimeStringISO(coordValueDate); if (debugDateParse) System.out.println(" adding " + cd.getPath() + " date= " + coordValue); } else { if (debugDateParse) System.out.println(" adding " + cd.getPath()); } if ((coordValue == null) && (type == Type.joinNew)) // use filename as coord value coordValue = cd.getName(); }