monodera / pfs_target_uploader

A web application to validate and upload target lists with pointing simulations for PFS observation
https://pfs-etc.naoj.hawaii.edu/uploader/
MIT License
1 stars 0 forks source link

correct calculation of the total FH #223

Closed wanqqq31 closed 1 month ago

wanqqq31 commented 1 month ago

the total FH is calculated by sum(exptime_ppp)/3600 now --> if target requests 900 sec exptime, and set single_exptime=500 sec, it actually needs 500 sec 2 = 1000 sec to complete the target since netflow only accepts the same exptime for all visits now. Then if the total FH is calculated by sum(exptime), the completion rate = 1000 sec / 900 sec > 100%, which might confuse users. So I correct the calculation of total FH to sum(exptime_ppp), where exptime_ppp=ceil(exptime/single_exptime)exptime.

monodera commented 1 month ago

I've just rebased the branch to the dev-main.