Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Housekeeping #42

Closed
3 tasks done
wtgee opened this issue Jun 29, 2016 · 5 comments
Closed
3 tasks done

Daily Housekeeping #42

wtgee opened this issue Jun 29, 2016 · 5 comments

Comments

@wtgee
Copy link
Member

wtgee commented Jun 29, 2016

Determine tasks that need to be accomplished during the Housekeeping state, which is run after the unit is parked. This should either be run directly after parking or at some set time each morning.

  • Cleanup observations directory
  • Upload images to cloud storage
  • Upload metadata to (TBD) cloud.
@wtgee wtgee added this to the V1.0 milestone Feb 3, 2017
@wtgee wtgee removed this from the V1.0 milestone Dec 5, 2017
@jamessynge
Copy link
Contributor

I'm looking at setting up some code to run PIAA analysis on an observation, which would be easier if the last file uploaded for an observation was a sentinel that indicates that the upload is complete. This could be a metadata file, or just an empty file (e.g. UPLOAD-COMPLETE).

@wtgee wtgee closed this as completed Apr 25, 2018
@jamessynge
Copy link
Contributor

jamessynge commented Apr 25, 2018 via email

@wtgee wtgee reopened this Apr 25, 2018
@wtgee
Copy link
Member Author

wtgee commented Apr 25, 2018

Sorry, I didn't mean to close it. In fact, I had made an earlier comment and had meant to post it but guess I screwed it up on my mobile.

Anyway, yes, I have been thinking something along these lines. Because they can be uploaded in any order I almost think it would need to be a metadata file that lists the names of the files that should have been uploaded. If we wanted to be really sure we could do md5sums or something.

I have just barely got it set up so that it responds to the notifications when something gets uploaded. The idea is that this will then do a plate-solve on the file and ingest metadata from the FITS header into a postgresql database. We can then use this metadb for displaying a site of info.

@jamessynge
Copy link
Contributor

jamessynge commented Apr 25, 2018 via email

@wtgee
Copy link
Member Author

wtgee commented Oct 16, 2018

Always happy to close a 2 year old Issue. :) Closed by #687.

@wtgee wtgee closed this as completed Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants