update_skytables

pyetc.etc.update_skytables(logger, obj, name, chan, moons, airmass, refdir, overwrite=False, debug=False)

update setup sky files for a change in setup parameters

Parameters:
loggerlogging instance

logger to print progress

objdict

instrument dictionary

namestr

instrument name

chan: str

channel name

moonslist of str

list of moon sky conditions eg [‘darksky’]

airmasslist of float

list of airmass

refdirstr

path name where to write the reference setup fits file

overwritebool

if True overwrite existing file (Default value = False)

debugbool

if True do not try to write(used for unit test, Default value = False)