We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486c478 commit e1c96e1Copy full SHA for e1c96e1
examples/test_rotpole.py
@@ -26,11 +26,7 @@
26
# o_lon_p, o_lat_p: true lat/lon of pole in rotated coordinate system
27
# mapping to CF metadata convention:
28
# 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
+# is a function that maps to interval [-180,180].
34
# grid_north_pole_latitude = o_lat_p
35
# north_pole_grid_longitude = o_lon_p (optional, assumed zero if not present)
36
m = Basemap(projection='rotpole',lon_0=rotpole.grid_north_pole_longitude-180.,\
0 commit comments