cumulative_density_function_per_country.py
def new_raster_from_base(
        base_raster, target_base_id, target_dir, target_datatype,
        target_nodata):
    """Create a new raster from base given the base id.

    This function is to make the function signature look different for each
    run.

    Parameters:
        base_raster, target_base_id, target_dir, target_datatype,
        target_nodata are the same as pygeoprocessing.new_raster_from_base.

    Returns:
        None.

    """
    target_raster_path = os.path.join(target_dir, '%s.tif' % target_base_id)
    LOGGER.debug('making new raster %s', target_raster_path)
    pygeoprocessing.new_raster_from_base(
        base_raster, target_raster_path,
        target_datatype, [target_nodata])
    LOGGER.debug('done making new raster %s', target_raster_path)
Create a new raster from base given the base id.

    This function is to make the function signature look different for each
    run.

    Parameters:
        base_raster, target_base_id, target_dir, target_datatype,
        target_nodata are the same as pygeoprocessing.new_raster_from_base.

    Returns:
        None.

    
Create a new raster from base given the base id.
This function is to make the function signature look different for each
run.



None.
Create a new raster from base given the base id . This function is to make the function signature look different for each run . None .
def new_raster_from_base(
        base_raster, target_base_id, target_dir, target_datatype,
        target_nodata):
    target_raster_path = os.path.join(target_dir, '%s.tif' % target_base_id)
    LOGGER.debug('making new raster %s', target_raster_path)
    pygeoprocessing.new_raster_from_base(
        base_raster, target_raster_path,
        target_datatype, [target_nodata])
    LOGGER.debug('done making new raster %s', target_raster_path)
def new_raster_from_base ( base_raster , target_base_id , target_dir , target_datatype , target_nodata ) : target_raster_path = os . path . join ( target_dir , '%s.tif' % target_base_id ) LOGGER . debug ( 'making new raster %s' , target_raster_path ) pygeoprocessing . new_raster_from_base ( base_raster , target_raster_path , target_datatype , [ target_nodata ] ) LOGGER . debug ( 'done making new raster %s' , target_raster_path )
Create a new raster from base given the base id.
Create a new raster from base given the base id .
"""Create a new raster from base given the base id.

    This function is to make the function signature look different for each
    run.

    Parameters:
        base_raster, target_base_id, target_dir, target_datatype,
        target_nodata are the same as pygeoprocessing.new_raster_from_base.

    Returns:
        None.

    """
base_raster
target_base_id
target_dir
target_datatype
target_nodata