Repository navigation
Conversation
Contributor
|
There were no KEY for input because we are not using the GMT i/o system and hence all the stuff about memory and passing info cannot work. The input KML is not a GMT container. |
Contributor
|
I mean, the entire read section would have to use GMT_Get_Record and work with the trailing text part only. It will be a major rewrite. Do you have KML in memory that you need to pass into kml2gmt that way and cannot use a file? |
Member
Author
|
No, I'm just blindly converting all GMT modules to work from Julia. |
Contributor
|
Perhaps you should just delete this PR since there is much more to do than changing the KEYS. Maybe make it an issue instead? |
Member
Author
|
Opened #976 to keep track of this |
obaney
pushed a commit
to obaney/gmt
that referenced
this pull request
Aug 18, 2021
Enable grdimage for file input. Passing in `xarray.DataArray` isn't working because of some bugs in the GMT C API. This will require some work on the GMT side before we can use it. Implement basic support for grdinfo as well for testing. Starts to implement GenericMappingTools#124
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Missed the reading KEY. Avoid some failing tests for external but still does't work. It now crashes at line 240 when trying to read from
fpbecause data is not it
fp