in reply to Re^2: Joining separate data files to make one.
in thread Joining separate data files to make one.
Thanks for this it worked well.
Your welcome. I enjoyed writing it.
The only problem is, I can't for the life of me figure it out. The multiple calls to map have me perplexed. I spent most of the day reading up about map, and am still a bit confused.
Alexander has provided a breakdown of what's going on here. Feel free to ask if anything needs further explanation.
I know I didn't give an example of my data files, but you were almost spot on.
Your original question was pretty clear. I felt I had a reasonable understanding of what you were after.
If I can ask a favour, how would the code vary, if the gravity and magnetics files had a 6th field, whilst the bathymetry remained at five?
I'm happy to answer that with a little more information.
Finally, on the timing issue, I staggered the date-time fields through the test data to take that into consideration. Within each test file the times are ordered though. If your live data is not necessarily in chronological order, you might want to jumble up the lines in one or more files. I think it should still work but I didn't specifically test for that scenario.
Regards,
Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Joining separate data files to make one.
by msexton (Initiate) on Oct 08, 2010 at 12:09 UTC |