glaes/predefinedExclusions.py
def Gusatu2020_StatusQuo(reg):
        """
        SOURCE: Gusatu2020

        EXCLUSIONS:
            - Telecommunication cables - 500m buffer
            - Pipelines - 500m buffer
            - Shipping routes
            - Military areas
            - Aggregate extration
            - Oil and Gas installations - 500m buffer
            - Marine Protected Areas
            - Valuable and vulnerable areas
            - Offhsore wind areas operational and authorised
            - Offhsore wind scope areas
            - Distance from coasline
        """
        ec = gl.ExclusionCalculator(reg)

        ##### do exclusions #####
        # # Telecommunication cables - 500m buffer
        ec.excludePrior("telecommunication_cables_nordsea", value=(None, 500) )
        ec.excludePrior("telecommunication_cables_germany", value=(None, 500) )
        ec.excludePrior("telecommunication_cables_netherlands", value=(None, 500) )

        # Pipelines - 500m buffer
        ec.excludePrior("pipelines", value=(None, 500) ) # Emodnet Pipelines cables line within 500 m

        # Shipping routes - Restricted - 0m Buffer
        ec.excludePrior("shipping_routes_msp_germany", value=(0) )
        ec.excludePrior("shipping_routes_germany", value=(0) )
        ec.excludePrior("shipping_routes_netherlands", value=(0) )
        ec.excludePrior("shipping_routes_norway_tss", value=(0) )
        ec.excludePrior("shipping_routes_norway_tss_border", value=(0) )
        ec.excludePrior("shipping_routes_norway_fairway", value=(0) )

        # # Military areas - Restricted - 0m Buffer
        ec.excludePrior("military_areas_netherlands", value=(0) )
        ec.excludePrior("military_areas_germany", value=(0) )

        # Aggregate extration - Restricted - 0m Buffer
        ec.excludePrior("aggregate_extraction_eu", value=(0) )
        ec.excludePrior("aggregate_extraction_netherlands", value=(0) )
        ec.excludePrior("minerals_extraction", value=(0) )
        ec.excludePrior("offshore_mine", value=(0) )

        # Oil and Gas - 500m Buffer
        ec.excludePrior("oil_and_gas_installations_eu", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_1", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_2", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_3", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_nlog_drillholes", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_nlog_fields", value=(None, 500) )

        # Marine Protected Areas - 0m Buffer
        ec.excludePrior("marine_protected_areas", value=(0) )

        # Valuable and vulnerable - 0m Buffer
        ec.excludePrior("valuable_and_vunerable_marine_areas", value=(0) )

        # Distance from coastline
        ec.excludePrior("coastline", value=(None,20000))

        #### do inclusions #####
        # Offshore Wind Areas Operational & Authorised
        ec.excludePrior("offhsore_wind_parks_authorised_&_operational", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_use_and_development", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_scotland", value=(0),mode='include' )

        # # Offshore Wind Scoped Areas
        ec.excludePrior("offhsore_wind_parks_application_in_nl", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_development_in_nl", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_development_near_coast_denmark", value=(0),mode='include')
        ec.excludePrior("offhsore_wind_parks_in_development_jammerbugt_denmark", value=(0),mode='include')
        ec.excludePrior("offhsore_wind_parks_in_development_norway", value=(0),mode='include' )


        return ec

        SOURCE: Gusatu2020

        EXCLUSIONS:
            - Telecommunication cables - 500m buffer
            - Pipelines - 500m buffer
            - Shipping routes
            - Military areas
            - Aggregate extration
            - Oil and Gas installations - 500m buffer
            - Marine Protected Areas
            - Valuable and vulnerable areas
            - Offhsore wind areas operational and authorised
            - Offhsore wind scope areas
            - Distance from coasline
        
Gusatu2020
EXCLUSIONS:
Telecommunication cables - 500m buffer
Pipelines - 500m buffer
Shipping routes
Military areas
Aggregate extration
Oil and Gas installations - 500m buffer
Marine Protected Areas
Valuable and vulnerable areas
Offhsore wind areas operational and authorised
Offhsore wind scope areas
Distance from coasline
Gusatu2020 EXCLUSIONS : Telecommunication cables - 500m buffer Pipelines - 500m buffer Shipping routes Military areas Aggregate extration Oil and Gas installations - 500m buffer Marine Protected Areas Valuable and vulnerable areas Offhsore wind areas operational and authorised Offhsore wind scope areas Distance from coasline
def Gusatu2020_StatusQuo(reg):
        ec = gl.ExclusionCalculator(reg)
        ec.excludePrior("telecommunication_cables_nordsea", value=(None, 500) )
        ec.excludePrior("telecommunication_cables_germany", value=(None, 500) )
        ec.excludePrior("telecommunication_cables_netherlands", value=(None, 500) )
        ec.excludePrior("pipelines", value=(None, 500) ) 
        ec.excludePrior("shipping_routes_msp_germany", value=(0) )
        ec.excludePrior("shipping_routes_germany", value=(0) )
        ec.excludePrior("shipping_routes_netherlands", value=(0) )
        ec.excludePrior("shipping_routes_norway_tss", value=(0) )
        ec.excludePrior("shipping_routes_norway_tss_border", value=(0) )
        ec.excludePrior("shipping_routes_norway_fairway", value=(0) )
        ec.excludePrior("military_areas_netherlands", value=(0) )
        ec.excludePrior("military_areas_germany", value=(0) )
        ec.excludePrior("aggregate_extraction_eu", value=(0) )
        ec.excludePrior("aggregate_extraction_netherlands", value=(0) )
        ec.excludePrior("minerals_extraction", value=(0) )
        ec.excludePrior("offshore_mine", value=(0) )
        ec.excludePrior("oil_and_gas_installations_eu", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_1", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_2", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_uk_3", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_nlog_drillholes", value=(None, 500) )
        ec.excludePrior("oil_and_gas_installations_nlog_fields", value=(None, 500) )
        ec.excludePrior("marine_protected_areas", value=(0) )
        ec.excludePrior("valuable_and_vunerable_marine_areas", value=(0) )
        ec.excludePrior("coastline", value=(None,20000))
        ec.excludePrior("offhsore_wind_parks_authorised_&_operational", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_use_and_development", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_scotland", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_application_in_nl", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_development_in_nl", value=(0),mode='include' )
        ec.excludePrior("offhsore_wind_parks_in_development_near_coast_denmark", value=(0),mode='include')
        ec.excludePrior("offhsore_wind_parks_in_development_jammerbugt_denmark", value=(0),mode='include')
        ec.excludePrior("offhsore_wind_parks_in_development_norway", value=(0),mode='include' )
        return ec
def Gusatu2020_StatusQuo ( reg ) : ec = gl . ExclusionCalculator ( reg ) ec . excludePrior ( "telecommunication_cables_nordsea" , value = ( None , 500 ) ) ec . excludePrior ( "telecommunication_cables_germany" , value = ( None , 500 ) ) ec . excludePrior ( "telecommunication_cables_netherlands" , value = ( None , 500 ) ) ec . excludePrior ( "pipelines" , value = ( None , 500 ) ) ec . excludePrior ( "shipping_routes_msp_germany" , value = ( 0 ) ) ec . excludePrior ( "shipping_routes_germany" , value = ( 0 ) ) ec . excludePrior ( "shipping_routes_netherlands" , value = ( 0 ) ) ec . excludePrior ( "shipping_routes_norway_tss" , value = ( 0 ) ) ec . excludePrior ( "shipping_routes_norway_tss_border" , value = ( 0 ) ) ec . excludePrior ( "shipping_routes_norway_fairway" , value = ( 0 ) ) ec . excludePrior ( "military_areas_netherlands" , value = ( 0 ) ) ec . excludePrior ( "military_areas_germany" , value = ( 0 ) ) ec . excludePrior ( "aggregate_extraction_eu" , value = ( 0 ) ) ec . excludePrior ( "aggregate_extraction_netherlands" , value = ( 0 ) ) ec . excludePrior ( "minerals_extraction" , value = ( 0 ) ) ec . excludePrior ( "offshore_mine" , value = ( 0 ) ) ec . excludePrior ( "oil_and_gas_installations_eu" , value = ( None , 500 ) ) ec . excludePrior ( "oil_and_gas_installations_uk_1" , value = ( None , 500 ) ) ec . excludePrior ( "oil_and_gas_installations_uk_2" , value = ( None , 500 ) ) ec . excludePrior ( "oil_and_gas_installations_uk_3" , value = ( None , 500 ) ) ec . excludePrior ( "oil_and_gas_installations_nlog_drillholes" , value = ( None , 500 ) ) ec . excludePrior ( "oil_and_gas_installations_nlog_fields" , value = ( None , 500 ) ) ec . excludePrior ( "marine_protected_areas" , value = ( 0 ) ) ec . excludePrior ( "valuable_and_vunerable_marine_areas" , value = ( 0 ) ) ec . excludePrior ( "coastline" , value = ( None , 20000 ) ) ec . excludePrior ( "offhsore_wind_parks_authorised_&_operational" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_use_and_development" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_scotland" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_application_in_nl" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_development_in_nl" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_development_near_coast_denmark" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_development_jammerbugt_denmark" , value = ( 0 ) , mode = 'include' ) ec . excludePrior ( "offhsore_wind_parks_in_development_norway" , value = ( 0 ) , mode = 'include' ) return ec
SOURCE: Gusatu2020
EXCLUSIONS:
 Telecommunication cables - 500m buffer
 Pipelines - 500m buffer
 Shipping routes
 Military areas
 Aggregate extration
 Oil and Gas installations - 500m buffer
 Marine Protected Areas
 Valuable and vulnerable areas
 Offhsore wind areas operational and authorised
 Offhsore wind scope areas
 Distance from coasline
SOURCE : Gusatu2020 EXCLUSIONS : Telecommunication cables - 500m buffer Pipelines - 500m buffer Shipping routes Military areas Aggregate extration Oil and Gas installations - 500m buffer Marine Protected Areas Valuable and vulnerable areas Offhsore wind areas operational and authorised Offhsore wind scope areas Distance from coasline
"""
        SOURCE: Gusatu2020

        EXCLUSIONS:
            - Telecommunication cables - 500m buffer
            - Pipelines - 500m buffer
            - Shipping routes
            - Military areas
            - Aggregate extration
            - Oil and Gas installations - 500m buffer
            - Marine Protected Areas
            - Valuable and vulnerable areas
            - Offhsore wind areas operational and authorised
            - Offhsore wind scope areas
            - Distance from coasline
        """ ##### do exclusions ##### # # Telecommunication cables - 500m buffer # Pipelines - 500m buffer # Emodnet Pipelines cables line within 500 m # Shipping routes - Restricted - 0m Buffer # # Military areas - Restricted - 0m Buffer # Aggregate extration - Restricted - 0m Buffer # Oil and Gas - 500m Buffer # Marine Protected Areas - 0m Buffer # Valuable and vulnerable - 0m Buffer # Distance from coastline #### do inclusions ##### # Offshore Wind Areas Operational & Authorised # # Offshore Wind Scoped Areas
reg