starlink-coverage icon indicating copy to clipboard operation
starlink-coverage copied to clipboard

Formula issue

Open tiuno opened this issue 4 years ago • 0 comments

Currently I am trying to run your program to generate the data using the scripts you provided, gen_cov.sh, my first remark is that the encoding for end-of-line is not unix standard in your python sources, i.e. DOS instead of Unix. Second, I ran in an issue when running the forementioned script : sh gen_cov.py. Here's the outcome :

Sat 02 Jan 2021 05:58:48 PM CET
Loaded 897 satellites
Filtered to 659 operational satellites
2020-07-25T00:00:00Z
Traceback (most recent call last):
  File "/tmp/starlink-coverage/./main.py", line 246, in <module>
    angle = calcCapAngle(sat.elevation.km, MIN_TERMINAL_ANGLE_DEG)
  File "/tmp/starlink-coverage/./main.py", line 100, in calcCapAngle
    eta_FOV = math.asin((math.sin(epsilon + RIGHT_ANGLE)
ValueError: math domain error
Loaded 897 satellites
Filtered to 659 operational satellites
2020-07-25T18:00:00Z
Traceback (most recent call last):
  File "/tmp/starlink-coverage/./main.py", line 246, in <module>
    angle = calcCapAngle(sat.elevation.km, MIN_TERMINAL_ANGLE_DEG)
  File "/tmp/starlink-coverage/./main.py", line 100, in calcCapAngle
    eta_FOV = math.asin((math.sin(epsilon + RIGHT_ANGLE)
ValueError: math domain error
Loaded 897 satellites
Filtered to 659 operational satellites
2020-07-25T12:00:00Z
Traceback (most recent call last):
  File "/tmp/starlink-coverage/./main.py", line 246, in <module>
    angle = calcCapAngle(sat.elevation.km, MIN_TERMINAL_ANGLE_DEG)
  File "/tmp/starlink-coverage/./main.py", line 100, in calcCapAngle
    eta_FOV = math.asin((math.sin(epsilon + RIGHT_ANGLE)
ValueError: math domain error
Loaded 897 satellites
Filtered to 659 operational satellites
2020-07-25T06:00:00Z
Traceback (most recent call last):
  File "/tmp/starlink-coverage/./main.py", line 246, in <module>
    angle = calcCapAngle(sat.elevation.km, MIN_TERMINAL_ANGLE_DEG)
  File "/tmp/starlink-coverage/./main.py", line 100, in calcCapAngle
    eta_FOV = math.asin((math.sin(epsilon + RIGHT_ANGLE)
ValueError: math domain error
mv: cannot stat 'h3_4_cov_full.txt': No such file or directory
  File "/tmp/starlink-coverage/./merge_cover.py", line 36
    res4_cells = h3.h3_to_children(base_cell, 4)
IndentationError: unexpected indent

Could you help me troubleshoot the situation?

tiuno avatar Jan 02 '21 17:01 tiuno