# -*- coding: utf-8 -*-

PATH_FILE_RASTR_LOAD = r"L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy\БРМ Зима максимумPY.rg2"
PATH_FILE_RASTR_SAVE = r"L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy\БРМ Зима максимумPY.rg2"
DIR_PATH_FILE_RASTR_SAVE = r'L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy'

# Настройка эквивалентирования районов
area_json = [
    {
        "area_name": "Свердловская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 102
    },
    {
        "area_name": "Челябинская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 103
    },
    {
        "area_name": "Тюменская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 109
    },
    {
        "area_name": "Курганская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 105
    },
    {
        "area_name": "Ханты-Мансийский автономный округ - Югра",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 8080
    },
    {
        "area_name": "Кировская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 108
    },
    {
        "area_name": "Нижегородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 2090
    },
    {
        "area_name": "Оренбургская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8081
    },
    {
        "area_name": "Пензенская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 204
    },
    {
        "area_name": "Пермский край",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8074
    },
    {
        "area_name": "Республика Башкортостан",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 104
    },
    {
        "area_name": "Республика М<NAME>",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 208
    },
    {
        "area_name": "Республика Мордовия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 207
    },
    {
        "area_name": "Республика Татарстан (Татарстан)",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 205
    },
    {
        "area_name": "Самарская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 813
    },
    {
        "area_name": "Саратовская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 202
    },
    {
        "area_name": "Удмуртская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 107
    },
    {
        "area_name": "Ульяновская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 203
    },
    {
        "area_name": "Чувашская Республика - Чувашия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 206
    },
    {
        "area_name": "Астраханская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 312
    },
    {
        "area_name": "Волгоградская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 311
    },
    {
        "area_name": "Краснодарский край",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 3020
    },
    {
        "area_name": "Республика Калмыкия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 309
    },
    {
        "area_name": "Ростовская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 301
    },
    {
        "area_name": "Республика Крым",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8078
    },
    {
        "area_name": "Архангельская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 408
    },
    {
        "area_name": "Ленинградская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8071
    },
    {
        "area_name": "Мурманская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 401
    },
    {
        "area_name": "Калининградская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 407
    },
    {
        "area_name": "Новгородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 404
    },
    {
        "area_name": "Псковская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 405
    },
    {
        "area_name": "Республика Карелия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 402
    },
    {
        "area_name": "Республика Коми",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 409
    },
    {
        "area_name": "Санкт-Петербург",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8072
    },
    {
        "area_name": "Финляндская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 801
    },
    {
        "area_name": "Эстонская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 805
    },
    {
        "area_name": "Латвийская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 806
    },
    {
        "area_name": "Швеция",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 819
    },
    {
        "area_name": "Литовская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8070
    },
    {
        "area_name": "Западный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 803
    },
    {
        "area_name": "Центральный регион ",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8083
    },
    {
        "area_name": "Южный регион ",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8073
    },
    {
        "area_name": "Днепровский регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8075
    },
    {
        "area_name": "Донбасский регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8076
    },
    {
        "area_name": "Северный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8077
    },
    {
        "area_name": "Юго-Западный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8079
    },
    {
        "area_name": "Республика Беларусь",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 807
    },
    {
        "area_name": "Москва",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 510
    },
    {
        "area_name": "Тульская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 511
    },
    {
        "area_name": "Ивановская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 513
    },
    {
        "area_name": "Владимирская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 514
    },
    {
        "area_name": "Ярославская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 515
    },
    {
        "area_name": "Костромская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 516
    },
    {
        "area_name": "Тверская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 517
    },
    {
        "area_name": "Смоленская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 518
    },
    {
        "area_name": "Брянская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 519
    },
    {
        "area_name": "Орловская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 521
    },
    {
        "area_name": "Курская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 523
    },
    {
        "area_name": "Липецкая область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 524
    },
    {
        "area_name": "Воронежская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 526
    },
    {
        "area_name": "Белгородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 527
    },
    {
        "area_name": "Тамбовская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 528
    },
    {
        "area_name": "Вологодская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 529
    },
    {
        "area_name": "Рязанская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 531
    },
    {
        "area_name": "Калужская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 532
    },
    {
        "area_name": "Московская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8082
    }
]
# -*- coding: utf-8 -*-

PATH_FILE_RASTR_LOAD = r"L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy\БРМ Зима максимумPY.rg2"
PATH_FILE_RASTR_SAVE = r"L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy\БРМ Зима максимумPY.rg2"
DIR_PATH_FILE_RASTR_SAVE = r'L:\SER\Okhrimenko\15. ДРМ\02.ДРМ\Зима макс 2022\testPy'

# Настройка эквивалентирования районов
area_json = [
    {
        "area_name": "Свердловская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 102
    },
    {
        "area_name": "Челябинская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 103
    },
    {
        "area_name": "Тюменская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 109
    },
    {
        "area_name": "Курганская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 105
    },
    {
        "area_name": "Ханты-Мансийский автономный округ - Югра",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 8080
    },
    {
        "area_name": "Кировская область",
        "equivalent": True,
        "u_min_TR": 230,
        "u_min_AREA": 430,
        "u_max_AREA": 580,
        "num_area": 108
    },
    {
        "area_name": "Нижегородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 2090
    },
    {
        "area_name": "Оренбургская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8081
    },
    {
        "area_name": "Пензенская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 204
    },
    {
        "area_name": "Пермский край",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8074
    },
    {
        "area_name": "Республика Башкортостан",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 104
    },
    {
        "area_name": "Республика М<NAME>",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 208
    },
    {
        "area_name": "Республика Мордовия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 207
    },
    {
        "area_name": "Республика Татарстан (Татарстан)",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 205
    },
    {
        "area_name": "Самарская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 813
    },
    {
        "area_name": "Саратовская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 202
    },
    {
        "area_name": "Удмуртская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 107
    },
    {
        "area_name": "Ульяновская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 203
    },
    {
        "area_name": "Чувашская Республика - Чувашия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 206
    },
    {
        "area_name": "Астраханская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 312
    },
    {
        "area_name": "Волгоградская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 311
    },
    {
        "area_name": "Краснодарский край",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 3020
    },
    {
        "area_name": "Республика Калмыкия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 309
    },
    {
        "area_name": "Ростовская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 301
    },
    {
        "area_name": "Республика Крым",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8078
    },
    {
        "area_name": "Архангельская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 408
    },
    {
        "area_name": "Ленинградская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8071
    },
    {
        "area_name": "Мурманская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 401
    },
    {
        "area_name": "Калининградская область",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 407
    },
    {
        "area_name": "Новгородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 404
    },
    {
        "area_name": "Псковская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 405
    },
    {
        "area_name": "Республика Карелия",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 402
    },
    {
        "area_name": "Республика Коми",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 409
    },
    {
        "area_name": "Санкт-Петербург",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8072
    },
    {
        "area_name": "Финляндская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 801
    },
    {
        "area_name": "Эстонская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 805
    },
    {
        "area_name": "Латвийская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 806
    },
    {
        "area_name": "Швеция",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 819
    },
    {
        "area_name": "Литовская Республика",
        "equivalent": True,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8070
    },
    {
        "area_name": "Западный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 803
    },
    {
        "area_name": "Центральный регион ",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8083
    },
    {
        "area_name": "Южный регион ",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8073
    },
    {
        "area_name": "Днепровский регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8075
    },
    {
        "area_name": "Донбасский регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8076
    },
    {
        "area_name": "Северный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8077
    },
    {
        "area_name": "Юго-Западный регион",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8079
    },
    {
        "area_name": "Республика Беларусь",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 807
    },
    {
        "area_name": "Москва",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 510
    },
    {
        "area_name": "Тульская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 511
    },
    {
        "area_name": "Ивановская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 513
    },
    {
        "area_name": "Владимирская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 514
    },
    {
        "area_name": "Ярославская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 515
    },
    {
        "area_name": "Костромская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 516
    },
    {
        "area_name": "Тверская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 517
    },
    {
        "area_name": "Смоленская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 518
    },
    {
        "area_name": "Брянская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 519
    },
    {
        "area_name": "Орловская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 521
    },
    {
        "area_name": "Курская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 523
    },
    {
        "area_name": "Липецкая область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 524
    },
    {
        "area_name": "Воронежская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 526
    },
    {
        "area_name": "Белгородская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 527
    },
    {
        "area_name": "Тамбовская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 528
    },
    {
        "area_name": "Вологодская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 529
    },
    {
        "area_name": "Рязанская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 531
    },
    {
        "area_name": "Калужская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 532
    },
    {
        "area_name": "Московская область",
        "equivalent": False,
        "u_min_TR": 160,
        "u_min_AREA": 170,
        "u_max_AREA": 250,
        "num_area": 8082
    }
]
# -*- coding: utf-8 -*- # Настройка эквивалентирования районов