SLP = SLP.assign_coords(longitude=(((SLP.longitude + 180) % 360) -180)) Z = Z.assign_coords(longitude=(((Z.longitude + 180) % 360) -180)) SLP = SLP.sortby(SLP['longitude']) Z = Z.sortby(Z['longitude'])
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter