Reduced wait time

add_fits_site_info
Cees Bassa 2022-04-02 12:59:37 +02:00
parent 0e7e067fb6
commit 41ff616c27
2 changed files with 5 additions and 5 deletions

View File

@ -47,13 +47,13 @@ if __name__ == '__main__':
command = "solve-field -O -y -u app -L %s -H %s --downsample 2 " % (low_app, high_app)
if (not no_sex):
command = command + \
"--use-sextractor --sextractor-config %s --x-column X_IMAGE " % sex_config + \
"--y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending "
"--use-sextractor --sextractor-config %s --x-column X_IMAGE " % sex_config + \
"--y-column Y_IMAGE --sort-column MAG_AUTO --sort-ascending "
command = command + \
"--no-plots -T -N %s/test.fits %s" % (path, file_for_astrometry)
"--no-plots -T -N %s/test.fits %s" % (path, file_for_astrometry)
# Run solve-field
subprocess.run(command, shell=True, stderr=subprocess.STDOUT)
else:
print("No fits file found for astrometric solving.")
print("No fits file found for astrometric solving.")

View File

@ -241,7 +241,7 @@ if __name__ == "__main__":
# Sleep
try:
print("File queue empty, waiting for new files...\r", end = '')
time.sleep(10)
time.sleep(1)
except KeyboardInterrupt:
fstat.close()
sys.exit()