Skip to content

SSAPy v1.0.0 not properly closing the lunar harmonics file? #1

@aperloff

Description

@aperloff

Describe the bug
It seems that SSAPy is opening file ssapy/data/de430.bsp multiple times and not closing it.

To Reproduce
too be filled in

Expected behavior
We expect that you can run any number of operations without SSAPy crashing due to having too many files open.

Output

File "<path to ssapy>/ssapy/body.py", line 294, in get_body
  File "<path to ssapy>/ssapy/body.py", line 171, in __init__
  File "<path to site-packages>/site-packages/jplephem/spk.py", line 47, in open
OSError: [Errno 24] Too many open files: '<path to ssapy>/ssapy/data/de430.bsp'

Desktop (please complete the following information):

  • OS: Linux
  • Version RHEL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions