Commit 8b9acad1 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Add enter to print statement in refactoring of SERA_mapping_admin_units_to_cells.py

parent 8706cf29
......@@ -169,7 +169,7 @@ def process_country(country_str, country_pos, number_countries,
for results_adm in process_admin_unit(adm_boundary, which_row, logger):
cell_id, area_intersect, geom_intersect = results_adm
yield cell_id, level_groups_levels[j], admin_id, area_intersect, geom_intersect, level_groups[j], shp_not_found
print('\n')
def process_admin_unit(adm_boundary_gdf, which_row_of_gdf, logger):
"""
......@@ -196,7 +196,6 @@ def process_admin_unit(adm_boundary_gdf, which_row_of_gdf, logger):
geom_intersection = geom_adm_unit.intersection(geom_cell)
area_intersection = gdet_grid.get_area_polygon_on_Earth(geom_intersection,
units='km2')
print('\n')
yield gdf_intersect['cell_id'].values[i], area_intersection, geom_intersection
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment