-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specify file names that cause errors without having to specify verbose output #692
Comments
Is it also possible to say to GMT that it should just ignore malformed lines and continue with the rest of the file? A file missing say a z-value in the 3rd column will stop processing of current file and stop/move on to the next. |
And more; gmt will only report the first record it encounters with malformed content - there might be many more. |
I have added file names in PR #697 but not ready to list every line with problems. |
Great - works! |
Not sure that it applies to this case (though I suspect it does) but the GMT IO is already very complicated, checking to lots of conditions. A bad side effect of it is that it's now quite slow (relatively ofc) and there are people who complains (#587). Adding more conditions adds to this complexity and there are trade offs to be decided. |
I see. Is this partly related to #366? I mean, if the input file always have to be in the (well known) GMT/OGR-format, one would not need as many condition tests? |
Actually, the .gmt files (GMT/OGR format) plus the fact that they are an ascii only format are heavy to parse. |
Is it OK to close this issue now? We are not going to report every single line for the reasons discussed above, and the GDAL OGR bridge is being worked on separately. |
Go for it. |
…acts (GenericMappingTools#692) Adds a missing @ back to cache workflow, accidental typo from GenericMappingTools#687. Also bumps dawidd6/action-download-artifact from 2.6.3 to 2.10.0 and make sure that we only grab from successfully cached artifacts next time.
|
gmt info deals with data tables, but bd.cpt is a CPT file; it is not designed to be useful in gmt info. |
Sorry - Never mind. I use GMT only once every three years, and I always completely forget how it works. |
I have a bunch of files that I want to plot, e.g.
Some of these files have problems causing the following errors:
What about including the file names in these error messages? Adding
-Vd
should not be necessary in these cases - of course you would want to know which files that are bad.The text was updated successfully, but these errors were encountered: