spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

Creating PNG plots in headless environment #68

Closed jameswilburlewis closed 1 year ago

jameswilburlewis commented 1 year ago

A help request from the summer GEM workshop:

Simone di Matteo is trying to make plots using SPEDAS in the Heliocloud environment. He is getting errors because no X server is available. I think the solution may be as simple as using set_plot,'z' and makepng....we should come up with a simple example and see if it works for him.

jameswilburlewis commented 1 year ago

Something like this should work:

set_plot,'z'
timespan,'2007-03-23',1,/day
thm_load_fgm,probe='a',level=2
thm_load_esa,probe='a',level=2
tplot,['*fgl*','*en_eflux']
makepng,'themis_plot.png'