Data visualization loop is corrected
Function for observatinal data extraction (by day)