This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import re | |
import urllib2 | |
path_to_save = '' # create a directory and write the name of directory here | |
data_file = urllib2.urlopen('https://github.com/NREL/EnergyPlus/raw/develop/weather/master.geojson') | |
data = json.load(data_file) | |
# or you can download master.geojson and run the below code instead of downloading from the net | |
# with open('master.geojson') as data_file: | |
# data = json.load(data_file) |