quatrope / ProperImage

Proper Image utils for astronomy.
BSD 3-Clause "New" or "Revised" License
25 stars 6 forks source link

Number of hidden dot files #11

Open martinberoiz opened 4 years ago

martinberoiz commented 4 years ago

Hi,

I noticed today a bunch of hidden dotted files:

._120634801176SingleImage.dat
._120634801176SingleImage.map
...

Could this be from properimage not cleaning it up?

BrunoSanchez commented 4 years ago

Hi Martin,

this is from properimage. It is supposed to clean this files. I will check the testing and study the case, since I have observed this before.

For the moment, it is important to know that the information in those files is relevant as long as you have a SingleImage instance in an open Python session. After that, the files can be safely removed.

Possible improvements on this could be using diskcache, a package that I have just heard of. Let me know what you think.

martinberoiz commented 4 years ago

A .tmp directory to dump these files in would be a simple solution in the short term.