We are working on porting our python 2 PGE's to python 3. Individual PGE's will be tested and validated against equivalent datasets in C-cluster. Once all PGE's have been validated, a system level test of the pipeline will be performed to ensure all trigger rules are in place and all expected products are generated.
Pipeline
<update pipeline diagram>
PGE's to port to Python3
- AOI Ops Report
- AOI Enumerator Submitter
- TopsApp
- GUNW Completeness Evaluator
- Blacklist Generation
- Greylist Generation
- AOI Based IPF Scraper
- AOI Based Acquisition Scraper
- Add Machine Tag
- Add User Tag
- Product Delivery
- Create AOI
- IPF ASF Scraper for Acq
- IPF SciHub Scraper for Acq
- Orbit Crawler
- Orbit Ingest
- LAR
- SLC sling
- Enumerator
- SAR avail
- SLCP-COR
- SLCP-PM
- COD
- Evaluator
- Localizer
- multi acquisition localizer
PGE I/O
PGE test list is incomplete. We are currently focusing on the main pipeline |
Test Procedures
Process
For this example we are porting the aoi ops report.
Create a python3 virtual environment.
virtualenv env3 -p python3 to create the virtual environmentStart the python3 virtual environment.
source ~/env3/bin/activate to start a python 3 virtual environmentPull contents of repo on a new branch named python3
Run futurize over the contents of the repo.
pip install future
cd <repo>
futurize -w -n -p .
Output will show what has been changed.ssh into e mozart to add the python3 converted pge using this command:
sds ci add_job -k -b develop https://github.com/aria-jpl/standard_product_report.git s3Go to e Jenkins and click configure. Specify the branch as python3 branch and build. Check the docker file and change FROM to the latest branch. Wait for build to complete successfully. May take a few minutes. Will publish job to e cluster automatically.
Go to e cluster and run job. step into container if you need to debug stuff.
Once job runs successfully, push changes to dev.
Add Comment