-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New PlotSurfaceAnalysis class to plot WPC surface analysis bulletins (#…
…3580) * new Plot_Bulletin class to plot wpc surface analysis bulletins * added documentation * edits from code review * flake8 errors * code climate errors * code climate errors pt 2 * adding tests and fixed some errors * added 'trough' to codespellignore * codeclimate errors fixed * Refactor to scattertext Scattertext supports same config with TextCollection under the hood, and has hack for bbox clipping with cartopy. Fix style. * fixing codespell error * test plots * remove klystron --------- Co-authored-by: Drew Camron <[email protected]> Co-authored-by: Drew Camron <[email protected]>
- Loading branch information
1 parent
92cb09c
commit ddc198c
Showing
7 changed files
with
375 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
r'^(z|lv_|bottom_top|sigma|h(ei)?ght|altitude|depth|isobaric|pres|isotherm)' | ||
| ``(thta, u, v, dx, dy, dim_order='yx')`` | | ||
Changed signature from ``(thta, u, v, dx, dy, dim_order='yx')`` | ||
dpres = gempak.PRES.values | ||
pres = 1 | ||
thta = 2 | ||
lambda grid: grid if grid.PARM in parameter else False, | ||
col_head.SELV, | ||
'SELV': col_head.SELV, | ||
col_head.SELV, | ||
row_head.SELV, | ||
'SELV': row_head.SELV, | ||
'SELV': col_head.SELV, | ||
# GFS, NAM, RAP, or other gridded dataset (e.g., NARR). | ||
# This attribute can be set to False if the vector components are grid relative (e.g., for NAM | ||
components that are earth-relative. The primary exception is NAM output with wind | ||
col_head.SELV, | ||
row_head.SELV, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1 @@ | ||
r'^(z|lv_|bottom_top|sigma|h(ei)?ght|altitude|depth|isobaric|pres|isotherm)' | ||
| ``(thta, u, v, dx, dy, dim_order='yx')`` | | ||
Changed signature from ``(thta, u, v, dx, dy, dim_order='yx')`` | ||
dpres = gempak.PRES.values | ||
pres = 1 | ||
thta = 2 | ||
lambda grid: grid if grid.PARM in parameter else False, | ||
col_head.SELV, | ||
'SELV': col_head.SELV, | ||
col_head.SELV, | ||
row_head.SELV, | ||
'SELV': row_head.SELV, | ||
'SELV': col_head.SELV, | ||
Klystron Warmup Integer*2 N/A 0 to 1 1 0=Normal, 1=Preheat 146 | ||
# GFS, NAM, RAP, or other gridded dataset (e.g., NARR). | ||
# This attribute can be set to False if the vector components are grid relative (e.g., for NAM | ||
components that are earth-relative. The primary exception is NAM output with wind | ||
col_head.SELV, | ||
row_head.SELV, | ||
trough |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+273 KB
tests/plots/baseline/test_declarative_plot_surface_analysis_custom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+239 KB
tests/plots/baseline/test_declarative_plot_surface_analysis_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.