[REDMINE1D-239] [RM-8170] [api error handling] linemeas stage is started when an error in the previous z estim stage arise Created: 06/Jul/23  Updated: 13/Dec/23  Resolved: 13/Dec/23

Status: Done
Project: 1D Redmine
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Redmine-Jira Migtation Assignee: Redmine-Jira Migtation
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Created on 2023-07-05 16:12:27 by Didier Vibert. % Done: 100

with release 0.42, see example log

<pre>
023-07-05 18:04:18,041 :: INFO :: Loading qso linecatalog: /home/dvibert/work/amazed/it/roman/calibration/linecatalogs/linecatalogamazedvacuum_QSO_v6.tsv
2023-07-05 18:04:18,107 :: INFO :: Loading qso linecatalog: /home/dvibert/work/amazed/it/roman/calibration/linecatalogs/linecatalogamazedvacuum_QSO_v6.tsv
2023-07-05 18:04:18,121 :: INFO :: Running amazed 0.42.0
2023-07-05 18:04:18,121 :: INFO :: Running on localhost.localdomain
2023-07-05 18:04:19,324 :: INFO :: Running amazed 0.42.0
2023-07-05 18:04:19,324 :: INFO :: HOSTNAME=localhost.localdomain
loading /home/dvibert/work/amazed/it/roman/output.qso/spectralist_0000
Info: processing ProcessingID
0 GALPPCCAAASSSOOOVVVggsaa0001_grism_0000
Info: using amazed reader
Info: Processing GALPPCCAAASSSOOOVVVggsaa0001_grism_0000
Info: Processing context initialization
Info: qso
Info: Validate spectrum: (clamped lambda range: 10005.382812-19300.000000:10.765625)
Info: Init redshift range with [0.1,8] and0.001
Info: Operator-Linemodel: 1st pass coarse zgrid enabled: 421 redshifts will be calculated on the coarse grid
Info: Operator-Linemodel: initialized
Info: Operator-Linemodel: start processing
Info: Operator-Linemodel: ---------- ---------- ---------- ----------
Info: Operator-Linemodel: now computing first-pass
Info: Operator-Linemodel: ---------- ---------- ---------- ----------
Info: Precompuute continuum fit ortho=1
Info: COperatorLineModel::PrecomputeContinuumFit: continuum tpl redshift list n=421
Info: COperatorLineModel::PrecomputeContinuumFit: continuum tpl fitting: min=1.00000e-01, max=7.98279e+00
Info: COperatorLineModel::PrecomputeContinuumFit: fftprocessing = 0
Info: COperatorLineModel::PrecomputeContinuumFit: tplfit-precompute done in 1.4033e+00 sec
Info: Operator-Linemodel: set abs lines limit to 1.000000 (ex: -1 means disabled)
Info: Operator-Linemodel: set estimateLeastSquareFast to 0 (ex: 0 means disabled)
Error: INTERNAL_ERROR: lambda outside spectralAxis range [/home/dvibert/work/amazed/cpf-redshift/RedshiftLibrary/src/lib/spectrum/LSFVariableWidth.cpp:64:GetWidth]
Error: Context warning flag already exists
Error: MISSING_PARAMETER: Missing parameter qso.redshiftref [/home/dvibert/work/amazed/cpf-redshift/RedshiftLibrary/RedshiftLibrary/processflow/parameterstore.h:99:GetScoped]

</pre>



 Comments   
Comment by Redmine-Jira Migtation [ 13/Dec/23 ]

Comment by Didier Vibert on 2023-07-27 14:47:09:
j'ai reproduit le bug, il faut prendre le commit @0b0fe6a2@ de pylibamazed ( branche 0.42 avec cherry-pick de 2 commit qui sont sur develop), nécessaire pour produire l'erreur dans linemodelsolve ( et pyamazed 0.42.0)

et dans @/net/CESAM/amazed/dvibert/it_roman/@ executer
@amazed -c config.1spectrum.json @

Comment by Redmine-Jira Migtation [ 13/Dec/23 ]

Comment by Ali Allaoui on 2023-12-04 15:06:14:
https://gitlab.lam.fr/CPF/cpf-redshift/-/merge_requests/568

Comment by Redmine-Jira Migtation [ 13/Dec/23 ]

Comment by Pierre-yves Chabaud on 2023-12-05 13:00:20:
Merged into @develop@ (@3b06f03f@)

Generated at Sat Feb 10 15:30:42 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.