Skip to content

Commit

Permalink
applied linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hhs732 committed Apr 22, 2024
1 parent 838162f commit 6523b40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/bathymetry/preprocess_bathymetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def preprocessing_ehydro(tif, bathy_bounds, survey_gdb, output, min_depth_thresh
# Add survey meta data
time_stamp = bathy_bounds.loc[0, 'SurveyDateStamp']
time_stamp_obj = str(time_stamp)
bathy_nwm_streams['SurveyDateStamp'] = time_stamp_obj #bathy_bounds.loc[0, 'SurveyDateStamp']

bathy_nwm_streams['SurveyDateStamp'] = time_stamp_obj # bathy_bounds.loc[0, 'SurveyDateStamp']
bathy_nwm_streams['SurveyId'] = bathy_bounds.loc[0, 'SurveyId']
bathy_nwm_streams['Sheet_Name'] = bathy_bounds.loc[0, 'Sheet_Name']
bathy_nwm_streams["Bathymetry_source"] = 'USACE eHydro'
Expand All @@ -135,7 +135,7 @@ def preprocessing_ehydro(tif, bathy_bounds, survey_gdb, output, min_depth_thresh
# schema = gpd.io.file.infer_schema(bathy_nwm_streams)
# print(schema)
# print("---------------------------")

if os.path.exists(output):
print(f"{output} already exists. Concatinating now...")
existing_bathy_file = gpd.read_file(output, engine="pyogrio", use_arrow=True)
Expand Down

0 comments on commit 6523b40

Please sign in to comment.