"""-"""

import os

from gfwanalysis.utils.files import BASE_DIR

SETTINGS = {
    'logging': {
        'level': 'DEBUG'
    },
    'service': {
        'port': 4500
    },
    'gee': {
        'service_account': os.getenv('EE_ACCOUNT'),
        'privatekey_file': BASE_DIR + '/privatekey.json',
        'assets': {
            'hansen_optimised': 'projects/wri-datalab/global_forest_change_2019_v1_1',
            ##'projects/wri-datalab/global_forest_change_2018_v1_6_optimised',
            'hansen': 'projects/wri-datalab/HansenComposite_18',
            'hansen_2010_extent': 'projects/wri-datalab/HansenTreeCover2010',
            'hansen_2017_v1_5': 'UMD/hansen/global_forest_change_2017_v1_5',
            'geodescriber': 'projects/wri-datalab/geodesriber-asset-v2',
            'globcover': 'ESA/GLOBCOVER_L4_200901_200912_V2_3',
            'foraf': 'projects/wri-datalab/gfw-api/central-africa_veg_foraf',
            'liberia': 'projects/wri-datalab/gfw-api/lbr-landcover',
            'ifl2000': 'projects/wri-datalab/gfw-api/ifl-world',
            'mangroves': 'LANDSAT/MANGROVE_FORESTS/2000',
            'population': 'JRC/GHSL/P2016/POP_GPW_GLOBE_V1/2015',
            'mangrove_biomass': 'projects/wri-datalab/mangrove_aboveground_biomass_density_2005',
            'soils_30m': 'projects/wri-datalab/Soil_Organic_Carbon_30m',
            'primary-forest': 'projects/wri-datalab/gfw-api/primary-forest',
            'gfw-landcover-2000': 'projects/wri-datalab/ESACCI-LC-IPCC-img/LC_2000',
            'gfw-landcover-2015': 'projects/wri-datalab/gfw-api/globcover-2015-reclassified',
            'idn-landcover': 'projects/wri-datalab/gfw-api/idn-landcover',
            'sea-landcover': 'projects/wri-datalab/gfw-api/sea-landcover',
            'forma250GFW': 'projects/wri-datalab/FORMA250',
            'whrc_biomass': 'projects/wri-datalab/WHRC_CARBON',
            'us_landcover': 'USGS/NLCD',
            'biomassloss_v1': {
                'hansen_loss_thresh': 'HANSEN/gfw_loss_by_year_threshold_2015',
                'biomass_2000': 'users/davethau/whrc_carbon_test/carbon'
            }
        },
        'lulc_band': {
            'globcover': 'landcover',
            'mangroves': '1'
        }
    },
    'carto': {
        'service_account': os.getenv('CARTODB_USER'),
        'uri': 'carto.com/api/v2/sql'
    },
    'redis': {
        'url': os.getenv('REDIS_URL')
    }
}
