Skip to content

Commit e1c96e1

Browse files
author
Jeff Whitaker
committed
simplify comments
1 parent 486c478 commit e1c96e1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/test_rotpole.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626
# o_lon_p, o_lat_p: true lat/lon of pole in rotated coordinate system
2727
# mapping to CF metadata convention:
2828
# grid_north_pole_longitude = normalize180(180 + lon_0), where normalize180
29-
# is a function that maps to interval [-180,180], i.e.
30-
# def normalize180(angle):
31-
# if angle > 180: angle = angle+360
32-
# if angle < -180: angle = angle+360
33-
# return angle
29+
# is a function that maps to interval [-180,180].
3430
# grid_north_pole_latitude = o_lat_p
3531
# north_pole_grid_longitude = o_lon_p (optional, assumed zero if not present)
3632
m = Basemap(projection='rotpole',lon_0=rotpole.grid_north_pole_longitude-180.,\

0 commit comments

Comments
 (0)