EranOfek / AstroPack

Astronomy & Astrophysics Software Pacakge
Other
19 stars 4 forks source link

implement mount obstruction constraints in Scheduler #530

Open EastEriq opened 1 day ago

EastEriq commented 1 day ago

Copying here Eran's message, to have traceable progress:

Hi Enrico,

The telescope scheduler class now takes into account the individual mount altitude constraints due to telescope-to-telescope and wall obstruction (assuming all walls are lowered).

To use it:

  1. Copy: euler:/home/eran/work/LAST/obstraction/MountConst*.txt to the scheduler directory in last0.
  2. In your script that brings up the demon, after you construct the scheduler object add the following lines:

% load and use individual mount altitude constraints due to obstractions

PathMC = '/home/last0/Scheduler';  % modify to the scheduler dir...
CMC = tools.cell.sprintf2cell('MountConst%d.txt',(1:1:12)');
S.populateMountAltConstraints(CMC,PathMC);

Thanks, Eran

EastEriq commented 1 day ago
enrico@euler:~$ cd /home/eran/work
-bash: cd: /home/eran/work: Permission denied

Can you attach the files here?

EranOfek commented 1 day ago

Mounts constraints files attached:

MountConst2.txt MountConst1.txt MountConst12.txt MountConst3.txt MountConst6.txt MountConst4.txt MountConst5.txt MountConst11.txt MountConst10.txt MountConst9.txt MountConst8.txt MountConst7.txt

EastEriq commented 1 day ago

Do you have a script for generating them? It may be good to reference it here. Notably for the future arrangement of mounts in the new observatory.