public void map(Object key, Text value, Context context)
				throws IOException, InterruptedException {
			String[] flightData = new CSVParser().parseLine(value.toString());
			ProcessingIntermediumKey emitKeyDep = new ProcessingIntermediumKey();
			try {
				emitKeyDep.year = Integer.parseInt(flightData[INDEX_YEAR]);
				emitKeyDep.month = Integer.parseInt(flightData[INDEX_MONTH]);
				emitKeyDep.day = Integer.parseInt(flightData[INDEX_DAY]);
				emitKeyDep.time = Integer
						.parseInt(flightData[INDEX_CRS_DEP_TIME]);
			} catch (Exception e) {
				return;
			}
			emitKeyDep.airport = flightData[INDEX_ORIGIN];
			double weatherDelay = 0;
			try {
				weatherDelay = Double
						.parseDouble(flightData[INDEX_WEATHER_DELAY]);
			} catch (NumberFormatException e) {
				weatherDelay = 0;
			}
			context.write(emitKeyDep, new DoubleWritable(weatherDelay));

			ProcessingIntermediumKey emitKeyArr = new ProcessingIntermediumKey();
			try {
				emitKeyArr.year = Integer.parseInt(flightData[INDEX_YEAR]);
				emitKeyArr.month = Integer.parseInt(flightData[INDEX_MONTH]);
				emitKeyArr.day = Integer.parseInt(flightData[INDEX_DAY]);
				emitKeyArr.time = Integer
						.parseInt(flightData[INDEX_CRS_ARR_TIME]);
				emitKeyArr.airport = flightData[INDEX_DEST];
			} catch (Exception e) {
				return;
			}
			context.write(emitKeyArr, new DoubleWritable(weatherDelay));
		}