We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1769e9 commit 71e2c70Copy full SHA for 71e2c70
1 file changed
src/gmtconvert.jl
@@ -67,6 +67,6 @@ function gmtconvert_helper(cmd0::String, arg1, d::Dict{Symbol,Any})
67
[:I :invert :reverse], [:L :list_only], [:N :sort], [:Q :segments], [:S :select_hdr], [:T :suppress :skip], [:W :word2num], [:Z :transpose]])
68
69
out = common_grd(d, cmd0, cmd, "gmtconvert ", arg1) # Finish build cmd and run it
70
- (!contains(cmd, " -b") && isa(out, GDtype) && cmd0 != "") && file_has_time!(cmd0, out) # Try to guess if time columns
+ (!contains(cmd, " -b") && isa(out, GDtype) && cmd0 != "" && guess_T_from_ext(cmd0) == " -Td") && file_has_time!(cmd0, out) # Try to guess if time columns
71
return out
72
end
0 commit comments