Open nonvachara-paloit opened 2 years ago
Hi,
Sorry that part is not organized yet. The reason that file is missing is because I don't want to commit the data folder. I am working on the notebook to tutorial that, but you can have a look at notebook that start with _1 . It has a section about weather data, but not very well organize yet. Let me know which options work for you.
I understand, and appreciate, that you didn't commit the data folder, and that's why I'm trying follow your instructions on data downloading.
Anyway. I've look into notebooks/_1_pollutions_data.ipynb
, on a cell that use weather_station_info.json
:
weather_station_info = find_weather_stations(city_names, weather_json_file=w_folder + 'weather_station_info.json')
len(weather_station_info)
Inside find_weather_stations
function, the code is trying read that particular file:
# load weather information
with open(weather_json_file, 'r') as f:
station_dict_list = json.load(f)
Fair enough. Then I searched the entire codebase for weather_station_info.json
and cannot file any code that create or scrap this file.
Thank you for your reply. You've done a great job in this repository already :)
Hi,
I'm trying to follow your notebooks. So far I've managed to download some data but now I'm stuck with weather data. The code is trying to read from
weather_station_info.json
but can't seems to find the code that create it anywhere. Could you please point me in the right direction?