Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
zcur
andzcur_normalized
failed testing with data (mismatch with SQL table).Analysis of the problem
zcur
signal is fetched from PTDATA: VPSZP. I took a look at that pointname in ReviewPlus and the signal looks identical to the output of disruption-py.In the docstring of the MATLAB script it mentioned that they previously used a wrong pointname and corrected it afterward. I wonder if the stored SQL table data was fetched from that address.
disruption-py/DIII-D/get_Z_error_d3d.m
Lines 29 to 31 in 5a13906
Implemented changes
Problem to be addressed
z_prog
,z_error
andz_error_normalized
are always returned as arrays ofnan
due to the quoted reason below. Should we keep these parameters or remove them from the outputs?disruption-py/DIII-D/get_Z_error_d3d.m
Lines 32 to 37 in 5a13906