@classmethod<EOL><INDENT>def from_json(cls, data):<DEDENT>
<EOL>stat_ob = cls(None)<EOL>option_keys_none = ('<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>')<EOL>option_keys_list = ('<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>')<EOL>option_keys_dict = ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>assert '<STR_LIT:location>' in data, '<STR_LIT>'<EOL>for key in option_keys_none:<EOL><INDENT>if key not in data:<EOL><INDENT>data[key] = None<EOL><DEDENT><DEDENT>for key in option_keys_list:<EOL><INDENT>if key not in data:<EOL><INDENT>data[key] = []<EOL><DEDENT><DEDENT>for key in option_keys_dict:<EOL><INDENT>if key not in data:<EOL><INDENT>data[key] = {}<EOL><DEDENT><DEDENT>stat_ob._location = Location.from_json(data['<STR_LIT:location>'])<EOL>stat_ob._ashrae_climate_zone = data['<STR_LIT>']<EOL>stat_ob._koppen_climate_zone = data['<STR_LIT>']<EOL>stat_ob._extreme_cold_week = AnalysisPeriod.from_json(data['<STR_LIT>'])if data['<STR_LIT>'] else None<EOL>stat_ob._extreme_hot_week = AnalysisPeriod.from_json(data['<STR_LIT>'])if data['<STR_LIT>'] else None<EOL>stat_ob._typical_weeks = {}<EOL>for key, val in data['<STR_LIT>'].items():<EOL><INDENT>if isinstance(val, list):<EOL><INDENT>stat_ob._typical_weeks[key] = [AnalysisPeriod.from_json(v) for v in val]<EOL><DEDENT>else:<EOL><INDENT>stat_ob._typical_weeks[key] = AnalysisPeriod.from_json(val)<EOL><DEDENT><DEDENT>stat_ob._winter_des_day_dict = data['<STR_LIT>']<EOL>stat_ob._summer_des_day_dict = data['<STR_LIT>']<EOL>stat_ob._monthly_db_50 = data['<STR_LIT>']<EOL>stat_ob._monthly_wb_50 = data['<STR_LIT>']<EOL>stat_ob._monthly_db_range_50 = data['<STR_LIT>']<EOL>stat_ob._monthly_wb_range_50 = data['<STR_LIT>']<EOL>stat_ob._monthly_db_100 = data['<STR_LIT>']<EOL>stat_ob._monthly_wb_100 = data['<STR_LIT>']<EOL>stat_ob._monthly_db_20 = data['<STR_LIT>']<EOL>stat_ob._monthly_wb_20 = data['<STR_LIT>']<EOL>stat_ob._monthly_db_04 = data['<STR_LIT>']<EOL>stat_ob._monthly_wb_04 = data['<STR_LIT>']<EOL>stat_ob._monthly_wind = data['<STR_LIT>']<EOL>stat_ob._monthly_wind_dirs = data['<STR_LIT>']<EOL>stat_ob._stand_press_at_elev = data['<STR_LIT>']<EOL>stat_ob._monthly_tau_beam = data['<STR_LIT>']<EOL>stat_ob._monthly_tau_diffuse = data['<STR_LIT>']<EOL>return stat_ob<EOL>
Create STAT from json dictionary.

            Args:
                data: {
                'location': {} , // ladybug location schema
                'ashrae_climate_zone': str,
                'koppen_climate_zone': str,
                'extreme_cold_week': {}, // ladybug analysis period schema
                'extreme_hot_week': {}, // ladybug analysis period schema
                'typical_weeks': {}, // dict of ladybug analysis period schemas
                'heating_dict': {}, // dict containing heating design conditions
                'cooling_dict': {}, // dict containing cooling design conditions
                "monthly_db_50": [],  // list of 12 float values for each month
                "monthly_wb_50": [],  // list of 12 float values for each month
                "monthly_db_range_50": [],  // list of 12 float values for each month
                "monthly_wb_range_50": [],  // list of 12 float values for each month
                "monthly_db_100": [],  // list of 12 float values for each month
                "monthly_wb_100": [],  // list of 12 float values for each month
                "monthly_db_20": [],  // list of 12 float values for each month
                "monthly_wb_20": [],  // list of 12 float values for each month
                "monthly_db_04": [],  // list of 12 float values for each month
                "monthly_wb_04": [],  // list of 12 float values for each month
                "monthly_wind": [],  // list of 12 float values for each month
                "monthly_wind_dirs": [], // matrix with 12 cols for months of the year
                    and 8 rows for the cardinal directions.
                "standard_pressure_at_elev": float, // float value for pressure in Pa
                "monthly_tau_beam":[], // list of 12 float values for each month
                "monthly_tau_diffuse": [] // list of 12 float values for each month
            }