From 8fe4825a11b58357ec730962350d8b4e472d0030 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Fri, 20 Aug 2021 14:07:30 +0200 Subject: [PATCH] updated coordinates file path --- cara/data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cara/data.py b/cara/data.py index 39516547..77bb812b 100644 --- a/cara/data.py +++ b/cara/data.py @@ -18,8 +18,7 @@ def location_to_weather_stn(location_loc): long = [] station_array = [] fixed_delimits = [0, 12, 13, 44, 51, 60, 69, 90, 91] - station_file = Path( - os.getcwd()+'/cara/hadisd_station_fullinfo_v311_202001p.txt') + station_file = Path('/cara/hadisd_station_fullinfo_v311_202001p.txt') for line in station_file.open('rt'): start_end_positions = zip(fixed_delimits[:-1], fixed_delimits[1:])