redplanet.helper_functions.coordinates._slon2plon
Convert signed longitudes (in range [-180, 180]) to positive longitudes (in range [0, 360]). Inputs in range [180, 360] are returned as is.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
slon
|
float | list | np.ndarray
|
Longitude value(s) in signed format. |
required |
Returns:
| Type | Description |
|---|---|
float | list | np.ndarray
|
Converted longitude value(s) in positive format. The return type matches the input type. |
See Also
_plon2slon : Converts positive longitudes to signed longitudes.