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

Upgrade to Python 3 and Django 2 #81

Merged
merged 35 commits into from
Mar 20, 2020
Merged

Upgrade to Python 3 and Django 2 #81

merged 35 commits into from
Mar 20, 2020

Conversation

ajstewart
Copy link
Owner

@ajstewart ajstewart commented Feb 6, 2020

This update will make the pipeline compatible with Python 3.

Will also include matplotlib upgrade, nvss-only mode and a name change to racstransients.

Fixes #73 and half of #71
Fixes #63.

ajstewart and others added 6 commits November 7, 2019 18:21
Overlay plots are now generated with matplotlib and not aplpy. This dramatically increases speed on python 2 (python 3 aplpy is faster). Tried to mimic aplpy plots as much as possible. Next step is to address postage stamps.
The overview query table now includes the ASKAP non-convolved integrated flux density when downloading the CSV. It does not show on the main page still.
* Changed name to 'racstransients'.
* Fixed migrations on website.
* Started to convert to Python 3 (incomplete).
* Further Python 3 updates.
* Make use of Cutout2D from astropy.
* Making NVSS work.
@ajstewart ajstewart added enhancement New feature or request website Issue related to the website pipeline Issue related to the pipeline. labels Feb 6, 2020
@ajstewart ajstewart self-assigned this Feb 6, 2020
* Pipeline runs to completion.
* Added ASKAP logo.
* Tested NVSS image only.
* Fixed pipeline convolving with CASA.
* Added switch on default aladin HiPS.
* Working postage stamps using matplotlib.
* Need to filter ellipse catalogue first in next commit.
* Fixed aegean reading of pre-conv catalogue.
Able to see edge of image.
* Postage stamps with matplotlib now include the text overlays.
* Fixed postage stamp issues for non-convolved runs.
* Updated settings template.
* Select number of cores.
* Select the radius of the cutouts.
* Switched good matches check to using an apply function on the df. Will update others next.
* Fixed postage stamp crash with non-convolve dataframe.
* Close workers.
* Fix SUMSS image name bugs.
* Made the base mosaic value decoded.
* Added a check on the ASKAP only sources that it has a non-convolved match.
* Removed commented code.
* Put flags in to deal with no transient detections.
* Fixed SUMSS subplot size (due to non square pixels).
Mosaic name was being injected into database as a byte string. Never could get to the root cause but this fixes the database inject.
Faster to slice the array directly.
* Bug in this commit of 0.0 value for integrated ASKAP flux. Need to fix.
* 0 case was caused by aegean local rms coming back as 0.
* Fixed edge check.
* Fixed sorting of dictionary in python3.
@ajstewart
Copy link
Owner Author

This is now ready with multiple successful runs with both SUMSS and NVSS and a working website.

There will absolutely be other bugs that linger but they will have to be found through further testing.

@ajstewart ajstewart marked this pull request as ready for review March 20, 2020 00:04
@ajstewart ajstewart merged commit 87a0a73 into master Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pipeline Issue related to the pipeline. website Issue related to the website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert to Python3 and Django 2 Ensure that there is a source in both ASKAP images
1 participant