Skip to content

Commit 15ec714

Browse files
committed
snake case PlateC -> plate_c
1 parent 460c316 commit 15ec714

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mhkit/dolfyn/adp/discharge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ def _convert_latlon_to_utm(ds, proj):
146146
147147
"""
148148

149-
PlateC = ccrs.PlateCarree()
149+
plate_c = ccrs.PlateCarree()
150150
proj.x0, proj.y0 = proj.transform_point(
151-
ds["longitude_gps"].mean(), ds["latitude_gps"].mean(), PlateC
151+
ds["longitude_gps"].mean(), ds["latitude_gps"].mean(), plate_c
152152
)
153153
xy = xr.DataArray(
154-
proj.transform_points(PlateC, ds["longitude_gps"], ds["latitude_gps"])[
154+
proj.transform_points(plate_c, ds["longitude_gps"], ds["latitude_gps"])[
155155
:, :2
156156
].T,
157157
coords={"gps": ["x", "y"], "time_gps": ds["longitude_gps"]["time_gps"]},

0 commit comments

Comments
 (0)