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

x2sys_solve question #6273

Open
MarcoNL96 opened this issue Jan 27, 2022 · 3 comments
Open

x2sys_solve question #6273

MarcoNL96 opened this issue Jan 27, 2022 · 3 comments

Comments

@MarcoNL96
Copy link

MarcoNL96 commented Jan 27, 2022

Hi
I have 9tracks Ti.dat ( longitude|latitude|free air anomaly ) -> lon | lat | faa
I also have a table of weight: weights.txt -> track | weight

export x2sys_home ...
gmt x2sys_init LLA -Dlla -Edat -V -Gd -Ndk -Nsk -Rd -Wd0.8
gmt x2sys_cross -TLLA *.dat -V1> cross.out
gmt x2sys_list -TLLA cross.out -V -Cfaa -Fncw -Wweights.txt > list.out
gmt x2sys_solve -TLLA list.out -V -Cfaa -Ec -W > solve.out

The problem appears in gmtx2sys_solve, because I want to use the column weights of crossovers that I got in x2sys_list with -Fncw -Wweights.txt but x2sys_solve gives the same solution as if they were all weights 1.
I was looking for examples of x2sys_solve using -W but I couldn't find any.
My questions would be:
Why does x2sys_solve ignore the weight column (the last one) of list.out ?
Am I misusing the x2sys_solve command?

Hope someone can help me
Have a great day
tracks.zip

@welcome
Copy link

welcome bot commented Jan 27, 2022

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. We appreciate that you took the time to contribute!

Please make sure you read our Contributing Guide and abide by our Code of Conduct.

@PaulWessel
Copy link
Member

x2sys issues are tricky to debug since I need to be able to recreate the case. If you are able to, please zip up files, including the LLA file setting so I can recreate. Ideally, you will try to keep the data as simple as possible (maybe remove some tracks) while still showing the problem.

@MarcoNL96
Copy link
Author

That's a good idea, I've just edited the post adding the file with the tracks at the end
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants