geo.convert

geo.convert

Functions

Name Description
center_longitude Center longitudes from [0, 360] to [-180, 180] or from [-180, 180] to [0, 360]
convert_latlon_2D Convert latitude and longitude vectors into 2D representation

center_longitude

geo.convert.center_longitude(ds, center=0, lon_name=names.lon)

Center longitudes from [0, 360] to [-180, 180] or from [-180, 180] to [0, 360]

convert_latlon_2D

geo.convert.convert_latlon_2D(lat, lon)

Convert latitude and longitude vectors into 2D representation