I am planning to evaluate ACP in the near future and I am looking over ACP planner and the available directives.

I will be typically doing an entire night of images on a single asteroid for photometry on a GEM. So my goal is to start observing when the object is above 2 airmasses and then end when it sets to less than 2 airmasses later in the evening or morning.

I see how to do the first half with #waituntil but how do you manage the set time?
Do you have to know the time the object sets?

Can someone provide a simple example?

Regards,

Russ Durkee