Skip to content

Conversation

deeplycloudy
Copy link
Owner

Addresses #50

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 10.71429% with 25 lines in your changes missing coverage. Please review.

Project coverage is 74.95%. Comparing base (73b9f39) to head (2cc1933).

Files with missing lines Patch % Lines
pyxlma/plot/interactive.py 11.11% 16 Missing ⚠️
pyxlma/xarray_util.py 10.00% 9 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   75.44%   74.95%   -0.50%     
==========================================
  Files          15       15              
  Lines        2024     2052      +28     
==========================================
+ Hits         1527     1538      +11     
- Misses        497      514      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@deeplycloudy
Copy link
Owner Author

deeplycloudy commented Jan 5, 2025

The time-height plot has been changed to plot group times, addressing #54. Since the event locations are noisy, I also switched the vertical projection plots to use points at the group centroid position, and added those points to the plan plot.

The group centroids are not parallax corrected using the same approach as the events. Instead, the built-in parallax correction in the LCFA files is used directly. I suspect that would be an easy change using the coordinate transforms already in place.
Figure 11

@wx4stg
Copy link
Contributor

wx4stg commented Jan 8, 2025

the implementation of this could also probably be re-used to resolve #52

Comment on lines +288 to +292
lon_handle = bk_plot.ax_lon.plot(glm.group_lon, vert_proj_point_alt,
transform=bk_plot.ax_lon.get_xaxis_transform(), **points_kwargs)
lat_handle = bk_plot.ax_lat.plot(vert_proj_point_alt, glm.group_lat,
transform=bk_plot.ax_lat.get_yaxis_transform(), **points_kwargs)
plan_handle = bk_plot.ax_plan.plot(glm.group_lon, glm.group_lat, **points_kwargs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See test result below, should this maybe be a call to scatter instead of plot (as the default/"no points_kwargs specified" for scatter is probably more in line with what's expected?
image

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.

3 participants