Good afternoon gents, I have two questions:
-
I am trying to plot daylight and twilight on a particular date and time in the UK. It’s late in the afternoon so it should be light in the west (sun is setting) and dark in the east.
When my underlying map is something geographic like Hammer it plots just fine. When I try to plot something more local (using -JH for example) I get the shading on the OPPOSITE side of the line!! In other words, I get the dark navy colours west of the line, closer to the sun. -
On a separate note, not sure how to adjust for timezones. Trying to play with different timezones and appending +z3 or +zTZ3 makes no difference to the shading. I’m pretty sure I’ve got the +z syntax wrong.
This will produce a map with “wrong” shading:
gmt begin test
gmt coast -JT0/30c -R-15/15/50/60 -Dh -W -Bafg -A500 -Gdarkgreen
#gmt coast -JH0/30c -Rg -Dh -W -Bafg -A500 -Gtan
gmt solar -Td+d2020-11-04T16:30:00 -Gnavy@80
gmt solar -Tc+d2020-11-04T16:30:00 -Gnavy@70
#gmt solar -Tn+d2020-11-04T16:45:00+zTZ+3 -Gnavy@85
#gmt solar -Ta+d2020-11-04T16:45:00+zTZ+3 -Gnavy@80
gmt end show