You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ performs a wind forecast analysis for the specified time and location (usually s
26
26
and returns a tuple with true wind direction (`twd`) expressed in degrees and true wind speed (`tws`) expressed in meters per second or `None` if running out of temporal/geographic grib scope.
27
27
28
28
```python
29
-
defgetWindAt(t, lat, lon)
29
+
defget_wind_at(t, lat, lon)
30
30
# wind forecast analysys implementation
31
31
# speed is in m/s, direction in degrees
32
32
...
@@ -93,11 +93,11 @@ routing_obj = Routing(
93
93
LinearBestIsoRouter, # specify a router type
94
94
polar_obj, # the polar object for a specific sail boat
95
95
track, # the list of track points (lat,lon)
96
-
getWindAt, # the function that returns (twd,tws) for a specified (datetime, lat, lon)
96
+
get_wind_at, # the function that returns (twd,tws) for a specified (datetime, lat, lon)
97
97
start, # the start datetime
98
98
start_position= (37.8, 4.8) # the start location (lat lon, optional, the first track point if undefined)
99
-
pointValidity= point_validity # the point validity function (optional)
100
-
lineValidity= line_validity # the line validity function (optional)
99
+
point_validity= point_validity # the point validity function (optional)
100
+
line_validity= line_validity # the line validity function (optional)
101
101
)
102
102
```
103
103
@@ -126,10 +126,10 @@ res.path # the list of route waypoints
126
126
### Export path as geojson
127
127
The path could be exported as a geojson object for cartographic representation
0 commit comments