Skip to content

Conversation

@anacmontoya
Copy link
Contributor

@anacmontoya anacmontoya commented Jul 22, 2024

Description Of Changes

Added new class to plot the WPC surface bulletins that have been parsed using parse_wpc_surface_bulletin() function.
Some documentation has been added but may need some edits. Currently working on tests.

Checklist

  • Tests added
  • Fully documented

@anacmontoya anacmontoya requested review from a team and kgoebber as code owners July 22, 2024 23:03
@anacmontoya anacmontoya requested review from dcamron and removed request for a team July 22, 2024 23:03
@anacmontoya anacmontoya marked this pull request as draft July 22, 2024 23:04
Copy link
Member

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

Looking good! Just a few minor changes to get this solid for inclusion.

@anacmontoya
Copy link
Contributor Author

"Biggest" change from last commit was changing the default strength_offset. It is then scaled by multiplying by 0.8*label_fontsize

pc.draw()

return pc.figure

Check warning

Code scanning / CodeQL

File is not always closed

File is opened but is not closed.
ps.label_fontsize = 15
ps.TROF_linewidth = 5
ps.strength_offset = (0,1)

Check warning

Code scanning / CodeQL

File is not always closed

File is opened but is not closed.
anacmontoya and others added 6 commits July 31, 2024 11:40
Scattertext supports same config with
TextCollection under the hood, and has hack for
bbox clipping with cartopy. Fix style.
@anacmontoya anacmontoya marked this pull request as ready for review July 31, 2024 22:38
@anacmontoya anacmontoya changed the title New Plot_Bulletin class to plot WPC surface analysis bulletins New PlotSurfaceAnalysis class to plot WPC surface analysis bulletins Jul 31, 2024
@dopplershift dopplershift added this to the 1.7.0 milestone Aug 1, 2024
@dopplershift dopplershift merged commit ddc198c into Unidata:main Aug 28, 2024
@dopplershift dopplershift added Type: Feature New functionality Area: Plots Pertains to producing plots labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Plots Pertains to producing plots Type: Feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants