ukmda / ukmda-dataprocessing

UK Meteor data analysis code and libraries
https://archive.ukmeteors.co.uk
GNU General Public License v3.0
2 stars 1 forks source link

Improve the getECSV algorithm #386

Closed markmac99 closed 1 month ago

markmac99 commented 1 month ago

The current method looks for FF files with matching filenames to the camera id and datestamp eg UK0006, 2024-05-01T20:14:20 would match FF_UK0006_20240501201420*, then obtains the first available matching event from the ftpdetect file. This doesn't work properly for FF files containing multiple detections with different timestamps.

For example

matches/RMSCorrelate/UK005U/UK005U_20240809_201258_058797/FTPdetectinfo_UK005U_20240809_201258_058797.txt

contains three events in FF_UK005U_20240810_004140_343_0401920.fits. The API will only return the first of these. I need to check more carefully, without an unacceptable performance or cost impact.

markmac99 commented 1 month ago

fetchECSV(camid, datestr, metcount=1):

markmac99 commented 1 month ago

Looks to be done