added extract_wave_flux_var()