Suppression of every plots if required
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- data-visualization
Research direction
Start by tracing where plots are created and displayed during the batch run, then identify the parameters intended to suppress them. Reproduce the reported QXcbConnection display error on a machine without an X display and define done as completing the run without attempting to open plots when suppression is enabled.
Written by the indexing model from the issue text.
Description
It appears that some plot are sent to output even if the parameters say not to do so.
It prevents running on batch machines.
The output is like this:
MAIN_ID RA DEC RA_PREC DEC_PREC COO_ERR_MAJA COO_ERR_MINA COO_ERR_ANGLE COO_QUAL ... PLX_QUAL PLX_BIBCODE PMRA PMDEC PM_ERR_MAJA PM_ERR_MINA PM_ERR_ANGLE Z_VALUE SCRIPT_NUMBER_ID
"hⓂ️s" "dⓂ️s" mas mas deg ... mas / yr mas / yr mas / yr mas / yr deg
----------- ------------- ------------- ------- -------- ------------ ------------ ------------- -------- ... -------- ------------------- --------- --------- ----------- ----------- ------------ --------- ----------------
- eta01 Dor 06 06 09.3817 -66 02 22.635 14 14 0.052 0.049 90 A ... A 2020yCat.1350....0G 13.575 28.139 0.066 0.061 90 0.0000590 1
image.shape (4072, 4000)
2022-03-29 16:01:31 spectractor.tools fit_poly2d_outlier_removal INFO
Model: Polynomial2D
Inputs: ('x', 'y')
Outputs: ('z',)
Model set size: 1
Degree: 1
Parameters:
c0_0 c1_0 c0_1
6.798547405049041 0.05048619956994278 0.10936732041201426
2022-03-29 16:01:33 spectractor.fit.fitter gradient_descent INFO
Gradient descent terminated in 18 iterations because the relative change of cost is below ftol=1.25e-05.
qt.qpa.screen: QXcbConnection: Could not connect to display localhost:28.0
Could not connect to any X display.
(base) /pbs/throng/lsst/users/dagoret/desc/AuxTelComm/notebookccdm_gen3/runspectractor_standalone/2022_03>
- Dominant language
- Python
- Stars
- 16
- Forks
- 9
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LSSTDESC/Spectractor
-
Astroquery fixes Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
LSSTDESC/Spectractor#172 · 2 comments ·
-
auxtelruns202309 Open
Difficulty 3/5 1-2 days Newbie friendliness 15/100
LSSTDESC/Spectractor#134 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
LSSTDESC/Spectractor#107 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
LSSTDESC/Spectractor#71 ·
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
LSSTDESC/Spectractor#59 ·
All issues in LSSTDESC/Spectractor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100