Github demonstration for NRAO NAC Summer 2021
Presentation slides: https://github.com/brkent/2021-NAC-Demo/blob/main/2021-07-NAC-gitworkflowscience.pdf
Define our project: NAC Github demo with VLA Sky Survey
Requirements: Display a VLASS image
- matplotlib: https://matplotlib.org/
- aplpy: https://aplpy.github.io/
- astropy: https://www.astropy.org/
- pytest: https://docs.pytest.org/en/6.2.x/
Gather our data: http://www.cv.nrao.edu/~bkent/VLASS1.1.ql.T12t35.J231013+073000.10.2048.v1.I.iter1.image.pbcor.tt0.subim.fits
Relevant information: https://ui.adsabs.harvard.edu/abs/2020PASP..132c5001L/abstract
Create a new Python file
- Branch off of main
- Display a VLASS archive image
- Created a pull request (PR), discuss and merge to main
Jupyter Notebook
- Test the code in Colab
- Create a new pull request
- Merge
Testing
- Create a new branch
- Create a simple automated test
- Define packages and requirements
- Create a workflow with GitHub Actions
- Create a new PR, let the workflow run its tests. If it passes, we can merge.