added overhead_per_exposure in each telescope config files to avoid the code to crash when not present. A better option would be to set a try / except condition in the code where this is used.
Added min_observability_duration parameter in the telescope config file (expressed in hours). This parameter is used in tiles.py as a threshold to consider only tiles that are observable for at least this duration. Otherwise the probability of the tile is set to 0. @mcoughlin, you might want to check whether this change does not break anything in the code. From my side, it works fine, as well as the test_schedule.py.
If this parameter is not present in the config file, the value is simply set to zero, and nothing is modified in the code.
Added TRE and TNT telescopes in the test_schedule.py to make the test more robust.
There are 3 changes here:
added overhead_per_exposure in each telescope config files to avoid the code to crash when not present. A better option would be to set a try / except condition in the code where this is used.
Added min_observability_duration parameter in the telescope config file (expressed in hours). This parameter is used in tiles.py as a threshold to consider only tiles that are observable for at least this duration. Otherwise the probability of the tile is set to 0. @mcoughlin, you might want to check whether this change does not break anything in the code. From my side, it works fine, as well as the test_schedule.py.
If this parameter is not present in the config file, the value is simply set to zero, and nothing is modified in the code.
Added TRE and TNT telescopes in the test_schedule.py to make the test more robust.