From 25b622bf6f77fecc5a2de5b0ac227f9e16d53b70 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 19 Jul 2019 13:10:18 +0200 Subject: [PATCH 01/18] Add .vscode to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ddd24d64eaf..6573fc43a34 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ MANIFEST .pytest_cache/ .ipynb_checkpoints/ +.vscode/ build/ dist/ doc/_build @@ -18,4 +19,4 @@ doc/gallery doc/tutorials doc/projections doc/api/gmt*.rst -doc/api/generated \ No newline at end of file +doc/api/generated From 1f7d52ecc4994ddaaf67820d7ecf9c0571d57511 Mon Sep 17 00:00:00 2001 From: Philipp Date: Tue, 23 Jul 2019 17:25:09 +0200 Subject: [PATCH 02/18] Use a prefix denoting the projection type for the existing examples --- examples/projections/{lambert_azimuthal.py => azim_lambert.py} | 0 examples/projections/{albers.py => conic_albers.py} | 0 examples/projections/{cassini.py => cyl_cassini.py} | 0 examples/projections/{mercator.py => cyl_mercator.py} | 0 examples/projections/{cyl_stereo.py => cyl_stereographic.py} | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename examples/projections/{lambert_azimuthal.py => azim_lambert.py} (100%) rename examples/projections/{albers.py => conic_albers.py} (100%) rename examples/projections/{cassini.py => cyl_cassini.py} (100%) rename examples/projections/{mercator.py => cyl_mercator.py} (100%) rename examples/projections/{cyl_stereo.py => cyl_stereographic.py} (100%) diff --git a/examples/projections/lambert_azimuthal.py b/examples/projections/azim_lambert.py similarity index 100% rename from examples/projections/lambert_azimuthal.py rename to examples/projections/azim_lambert.py diff --git a/examples/projections/albers.py b/examples/projections/conic_albers.py similarity index 100% rename from examples/projections/albers.py rename to examples/projections/conic_albers.py diff --git a/examples/projections/cassini.py b/examples/projections/cyl_cassini.py similarity index 100% rename from examples/projections/cassini.py rename to examples/projections/cyl_cassini.py diff --git a/examples/projections/mercator.py b/examples/projections/cyl_mercator.py similarity index 100% rename from examples/projections/mercator.py rename to examples/projections/cyl_mercator.py diff --git a/examples/projections/cyl_stereo.py b/examples/projections/cyl_stereographic.py similarity index 100% rename from examples/projections/cyl_stereo.py rename to examples/projections/cyl_stereographic.py From 6e80d5e49b2cdd5f1f74abaed8ca611dcad52405 Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Mon, 29 Jul 2019 14:00:17 +0200 Subject: [PATCH 03/18] Split the projection section into subsections regarding the different projection types --- doc/conf.py | 10 +++++++++- examples/projections/azim/README.txt | 2 ++ examples/projections/{ => azim}/azim_lambert.py | 0 examples/projections/conic/README.txt | 2 ++ examples/projections/{ => conic}/conic_albers.py | 0 examples/projections/cyl/README.txt | 2 ++ examples/projections/{ => cyl}/cyl_cassini.py | 0 examples/projections/{ => cyl}/cyl_mercator.py | 0 examples/projections/{ => cyl}/cyl_stereographic.py | 0 examples/projections/misc/README.txt | 2 ++ examples/projections/nongeo/README.txt | 2 ++ 11 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 examples/projections/azim/README.txt rename examples/projections/{ => azim}/azim_lambert.py (100%) create mode 100644 examples/projections/conic/README.txt rename examples/projections/{ => conic}/conic_albers.py (100%) create mode 100644 examples/projections/cyl/README.txt rename examples/projections/{ => cyl}/cyl_cassini.py (100%) rename examples/projections/{ => cyl}/cyl_mercator.py (100%) rename examples/projections/{ => cyl}/cyl_stereographic.py (100%) create mode 100644 examples/projections/misc/README.txt create mode 100644 examples/projections/nongeo/README.txt diff --git a/doc/conf.py b/doc/conf.py index 3d2876c03ed..27b8d82f2b0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -56,7 +56,15 @@ # path where to save gallery generated examples "gallery_dirs": ["gallery", "tutorials", "projections"], "subsection_order": ExplicitOrder( - ["../examples/gallery/coast", "../examples/gallery/plot"] + [ + "../examples/gallery/coast", + "../examples/gallery/plot", + "../examples/projections/azim", + "../examples/projections/conic", + "../examples/projections/cyl", + "../examples/projections/misc", + "../examples/projections/nongeo", + ] ), # Patter to search for example files "filename_pattern": r"\.py", diff --git a/examples/projections/azim/README.txt b/examples/projections/azim/README.txt new file mode 100644 index 00000000000..94cb8a450f2 --- /dev/null +++ b/examples/projections/azim/README.txt @@ -0,0 +1,2 @@ +Azimuthal Projections +--------------------- diff --git a/examples/projections/azim_lambert.py b/examples/projections/azim/azim_lambert.py similarity index 100% rename from examples/projections/azim_lambert.py rename to examples/projections/azim/azim_lambert.py diff --git a/examples/projections/conic/README.txt b/examples/projections/conic/README.txt new file mode 100644 index 00000000000..039d61d62ef --- /dev/null +++ b/examples/projections/conic/README.txt @@ -0,0 +1,2 @@ +Conic Projections +----------------- diff --git a/examples/projections/conic_albers.py b/examples/projections/conic/conic_albers.py similarity index 100% rename from examples/projections/conic_albers.py rename to examples/projections/conic/conic_albers.py diff --git a/examples/projections/cyl/README.txt b/examples/projections/cyl/README.txt new file mode 100644 index 00000000000..e9cb657aab4 --- /dev/null +++ b/examples/projections/cyl/README.txt @@ -0,0 +1,2 @@ +Cylindric Projections +--------------------- diff --git a/examples/projections/cyl_cassini.py b/examples/projections/cyl/cyl_cassini.py similarity index 100% rename from examples/projections/cyl_cassini.py rename to examples/projections/cyl/cyl_cassini.py diff --git a/examples/projections/cyl_mercator.py b/examples/projections/cyl/cyl_mercator.py similarity index 100% rename from examples/projections/cyl_mercator.py rename to examples/projections/cyl/cyl_mercator.py diff --git a/examples/projections/cyl_stereographic.py b/examples/projections/cyl/cyl_stereographic.py similarity index 100% rename from examples/projections/cyl_stereographic.py rename to examples/projections/cyl/cyl_stereographic.py diff --git a/examples/projections/misc/README.txt b/examples/projections/misc/README.txt new file mode 100644 index 00000000000..fb476b494b7 --- /dev/null +++ b/examples/projections/misc/README.txt @@ -0,0 +1,2 @@ +Miscellaneous Projections +------------------------- diff --git a/examples/projections/nongeo/README.txt b/examples/projections/nongeo/README.txt new file mode 100644 index 00000000000..cce58d0f571 --- /dev/null +++ b/examples/projections/nongeo/README.txt @@ -0,0 +1,2 @@ +Non-geographic Projections +-------------------------- From 87120b7b86970677b0bf9f64cfc74338850fc8d1 Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 13:58:40 +0200 Subject: [PATCH 04/18] Add example for azimuthal equidistant projection --- examples/projections/azim/azim_equidistant.py | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 examples/projections/azim/azim_equidistant.py diff --git a/examples/projections/azim/azim_equidistant.py b/examples/projections/azim/azim_equidistant.py new file mode 100755 index 00000000000..3ee1348c4bf --- /dev/null +++ b/examples/projections/azim/azim_equidistant.py @@ -0,0 +1,26 @@ +""" +Azimuthal Equidistant +===================== + +The main advantage of this projection is that distances from the projection +center are displayed in correct proportions. Also directions measured from the +projection center are correct. It is very useful for a global view on locations +that lie within a certain distance or for comparing distances of different +locations relative to the projection center. + +``elon0/lat0[/horizon]/scale`` or ``Elon0/lat0[/horizon]/width`` + +``lon0/lat0`` specifies the projection center. The optional parameter +``horizon`` specifies the max distance to the projection center (i.e. the +visibile portion of the rest of the world map) in degrees <= 180° (default 180°). +""" +import pygmt + +fig = pygmt.Figure() +fig.coast( + projection="E-100/40/4.5i", + region="g", + frame="g", + land="gray", +) +fig.show() From abdd1042460971d696f592d36024b8d9160134b2 Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 14:07:19 +0200 Subject: [PATCH 05/18] Add example for general perspective projection --- .../azim/azim_general_perspective.py | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 examples/projections/azim/azim_general_perspective.py diff --git a/examples/projections/azim/azim_general_perspective.py b/examples/projections/azim/azim_general_perspective.py new file mode 100755 index 00000000000..a2d7089e415 --- /dev/null +++ b/examples/projections/azim/azim_general_perspective.py @@ -0,0 +1,33 @@ +""" +General Perspective +=================== + +The general perspective projection imitates the view of the earth from a finite +point in space. In a full view of the earth one third of its surface area can +be seen. + +``lon0/lat0/altitude/azimuth/tilt/twist/Width/Height/scale`` or ``width`` + +``lon0/lat0`` specifies the projection center, ``altitude`` the height +in km of the viewpoint above local sea level (If altitude is less than 10, +then it is the distance from the center of the earth to the viewpoint in earth +radii). With ``azimuth`` the direction (in degrees) in which you are looking is +specified, measured clockwise from north. ``tilt`` is given in degrees and is the +viewing angle relative to zenith. A tilt of 0° is looking straight down, 60° is +looking 30° above horizon. ``twist`` is the clockwise rotation of the image (in +degrees). ``Width`` and ``Height`` describe the viewport angle in degrees. + +The example shows the coast of northern europe viewed from 250 km above sea +level looking 30° from north at a tilt of 45°. The height and width of the +viewing angle is both 60°, which imitates viewing with naked eye. +""" +import pygmt + +fig = pygmt.Figure() +fig.coast( + projection="G4/52/250/30/45/0/60/60/5i", + region="g", + frame=["x10g10", "y5g5"], + land="gray", +) +fig.show() From 6ced3ff72f6b49504cddd6233c9a89dab3fbe7ca Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 14:08:47 +0200 Subject: [PATCH 06/18] Add example for general stereographic projection --- .../azim/azim_general_stereographic.py | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 examples/projections/azim/azim_general_stereographic.py diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py new file mode 100755 index 00000000000..5419e8730ba --- /dev/null +++ b/examples/projections/azim/azim_general_stereographic.py @@ -0,0 +1,34 @@ +""" +General Stereographic +===================== + +This map projection is a conformal, azimuthal projection. It is mainly used with +a projection center in one of the poles. Then meridians appear as straight lines +and cross latitudes at a right angle. Unlike the azimuthal equidistant projection +the distances in this projection are not displayed in correct proportions. +It is often used as a hemisphere map like the Lambert Azimuthal Equal Area +projection. + +``slon0/lat0[/horizon]/scale`` or ``Slon0/lat0[/horizon]/width`` + +``lon0/lat0`` specifies the projection center, the optional ``horizon`` parameter +specifies the max distance from projection center (in degrees, < 180, default 90). + +This projection can be displayed + +* with map boundaries coinciding with longitude and latitude: + ``region`` specified via ``xmin/xmax/ymin/ymax`` + +* as a map with rectangular boundaries: ``region`` specified as lower left and + upper right corner ``xlleft/ylleft/xuright/yurightr``. Note the appended ``r``. +""" +import pygmt + +fig = pygmt.Figure() +fig.coast( + region="4/14/52/57", + projection="S0/90/4.5i", + frame="ag", + land="gray", +) +fig.show() From b66e3507f35a8e01ad850fecb43daa1917028b5c Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 14:12:06 +0200 Subject: [PATCH 07/18] Add example for gnomonic projection --- examples/projections/azim/azim_gnomonic.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 examples/projections/azim/azim_gnomonic.py diff --git a/examples/projections/azim/azim_gnomonic.py b/examples/projections/azim/azim_gnomonic.py new file mode 100755 index 00000000000..9ab91d00f2b --- /dev/null +++ b/examples/projections/azim/azim_gnomonic.py @@ -0,0 +1,27 @@ +""" +Gnomonic +======== + +The point of perspective of the gnomonic projection lies at the center of the +earth. As a consequence great circles (orthodromes) on the surface of the earth +are displayed as straight lines, which makes it suitable for distance estimation +for navigational purposes. Though, it is nor conformal nor equal-area and the +distortion increases greatly with distance to the projection center. It follows +that the scope of application is restricted to a small area around the +projection center (at a maximum of 60°). + +``flon0/lat0[/horizon]/scale`` or ``Flon0/lat0[/horizon]/width`` + +``lon0/lat0`` specify the projection center, the optional parameter ``horizon`` +specifies the max distance from projection center (in degrees, < 90, default 60). +""" +import pygmt + +fig = pygmt.Figure() +fig.coast( + projection="F-90/15/4.5i", + region="g", + frame="20g20", + land="gray" +) +fig.show() From 74361777110bbf2f04eb786ea433da09d11ef9a1 Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 14:13:01 +0200 Subject: [PATCH 08/18] Add example for orthographic projection --- .../projections/azim/azim_orthographic.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 examples/projections/azim/azim_orthographic.py diff --git a/examples/projections/azim/azim_orthographic.py b/examples/projections/azim/azim_orthographic.py new file mode 100755 index 00000000000..d83451ea17d --- /dev/null +++ b/examples/projections/azim/azim_orthographic.py @@ -0,0 +1,25 @@ +""" +Orthographic +============ + +This projection is a perspective projection like the general perspective, +but with the difference that the point of perspective lies in infinite distance. +It is therefore often used to give the appearance of a globe viewed from outer +space, were one hemisphere can be seen as a whole. It is nor conformal, nor +equal-area and the distortion increases near the edges. + +``glon0/lat0[/horizon]/scale`` or ``Glon0/lat0[/horizon]/width`` + +``lon0/lat0`` specifies the projection center, the optional parameter ``horizon`` +specifies the max distance from projection center (in degrees, <= 90, default 90) +""" +import pygmt + +fig = pygmt.Figure() +fig.coast( + projection="G10/52/4.5i", + region="g", + frame="g", + land="gray", +) +fig.show() From eb7e8d688702f7fe3aa65b2aa851b9a399706936 Mon Sep 17 00:00:00 2001 From: Philipp Loose Date: Wed, 31 Jul 2019 14:23:12 +0200 Subject: [PATCH 09/18] Run make format --- examples/projections/azim/azim_equidistant.py | 7 +------ examples/projections/azim/azim_general_stereographic.py | 7 +------ examples/projections/azim/azim_gnomonic.py | 7 +------ examples/projections/azim/azim_orthographic.py | 7 +------ 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/examples/projections/azim/azim_equidistant.py b/examples/projections/azim/azim_equidistant.py index 3ee1348c4bf..a86109e4af9 100755 --- a/examples/projections/azim/azim_equidistant.py +++ b/examples/projections/azim/azim_equidistant.py @@ -17,10 +17,5 @@ import pygmt fig = pygmt.Figure() -fig.coast( - projection="E-100/40/4.5i", - region="g", - frame="g", - land="gray", -) +fig.coast(projection="E-100/40/4.5i", region="g", frame="g", land="gray") fig.show() diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index 5419e8730ba..81b3396cd85 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -25,10 +25,5 @@ import pygmt fig = pygmt.Figure() -fig.coast( - region="4/14/52/57", - projection="S0/90/4.5i", - frame="ag", - land="gray", -) +fig.coast(region="4/14/52/57", projection="S0/90/4.5i", frame="ag", land="gray") fig.show() diff --git a/examples/projections/azim/azim_gnomonic.py b/examples/projections/azim/azim_gnomonic.py index 9ab91d00f2b..cefe9ec77f8 100755 --- a/examples/projections/azim/azim_gnomonic.py +++ b/examples/projections/azim/azim_gnomonic.py @@ -18,10 +18,5 @@ import pygmt fig = pygmt.Figure() -fig.coast( - projection="F-90/15/4.5i", - region="g", - frame="20g20", - land="gray" -) +fig.coast(projection="F-90/15/4.5i", region="g", frame="20g20", land="gray") fig.show() diff --git a/examples/projections/azim/azim_orthographic.py b/examples/projections/azim/azim_orthographic.py index d83451ea17d..534b6d909e4 100755 --- a/examples/projections/azim/azim_orthographic.py +++ b/examples/projections/azim/azim_orthographic.py @@ -16,10 +16,5 @@ import pygmt fig = pygmt.Figure() -fig.coast( - projection="G10/52/4.5i", - region="g", - frame="g", - land="gray", -) +fig.coast(projection="G10/52/4.5i", region="g", frame="g", land="gray") fig.show() From 9660698dfcd7b7f036200bbb8090a303b30b193d Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:24:15 +0200 Subject: [PATCH 10/18] Update examples/projections/azim/azim_gnomonic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_gnomonic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_gnomonic.py b/examples/projections/azim/azim_gnomonic.py index cefe9ec77f8..464d90ad5b5 100755 --- a/examples/projections/azim/azim_gnomonic.py +++ b/examples/projections/azim/azim_gnomonic.py @@ -5,7 +5,7 @@ The point of perspective of the gnomonic projection lies at the center of the earth. As a consequence great circles (orthodromes) on the surface of the earth are displayed as straight lines, which makes it suitable for distance estimation -for navigational purposes. Though, it is nor conformal nor equal-area and the +for navigational purposes. It is neither conformal nor equal-area and the distortion increases greatly with distance to the projection center. It follows that the scope of application is restricted to a small area around the projection center (at a maximum of 60°). From 188914e69f2e07331385a3291c91d98908bbdaa5 Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:24:25 +0200 Subject: [PATCH 11/18] Update examples/projections/azim/azim_general_perspective.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_perspective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_general_perspective.py b/examples/projections/azim/azim_general_perspective.py index a2d7089e415..97a0a89632f 100755 --- a/examples/projections/azim/azim_general_perspective.py +++ b/examples/projections/azim/azim_general_perspective.py @@ -2,7 +2,7 @@ General Perspective =================== -The general perspective projection imitates the view of the earth from a finite +The general perspective projection imitates the view of the Earth from a finite point in space. In a full view of the earth one third of its surface area can be seen. From ee7d5341014632e76227f73ee6ba79b82975be48 Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:24:36 +0200 Subject: [PATCH 12/18] Update examples/projections/azim/azim_general_stereographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_stereographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index 81b3396cd85..e55c9f4f4dc 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -4,7 +4,7 @@ This map projection is a conformal, azimuthal projection. It is mainly used with a projection center in one of the poles. Then meridians appear as straight lines -and cross latitudes at a right angle. Unlike the azimuthal equidistant projection +and cross latitudes at a right angle. Unlike the azimuthal equidistant projection, the distances in this projection are not displayed in correct proportions. It is often used as a hemisphere map like the Lambert Azimuthal Equal Area projection. From 6f38bccdc61dd6f156a9e15525dcff26ece105ba Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:24:49 +0200 Subject: [PATCH 13/18] Update examples/projections/azim/azim_general_stereographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_stereographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index e55c9f4f4dc..3a15ed14562 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -14,7 +14,7 @@ ``lon0/lat0`` specifies the projection center, the optional ``horizon`` parameter specifies the max distance from projection center (in degrees, < 180, default 90). -This projection can be displayed +This projection can be displayed: * with map boundaries coinciding with longitude and latitude: ``region`` specified via ``xmin/xmax/ymin/ymax`` From 4b9816116d4d7bb41958931ac62ce4c59c2ac17c Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:37:46 +0200 Subject: [PATCH 14/18] Update examples/projections/azim/azim_general_stereographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_stereographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index 3a15ed14562..b7f741148bf 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -16,7 +16,7 @@ This projection can be displayed: -* with map boundaries coinciding with longitude and latitude: +* With map boundaries coinciding with longitude and latitude: ``region`` specified via ``xmin/xmax/ymin/ymax`` * as a map with rectangular boundaries: ``region`` specified as lower left and From 7f83ce36a47ae82743432aba8c3b442021f93650 Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:38:05 +0200 Subject: [PATCH 15/18] Update examples/projections/azim/azim_general_stereographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_stereographic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index b7f741148bf..f0fe8438656 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -18,7 +18,6 @@ * With map boundaries coinciding with longitude and latitude: ``region`` specified via ``xmin/xmax/ymin/ymax`` - * as a map with rectangular boundaries: ``region`` specified as lower left and upper right corner ``xlleft/ylleft/xuright/yurightr``. Note the appended ``r``. """ From 4cf40e0966a633d77249cab3fd5048787cd1b942 Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:38:20 +0200 Subject: [PATCH 16/18] Update examples/projections/azim/azim_orthographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_orthographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_orthographic.py b/examples/projections/azim/azim_orthographic.py index 534b6d909e4..a2a5d637cb8 100755 --- a/examples/projections/azim/azim_orthographic.py +++ b/examples/projections/azim/azim_orthographic.py @@ -2,7 +2,7 @@ Orthographic ============ -This projection is a perspective projection like the general perspective, +This is a perspective projection like the general perspective, but with the difference that the point of perspective lies in infinite distance. It is therefore often used to give the appearance of a globe viewed from outer space, were one hemisphere can be seen as a whole. It is nor conformal, nor From 7fa34fffda777d3691a3dfa03bea249e6640f1ab Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:39:23 +0200 Subject: [PATCH 17/18] Update examples/projections/azim/azim_orthographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_orthographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_orthographic.py b/examples/projections/azim/azim_orthographic.py index a2a5d637cb8..a7c3a43eedc 100755 --- a/examples/projections/azim/azim_orthographic.py +++ b/examples/projections/azim/azim_orthographic.py @@ -5,7 +5,7 @@ This is a perspective projection like the general perspective, but with the difference that the point of perspective lies in infinite distance. It is therefore often used to give the appearance of a globe viewed from outer -space, were one hemisphere can be seen as a whole. It is nor conformal, nor +space, were one hemisphere can be seen as a whole. It is neither conformal nor equal-area and the distortion increases near the edges. ``glon0/lat0[/horizon]/scale`` or ``Glon0/lat0[/horizon]/width`` From efab82ae41072babab41155b32bd14ea3370beb2 Mon Sep 17 00:00:00 2001 From: Philipp <37411699+xibalba01@users.noreply.github.com> Date: Thu, 1 Aug 2019 19:40:36 +0200 Subject: [PATCH 18/18] Update examples/projections/azim/azim_general_stereographic.py Co-Authored-By: Leonardo Uieda --- examples/projections/azim/azim_general_stereographic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/azim/azim_general_stereographic.py b/examples/projections/azim/azim_general_stereographic.py index f0fe8438656..5d874e8a126 100755 --- a/examples/projections/azim/azim_general_stereographic.py +++ b/examples/projections/azim/azim_general_stereographic.py @@ -18,7 +18,7 @@ * With map boundaries coinciding with longitude and latitude: ``region`` specified via ``xmin/xmax/ymin/ymax`` -* as a map with rectangular boundaries: ``region`` specified as lower left and +* As a map with rectangular boundaries: ``region`` specified as lower left and upper right corner ``xlleft/ylleft/xuright/yurightr``. Note the appended ``r``. """ import pygmt