replace the two functions to write csv with one to write csv and two to return a list of values
check if the list of values is empty: it happen for some parameters whit this coordinates 10.00429, 45.61886, 213