astroplan icon indicating copy to clipboard operation
astroplan copied to clipboard

Initialize altitude constraint from profile

Open HealthyPear opened this issue 2 years ago • 2 comments

According to your documentation this doesn't seem possible.

I have an astropy table with zenith and azimuth columns containing measurements of the horizon profile as seen from an observatory.

I would like to define the altitude constraint for my observation by using the measurements values.

The implementation of this might be done in this way:

  • add a new method .from_table() to the AltitudeConstraint class to load the table
  • modify the class constructor in a way that if a table is defined instead of min/max values, than the max altitude value is given by the zenith profile
  • modify AltitudeConstraint.compute_constraint to account also for the azimutal progression of the transit

HealthyPear avatar Nov 16 '23 15:11 HealthyPear

That's a neat idea, I've wanted but never seen a measured table for azimuthally-resolved altitude constraints. I'm curious – what kind of observations do you do so near to the horizon?

The only way to satisfy this for now is to take the maximum altitude from your table and provided it as the minimum in the altitude constraint.

bmorris3 avatar Nov 16 '23 15:11 bmorris3

sorry for the late reply

the kind of measurements I do is with Imaging Atmospheric Cherenkov Telescopes from the Northern Hemisphere looking at sources along the galactic plane at positions or energy thresholds that require very large zenith angles

our observatory sits near a mountain/volcano so on one side of the observatory the mountain profile covers part of the field of view between 60° and 90° degrees zenith

HealthyPear avatar Dec 15 '23 17:12 HealthyPear