from drias2020.extract_drias2020 import extract_drias2020
from drias2020.convert_drias2020 import convert_drias2020

alls_models = [
    ('CNRM-CM5-LR', 'ALADIN63', 'historical'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp2.6'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp4.5'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp8.5'),
    ('CNRM-CM5-LR', 'RACMO22E', 'historical'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp2.6'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp4.5'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp8.5'),
    ('EC-EARTH', 'RACMO22E', 'historical'),
    ('EC-EARTH', 'RACMO22E', 'rcp2.6'),
    ('EC-EARTH', 'RACMO22E', 'rcp4.5'),
    ('EC-EARTH', 'RACMO22E', 'rcp8.5'),
    ('EC-EARTH', 'RCA4', 'historical'),
    ('EC-EARTH', 'RCA4', 'rcp2.6'),
    ('EC-EARTH', 'RCA4', 'rcp4.5'),
    ('EC-EARTH', 'RCA4', 'rcp8.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'historical'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp4.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp8.5'),
    ('HadGEM2-ES', 'RegCM4-6', 'historical'),
    ('HadGEM2-ES', 'RegCM4-6', 'rcp2.6'),
    ('HadGEM2-ES', 'RegCM4-6', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'RCA4', 'historical'),
    ('IPSL-CM5A-MR', 'RCA4', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'RCA4', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'historical'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp8.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'historical'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp2.6'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp4.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp8.5'),
    ('MPI-ESM-LR', 'REMO2009', 'historical'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp2.6'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp4.5'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp8.5'),
    ('NorESM1-M', 'HIRHAM5', 'historical'),
    ('NorESM1-M', 'HIRHAM5', 'rcp4.5'),
    ('NorESM1-M', 'HIRHAM5', 'rcp8.5'),
    ('NorESM1-M', 'REMO2015', 'historical'),
    ('NorESM1-M', 'REMO2015', 'rcp2.6'),
    ('NorESM1-M', 'REMO2015', 'rcp8.5')
]

short_list_mf = [
    ('CNRM-CM5-LR', 'ALADIN63', 'historical'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp2.6'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp4.5'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp8.5'),
    ('EC-EARTH', 'RACMO22E', 'historical'),
    ('EC-EARTH', 'RACMO22E', 'rcp2.6'),
    ('EC-EARTH', 'RACMO22E', 'rcp4.5'),
    ('EC-EARTH', 'RACMO22E', 'rcp8.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'historical'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp4.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'historical'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp8.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'historical'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp2.6'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp4.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp8.5'),
]

exemple_variables = [
        'prtotAdjust',
        'evspsblpotAdjust_Hg0175',
        'prsnAdjust',
        'tasAdjust',
]
from drias2020.extract_drias2020 import extract_drias2020
from drias2020.convert_drias2020 import convert_drias2020

alls_models = [
    ('CNRM-CM5-LR', 'ALADIN63', 'historical'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp2.6'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp4.5'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp8.5'),
    ('CNRM-CM5-LR', 'RACMO22E', 'historical'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp2.6'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp4.5'),
    ('CNRM-CM5-LR', 'RACMO22E', 'rcp8.5'),
    ('EC-EARTH', 'RACMO22E', 'historical'),
    ('EC-EARTH', 'RACMO22E', 'rcp2.6'),
    ('EC-EARTH', 'RACMO22E', 'rcp4.5'),
    ('EC-EARTH', 'RACMO22E', 'rcp8.5'),
    ('EC-EARTH', 'RCA4', 'historical'),
    ('EC-EARTH', 'RCA4', 'rcp2.6'),
    ('EC-EARTH', 'RCA4', 'rcp4.5'),
    ('EC-EARTH', 'RCA4', 'rcp8.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'historical'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp4.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp8.5'),
    ('HadGEM2-ES', 'RegCM4-6', 'historical'),
    ('HadGEM2-ES', 'RegCM4-6', 'rcp2.6'),
    ('HadGEM2-ES', 'RegCM4-6', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'RCA4', 'historical'),
    ('IPSL-CM5A-MR', 'RCA4', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'RCA4', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'historical'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp8.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'historical'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp2.6'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp4.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp8.5'),
    ('MPI-ESM-LR', 'REMO2009', 'historical'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp2.6'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp4.5'),
    ('MPI-ESM-LR', 'REMO2009', 'rcp8.5'),
    ('NorESM1-M', 'HIRHAM5', 'historical'),
    ('NorESM1-M', 'HIRHAM5', 'rcp4.5'),
    ('NorESM1-M', 'HIRHAM5', 'rcp8.5'),
    ('NorESM1-M', 'REMO2015', 'historical'),
    ('NorESM1-M', 'REMO2015', 'rcp2.6'),
    ('NorESM1-M', 'REMO2015', 'rcp8.5')
]

short_list_mf = [
    ('CNRM-CM5-LR', 'ALADIN63', 'historical'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp2.6'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp4.5'),
    ('CNRM-CM5-LR', 'ALADIN63', 'rcp8.5'),
    ('EC-EARTH', 'RACMO22E', 'historical'),
    ('EC-EARTH', 'RACMO22E', 'rcp2.6'),
    ('EC-EARTH', 'RACMO22E', 'rcp4.5'),
    ('EC-EARTH', 'RACMO22E', 'rcp8.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'historical'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp4.5'),
    ('HadGEM2-ES', 'CCLM4-8-17', 'rcp8.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'historical'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp4.5'),
    ('IPSL-CM5A-MR', 'WRF381P', 'rcp8.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'historical'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp2.6'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp4.5'),
    ('MPI-ESM-LR', 'CCLM4-8-17', 'rcp8.5'),
]

exemple_variables = [
        'prtotAdjust',
        'evspsblpotAdjust_Hg0175',
        'prsnAdjust',
        'tasAdjust',
]