Object Matching in three filters

J

jamie

Ok, I've got quite a longwinded program that searches through arrays of
positions in 2d matching nearest neighbours in three separate plates.
The arrays are large (about 10000 entries) and read from a datafile
output by a automatic photometry program, GAIA.
My problem is that the matching objects, whilst detected and visible
when read out to the terminal window, are not printed proberly to file.
A file that should contain 6000+ entries stops after 39 lines. This
even occurs when the terminal output through java NearestNeighbours >
entrymatch.text
Can anyone help me with this? I don't know if I should attach code
because it is extremely long so I won't. It seems anyway that the
program is outputting as it should but losing data in trying to write
it. I have no idea how this might arise!
My print command is
PrintWriter matches = new PrintWriter(new
FileWriter("entrymatch.text"));
and it is flushed and closed at the end.

Oh, I'm using Ubuntu if that helps.

Thanks for any help you can give!

jamie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top