Replaced had_isd file with custom cara list
Amended filename in data.py
This commit is contained in:
parent
15058ec3d6
commit
151ab9af54
3 changed files with 2 additions and 4 deletions
|
|
@ -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
1
cara/data/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
cara_weather_stations.txt filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4843d34b6e4c26d4382860e011451d5f32157b9a3660830f8d2894a11d022298
|
||||
size 772370
|
||||
Loading…
Reference in a new issue