You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PyGMT script is equivalent to the following bash script:
gmt begin pygmt-session
gmt figure unique_name -
gmt basemap -R0/10/0/10 -Baf -JX10c
gmt psconvert -A -Fmap -Qg2 -Qt2 -Tf
gmt end
Running the bash script above gives following error message:
psconvert [ERROR]: Syntax error: Modern GMT mode requires the -F option
end [ERROR]: Failed to call psconvert
end [ERROR]: process_figures returned error 71
According to the comments in PyGMT codes, passing format - to the figure module means "don't produce files for this figure when running gmt end". It seems it doesn't work correctly in 6.0.0rc4.
Are you sure that is how Leo used it? The C code checks to see if the figure name equals -, not the format. And since that fails it tries something... I can add a check so that if either name or format equals - then skip it.
Activity
weiji14 commentedon Sep 24, 2019
The '-' format doesn't seem to be properly documented in the
figuredocs either?PaulWessel commentedon Sep 24, 2019
Are you sure that is how Leo used it? The C code checks to see if the figure name equals -, not the format. And since that fails it tries something... I can add a check so that if either name or format equals - then skip it.
Dont count figure formats that are not recognized
Dont count figure formats that are not recognized (#1638)
seisman commentedon Sep 24, 2019
Closed as fixed by #1638.