Closed seisman closed 4 years ago
First reported in https://github.com/GenericMappingTools/pygmt/issues/365.
If there is a pre-existing gmt.conf file, especially old GMT5 gmt.conf which lists all GMT settings, using modern mode commands reports errors.
gmt [ERROR]: GMT_COMPATIBILITY: Expects values from 6 to 6; reset to 6. gmt [ERROR]: GMT_COMPATIBILITY: Expects values from 6 to 6; reset to 6.
A minimal script to reproduce the issue.
cat << EOF > gmt.conf GMT_COMPATIBILITY = 4 EOF gmt begin map gmt coast -Rg -JH10c -Baf -W1p gmt end show
Should it be a warning or a compatibility message, instead of an error?
Closed by #1981.
First reported in https://github.com/GenericMappingTools/pygmt/issues/365.
If there is a pre-existing gmt.conf file, especially old GMT5 gmt.conf which lists all GMT settings, using modern mode commands reports errors.
A minimal script to reproduce the issue.
Should it be a warning or a compatibility message, instead of an error?