src/java/python_Scripts/erosionServiceCall.py
@@ -275,7 +275,7 @@ |
resq_Centroid, multipolygon = centroid_service_call(latitude, longitude) |
# logging.info(resq_Centroid.data) |
|
- resq_erosion = erosion_service_call(multipolygon) |
+ resq_erosion = erosion_service_call(latitude, longitude, multipolygon) |
logging.info(resq_erosion) |
|
if resq_erosion is None: |
@@ -388,7 +388,7 @@ |
output_failed = '''{repo_basepath}data/{datetime:%Y%m%dT%H%M%S}_failed.csv'''.format(repo_basepath=repo_basepath, datetime=ref_datetime) |
|
#read coordinates csv file |
-d = pd.read_csv('''{repo_basepath}data/Results.csv'''.format(repo_basepath=repo_basepath)) |
+d = pd.read_csv('''{repo_basepath}data/20230517T155328_failed.csv'''.format(repo_basepath=repo_basepath)) |
# d = pd.read_csv('''{repo_basepath}data/test.csv'''.format(repo_basepath=repo_basepath)) |
df = pd.DataFrame(data = d) |
points_num = df.shape[0] |
@@ -419,4 +419,4 @@ |
|
failed_df = failed_df.set_index(d.columns[0]) |
failed_df.to_csv(output_failed) |
-del failed_df |
\ No newline at end of file |
+del failed_df |