open-space-collective / open-space-toolkit-physics

Physical units, time, reference frames, environment modeling.
https://open-space-collective.github.io/open-space-toolkit-physics/
Apache License 2.0
25 stars 7 forks source link

SPICE Download manager fails [Python] #26

Closed addy999 closed 1 year ago

addy999 commented 5 years ago

Setting SPICE, IERS, and EARTH managers to "Automatic" throws an error on epehm downloads when creating a new Environment.:

os.environ["LIBRARY_PHYSICS_COORDINATE_FRAME_PROVIDERS_IERS_MANAGER_MODE"] = "Automatic"
os.environ["LIBRARY_PHYSICS_ENVIRONMENT_EPHEMERIDES_SPICE_ENGINE_MODE"] = "Automatic"
os.environ["LIBRARY_PHYSICS_ENVIRONMENT_GRAVITATIONAL_EARTH_MANAGER_ENABLED"] = "true"

image

The same error is thrown even if given a path to empty folders:

os.environ["LIBRARY_PHYSICS_ENVIRONMENT_EPHEMERIDES_SPICE_MANAGER_LOCAL_REPOSITORY"] = "./library/spice"
os.environ["LIBRARY_PHYSICS_COORDINATE_FRAME_PROVIDERS_IERS_MANAGER_LOCAL_REPOSITORY"] = "./library/iers"
os.environ["LIBRARY_PHYSICS_ENVIRONMENT_GRAVITATIONAL_EARTH_MANAGER_LOCAL_REPOSITORY"] = "./library/earth"

image

kyle-cochran commented 1 year ago

I don't know when exactly this was fixed, but it's no longer the case. The managers seem to be working now! Closing this out.