Skip to content
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

Passing in virtual files into the supplementary x2sys modules #3717

Open
weiji14 opened this issue Jul 23, 2020 · 2 comments
Open

Passing in virtual files into the supplementary x2sys modules #3717

weiji14 opened this issue Jul 23, 2020 · 2 comments
Labels
longterm Long standing issues that need to be resolved

Comments

@weiji14
Copy link
Member

weiji14 commented Jul 23, 2020

Description of the desired feature

Crossposting from GenericMappingTools/pygmt#546 (comment)_. The supplementary X2SYS modules doesn't seem to support virtual files from the GMT C API yet, only ASCII, Binary and NetCDF files according to https://docs.generic-mapping-tools.org/6.1/supplements/x2sys/x2sys_init.html#format-definition-files. This is the error message when I try to pass in a virtualfile to x2sys_cross:

x2sys_cross [WARNING]: No time column, use dummy times
Not a valid unit: c [meter assumed]
Not a valid unit: c [meter assumed]
x2sys_cross [ERROR]: x2sys_read_file : Cannot find track @GMTAPI@-S-I-D-M-T-N-000000
(null): Error from fclose [@GMTAPI@-S-I-D-M-T-N-000000]

The equivalent non-virtualfile MCWE in GMT would be something like this:

export X2SYS_HOME=.
gmt x2sys_init GMT -Dxyz -F
gmt x2sys_cross @tut_ship.xyz -TGMT -Qi > tmp.txt

Are you willing to help implement and maintain this feature? Perhaps, if it's not too hard 😄

@stale
Copy link

stale bot commented Oct 23, 2020

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@stale stale bot added the stale This will not be worked on label Oct 23, 2020
@joa-quim joa-quim removed the stale This will not be worked on label Oct 23, 2020
@stale
Copy link

stale bot commented Jan 23, 2021

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
longterm Long standing issues that need to be resolved
Projects
None yet
Development

No branches or pull requests

3 participants