LCOGT/neoexchange

frame movies on apophis need write permissions

Closed this issue · 2 comments

right now we need to reset the permissions on gif movies each time we run lc_extraction.
We don't want to have to do that.

@jchate6 Can you update this with the error message/stacktrace so we can see where this is getting triggered ?

WARNING:matplotlib.animation:MovieWriter stderr:
convert: unable to open image `/apophis/eng/rocks/20211114/2004UE_2687862_framemovie.gif': Permission denied @ error/blob.c/OpenBlob/2643.

This is taking place at photometrics.gf_movie:366 and is called from lightcurve_extraction:486

This is caused because the gifs are created during the automated reduction on apophis, but there is no write permission for the group. Adding this permission to the created file at some point in the process would resolve this issue.