LowellObservatory / NightShift

Collection of sub-modules used in the NightWatch (and other Night*) project
Mozilla Public License 2.0
1 stars 1 forks source link

Allow goes and nexrad modules to make their own file paths for outputs #3

Closed astrobokonon closed 4 years ago

astrobokonon commented 5 years ago

Right now I have to remember to pre-make the directories, which is a little annoying. Ultimately the best way to do it is to allow them to remake the directories on-the-fly (great for local testing and debugging!) but keep the directories being made in the dockerfiles as well (great for bind mounting!).

astrobokonon commented 5 years ago

Could just hack it in to check just before plt.savefig() in the relevant plot functions, but that'd miss the 'nows' and 'raws' directories; there should be a check before any of that starts, so it'd be more towards the surface.

astrobokonon commented 4 years ago

I hacked this in to dockEnvFile for NightWatch some time ago, but it could also be done in the dockerfile that makes the container. Closing this since it's not super relevant anymore.