Skip to content

Package as a Python package#96

Open
jeanconn wants to merge 24 commits intomasterfrom
package
Open

Package as a Python package#96
jeanconn wants to merge 24 commits intomasterfrom
package

Conversation

@jeanconn
Copy link
Contributor

@jeanconn jeanconn commented Mar 2, 2026

Description

Package arc as a Python package.

Basically, this was moving stuff around, adding Python wrapper scripts for the perl scripts, and adding a pyproject.toml. While at it, I also removed direct SKA dependence within the code so if the testing user has SKA set to /proj/sot/ska, they won't accidentally write back into SKA/data/arc3, for example. I also removed arc_ops.cfg and set the flight config to include Momentum and Sun Position Monitor in the display, though of course that is negotiable.

Interface impacts

Functional testing

Running in https://cxc.cfa.harvard.edu/mta/ASPECT/arc3_pip_test/index.html

For a "new" installation for testing, this still requires that one copy over ACE.h5, GOES.h5, hrc_shield.h5, and ACE_hourly_avg.npy, into the new data directory. I don't know how ACE_hourly_avg.npy is used and if it should get an update, a retirement, or moved into package data if it is static.

@jeanconn jeanconn changed the title WIP: Package as a Python package Package as a Python package Mar 3, 2026
@jeanconn jeanconn marked this pull request as ready for review March 11, 2026 16:17
@jeanconn jeanconn requested review from javierggt and taldcroft March 11, 2026 16:18
Copy link

@javierggt javierggt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested as part of the skare3 PR

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

Successfully merging this pull request may close these issues.

2 participants