NSB's dependence on a my_config.cfg file is badly designed. Write an automated function to avoid this step.
Note to self: Nothing like this seems to exist in the source code for NSB. my_config.cfg file needs to have format:
time = 2022/04/17 00:20:00
Lon = -70.317876
Lat = -24.681546
elevation = 2161.25
version = hess_basic
image_size = 200
alt = 46.3
az = 206.3
healpixlevel = 11
gauss = 0.0
moon_above_horizon = 0.0
sun_below_horizon = -18.0
Most of these are just constants now, but observation time and alt/az are the ones that need to be written for #7 . For time use astropy TimeDelta objects to create array of astropy time instances c.f.:
NSB's dependence on a my_config.cfg file is badly designed. Write an automated function to avoid this step.
Note to self: Nothing like this seems to exist in the source code for NSB. my_config.cfg file needs to have format:
Most of these are just constants now, but observation time and alt/az are the ones that need to be written for #7 . For time use astropy TimeDelta objects to create array of astropy time instances c.f.: