Commit 2b4eea99 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Fixed typos in docstrings in GDE_TOOLS_create_industrial_cells.py

parent e6d42abb
......@@ -1570,9 +1570,9 @@ def generate_country_industrial_cells(
def export_modified_aggregated_model_file(aggr_mod_df, out_pathname, out_filename, separ=","):
"""This file writes the aggr_mod_df DataFrame to a CSV file with name out_filename, under
the path out_pathname. If the file already exists, it will overwrite it. If the path does
not exist, it will create it.
"""This function writes the aggr_mod_df DataFrame to a CSV file with name out_filename,
under the path out_pathname. If the file already exists, it will overwrite it. If the path
does not exist, it will create it.
Args:
aggr_mod_df (DataFrame): Pandas DataFrame to be exported.
......@@ -1591,9 +1591,10 @@ def export_modified_aggregated_model_file(aggr_mod_df, out_pathname, out_filenam
def export_cells_to_geodatafile(
country_name, country_id, cells_gdf, out_pathname, out_filename, out_driver="ESRI Shapefile"
):
"""This file creates a geospatial data file of format given by out_driver, with the IDs and
geometries of cells_gdf. Additional fields are written with the country name and ID. If the
file already exists, it will overwrite it. If the path does not exist, it will create it.
"""This function creates a geospatial data file of format given by out_driver, with the IDs
and geometries of cells_gdf. Additional fields are written with the country name and ID. If
the file already exists, it will overwrite it. If the path does not exist, it will create
it.
Args:
country_name (str): Name of country (as in the files of the aggregated model).
......
Markdown is supported
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