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
{{ message }}
Repository navigation
Check the GMT version before creating a session #171
LibGMT should check if the GMT version is >= 6.0.0. This would be great to check upon instantiation but that wouldn't work because LibGMT.get_default requires an active session. So the only logical place to put this is in LibGMT.__enter__ after the session is created. If the check fails, the session should be closed and an exception raised (possibly a new one, like GMTVersionError).
Activity
Using LibGMT in 'with' fails if GMT < 6.0.0
Using LibGMT in 'with' fails if GMT < 6.0.0 (#175)