Skip to content

Commit a379a8d

Browse files
author
Joanne Cheng
committed
Change spelling error: ucrnrlon to urcrnrlon
1 parent 348e7be commit a379a8d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

doc/users/figures/geos_partial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# plot just upper right quadrant (corners determined from global map).
1212
# keywords llcrnrx,llcrnry,urcrnrx,urcrnry used to define the lower
1313
# left and upper right corners in map projection coordinates.
14-
# llcrnrlat,llcrnrlon,ucrnrlon,urcrnrlat could be used to define
14+
# llcrnrlat,llcrnrlon,urcrnrlon,urcrnrlat could be used to define
1515
# lat/lon values of corners - but this won't work in cases such as this
1616
# where one of the corners does not lie on the earth.
1717
m = Basemap(projection='geos',lon_0=lon_0,resolution='l',\

doc/users/figures/nsper_partial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# plot just upper right quadrant (corners determined from global map).
1515
# keywords llcrnrx,llcrnry,urcrnrx,urcrnry used to define the lower
1616
# left and upper right corners in map projection coordinates.
17-
# llcrnrlat,llcrnrlon,ucrnrlon,urcrnrlat could be used to define
17+
# llcrnrlat,llcrnrlon,urcrnrlon,urcrnrlat could be used to define
1818
# lat/lon values of corners - but this won't work in cases such as this
1919
# where one of the corners does not lie on the earth.
2020
m = Basemap(projection='nsper',satellite_height=h*1000.,\

doc/users/figures/ortho_partial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# plot just upper right quadrant (corners determined from global map).
1212
# keywords llcrnrx,llcrnry,urcrnrx,urcrnry used to define the lower
1313
# left and upper right corners in map projection coordinates.
14-
# llcrnrlat,llcrnrlon,ucrnrlon,urcrnrlat could be used to define
14+
# llcrnrlat,llcrnrlon,urcrnrlon,urcrnrlat could be used to define
1515
# lat/lon values of corners - but this won't work in cases such as this
1616
# where one of the corners does not lie on the earth.
1717
m = Basemap(projection='ortho',lon_0=lon_0,lat_0=lat_0,resolution='l',\

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def __init__(self, llcrnrlon=None, llcrnrlat=None,
712712
self.urcrnrlon = urcrnrlon; self.urcrnrlat = urcrnrlat
713713
else:
714714
if width is None or height is None:
715-
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height in meters')
715+
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat) in degrees or width and height in meters')
716716
if lon_0 is None or lat_0 is None:
717717
raise ValueError('must specify lon_0 and lat_0 when using width, height to specify projection region')
718718
llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat = _choosecorners(width,height,**projparams)
@@ -725,7 +725,7 @@ def __init__(self, llcrnrlon=None, llcrnrlat=None,
725725
raise ValueError('must specify lat_0 and lon_0 for Stereographic basemap (lat_ts is optional)')
726726
if not using_corners:
727727
if width is None or height is None:
728-
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height in meters')
728+
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat) in degrees or width and height in meters')
729729
if lon_0 is None or lat_0 is None:
730730
raise ValueError('must specify lon_0 and lat_0 when using width, height to specify projection region')
731731
llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat = _choosecorners(width,height,**projparams)
@@ -762,7 +762,7 @@ def __init__(self, llcrnrlon=None, llcrnrlat=None,
762762
raise ValueError('must specify lat_0 and lon_0 for Lambert Azimuthal basemap')
763763
if not using_corners:
764764
if width is None or height is None:
765-
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height in meters')
765+
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat) in degrees or width and height in meters')
766766
if lon_0 is None or lat_0 is None:
767767
raise ValueError('must specify lon_0 and lat_0 when using width, height to specify projection region')
768768
llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat = _choosecorners(width,height,**projparams)
@@ -777,7 +777,7 @@ def __init__(self, llcrnrlon=None, llcrnrlat=None,
777777
raise ValueError('must specify lat_0 and lon_0 for Transverse Mercator, Gnomonic, Cassini-Soldnerr and Polyconic basemap')
778778
if not using_corners:
779779
if width is None or height is None:
780-
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height in meters')
780+
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat) in degrees or width and height in meters')
781781
if lon_0 is None or lat_0 is None:
782782
raise ValueError('must specify lon_0 and lat_0 when using width, height to specify projection region')
783783
llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat = _choosecorners(width,height,**projparams)
@@ -871,7 +871,7 @@ def __init__(self, llcrnrlon=None, llcrnrlat=None,
871871
# raise ValueError, 'cannot specify map region with width and height keywords for this projection, please specify lat/lon values of corners'
872872
if not using_corners:
873873
if width is None or height is None:
874-
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height in meters')
874+
raise ValueError('must either specify lat/lon values of corners (llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat) in degrees or width and height in meters')
875875
if lon_0 is None or lat_0 is None:
876876
raise ValueError('must specify lon_0 and lat_0 when using width, height to specify projection region')
877877
llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat = _choosecorners(width,height,**projparams)

0 commit comments

Comments
 (0)