Default directory and asteroid target list
Posted: 30 Dec 2020, 19:14
I’m trying to save images to a new directory that I create in the script using the date$() and create.directory functions.
It creates the directory fine
But I cannot see how to select this as the default directory to save the images into or how to automatically write the new directory into the save.image format.
I am trying to use the system clock to create the directory with the date then save the images on that session into the new directory
I can obviously write the directory name into the script but cannot work out how to do this automatically from within the script.
Is there a way to pick up to date RA and DEC from the MPC with the script directly accessing these. If I had a text list of the asteroid names can the program access the MPC and get accurate RA and DEC for telescope control or is there another way to do this?
It creates the directory fine
But I cannot see how to select this as the default directory to save the images into or how to automatically write the new directory into the save.image format.
I am trying to use the system clock to create the directory with the date then save the images on that session into the new directory
I can obviously write the directory name into the script but cannot work out how to do this automatically from within the script.
Is there a way to pick up to date RA and DEC from the MPC with the script directly accessing these. If I had a text list of the asteroid names can the program access the MPC and get accurate RA and DEC for telescope control or is there another way to do this?