Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula issue #18

Open
tiuno opened this issue Jan 2, 2021 · 0 comments
Open

Formula issue #18

tiuno opened this issue Jan 2, 2021 · 0 comments

Comments

@tiuno
Copy link

tiuno commented Jan 2, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant