Replaced had_isd file with custom cara list

Amended filename in data.py
This commit is contained in:
jdevine 2021-08-26 00:31:59 +02:00
parent 15058ec3d6
commit 151ab9af54
3 changed files with 2 additions and 4 deletions

View file

@ -18,7 +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(__file__).parent / 'data' / 'hadisd_station_fullinfo_v311_202001p.txt'
station_file = Path(__file__).parent / 'data' / 'cara_weather_stations.txt'
for line in station_file.open('rt'):
start_end_positions = zip(fixed_delimits[:-1], fixed_delimits[1:])

1
cara/data/.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
cara_weather_stations.txt filter=lfs diff=lfs merge=lfs -text

View file

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4843d34b6e4c26d4382860e011451d5f32157b9a3660830f8d2894a11d022298
size 772370