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

🩹 Fix crashes of plot_doas and plot_coherent_artifact for non dispersive IRF #173

Merged
merged 2 commits into from
May 27, 2023

Conversation

s-weigand
Copy link
Member

@s-weigand s-weigand commented May 26, 2023

This fixes crashes of plot_doas and plot_coherent_artifact where an IRF without dispersion is used which omits the spectral dimension in the result data.

Change summary

Checklist

  • ✔️ Passing the tests (mandatory for all PR's)

@s-weigand s-weigand requested a review from a team as a code owner May 26, 2023 15:30
@github-actions
Copy link
Contributor

Binder 👈 Launch a binder notebook on branch s-weigand/pyglotaran-extras/fix-doas-ca-plots-missing-spectral

@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.24 ⚠️

Comparison is base (1e2e3cf) 44.32% compared to head (63e9fb7) 44.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   44.32%   44.08%   -0.24%     
==========================================
  Files          27       27              
  Lines         934      939       +5     
  Branches      135      137       +2     
==========================================
  Hits          414      414              
- Misses        513      518       +5     
  Partials        7        7              
Impacted Files Coverage Δ
...glotaran_extras/plotting/plot_coherent_artifact.py 22.91% <0.00%> (-1.00%) ⬇️
pyglotaran_extras/plotting/plot_doas.py 25.45% <0.00%> (-1.47%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@s-weigand s-weigand force-pushed the fix-doas-ca-plots-missing-spectral branch from 8c6d7c6 to 4acac73 Compare May 26, 2023 15:48
@s-weigand s-weigand merged commit a636f4a into glotaran:main May 27, 2023
@s-weigand s-weigand deleted the fix-doas-ca-plots-missing-spectral branch May 27, 2023 15:50
s-weigand added a commit to s-weigand/pyglotaran-extras that referenced this pull request Jul 2, 2023
s-weigand added a commit to s-weigand/pyglotaran-extras that referenced this pull request Jul 2, 2023
s-weigand added a commit that referenced this pull request Jul 2, 2023
This fixes crashes `plot_coherent_artifact` where an IRF without
dispersion is used which omits the spectral dimension in the result
data.

### Change summary

-
[🩹](53bbfb2)
[Follow up fix
for](53bbfb2)
#173

<!-- Documentation changes, only needed if bigger changes were made  -->

<!-- Links to the changed sections

- [section1](link_to_docs_built_for_the_PR)
- [section2](link_to_docs_built_for_the_PR) -->

### Checklist

- [x] ✔️ Passing the tests (mandatory for all PR's)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants