Skip to content

Solar module inverts shading when used with -Rxmin/xmax/ymin/ymax #4551

@RunningWild89

Description

@RunningWild89

Running the solar module while specifying -R with coordinates rather than -Rg results in the shading of the wrong area. In other words, Instead of the areas away from the sun being dark, the areas NEAR the sun are dark.

gmt begin solar_test_2
	#gmt coast -JH0/30c -Rg -Dh -W -Bafg -A500 -Gtan
	gmt coast -JM0/30c -R-15/15/40/60 -Bafg -Dh -W -A500 -Gtan
	gmt solar -Td+d2020-11-04T16:30:00+z7 -Gnavy@80
	gmt solar -Tc+d2020-11-04T16:30:00+z7 -Gnavy@70
gmt end show

No error messages are produced.

Compare Outcomes

solar_test_1.pdf
solar_test_2.pdf

System information

  • Operating system:
  • GMT version 6.1 on windows. Script run on Git with bash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions