xoa.core.grid.is_periodic_lon

xoa.core.grid.is_periodic_lon#

xoa.core.grid.is_periodic_lon(lon, tol=0.001)[source]#

Tell if the columns of a grid make a full turn around the globe

The longitudes of the first row go always in the same direction, also across the dateline, and the step between the last and first columns closes the 360° circle and is not much larger than the other ones, unlike for a wide regional grid.