Reduced wait time
parent
0e7e067fb6
commit
41ff616c27
|
@ -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.")
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue