sdss / lvmcam

An actor implementation of sdss-araviscam for lvmagp
https://sdss-lvmcam.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Use basecam.Imagenamer #42

Closed wasndas closed 2 years ago

wasndas commented 2 years ago

basecam handles already naming images: Imagenamer Doc & Imagenamer SrcDoc

Maybe put in a configfile a basename and dirname; instead of mjd I do prefer normal human readable dates with strftime

basename = 'lvm.sci.ag.w.{date.strftime("%Y%m%d/")}-{num:04d}.fits' dirname = '/data/lvm/sci/ag/{date.strftime("/data/lvm/sci/ag/%Y%m%d")}'

ImageNamer(basename, dirname=dirname)