Installation
Toolbox gallery:
Grid manipulation
Tracking
Code
wrap_longitude()
Will wrap contiguous longitude with reference as western boundary.
x (array) –
y (array) –
ref (float) – longitude of reference, all the new values will be between ref and ref + 360
cut (bool) – if True line will be cut at the bounds
lon,lat
(array,array)