adding local_hourly_ADV_wave.m
fixed some bugs