Template code to extract data from Pan-STARRS exposure. File paths will need to be added and the code edited accordingly.