Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Dec 6, 2024
1 parent 1aae9a4 commit e79c47f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cerulean_cloud/cloud_function_ais_analysis/utils/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ def load_infrastructure_data_csv(self, only_oil=True):
"""
Loads infrastructure data from a CSV file.
"""

df = pd.read_csv(
r"C:\Users\ebeva\SkyTruth\cv3\nonoise_SAR_Fixed_Infrastructure.csv"
)
df = pd.read_csv("SAR Fixed Infrastructure 202407 DENOISED UNIQUE.csv")
df["st_name"] = df["structure_id"].apply(str)
df["ext_id"] = df["structure_id"].apply(str)
df["type"] = 2 # infra
Expand Down Expand Up @@ -655,7 +652,6 @@ def slick_to_curves(
Inputs:
buf_size: buffer size for cleaning up slick detections
interp_dist: interpolation distance for centerline
smoothing_factor: smoothing factor for smoothing centerline
Returns:
GeoDataFrame of slick curves
Expand Down

0 comments on commit e79c47f

Please sign in to comment.