pybacktrack.generate_lon_lat_points
- pybacktrack.generate_lon_lat_points(grid_spacing_degrees)
Generates a global grid of points uniformly spaced in longitude and latitude.
- Parameters:
grid_spacing_degrees (float) – Spacing between points (in degrees).
- Return type:
- Raises:
ValueError – If
grid_spacing_degreesis negative or zero.
Notes
Longitudes start at -180 (dateline) and latitudes start at -90. If 180 is an integer multiple of
grid_spacing_degreesthen the final longitude is also on the dateline (+180).Added in version 1.4.