Skip to content

Commit

Permalink
enforcing plotting backend in yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
asewnath committed Oct 2, 2023
1 parent 36679e3 commit 7d891ae
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/eva/plotting/batch/base/plot_tools/figure_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ def figure_driver(config, data_collections, timing, logger):

# Get plotting backend
# --------------------
if 'plotting_backend' in graphics_section:
backend = graphics_section.get('plotting_backend')
else:
# use emcpy as default
backend = 'Emcpy'
backend = graphics_section.get('plotting_backend')

# Create handler
# --------------
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testCubedSphereRestart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ datasets:
orography variables: [geolon, geolat]

graphics:

plotting_backend: Emcpy
figure_list:
# Map plots
# ---------
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testGsiObsSpaceAmsuaMetop-A.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ transforms:
variable: *variables

graphics:

plotting_backend: Emcpy
figure_list:

# Histogram plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testGsiObsSpaceConvT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ datasets:
Longitude]

graphics:

plotting_backend: Emcpy
figure_list:

# Map plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testIodaObsSpaceAircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ transforms:
variable: *variables

graphics:

plotting_backend: Emcpy
figure_list:

# Observation correlation scatter plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testIodaObsSpaceAmsuaN19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ transforms:
variable: *variables

graphics:

plotting_backend: Emcpy
figure_list:

# Correlation scatter plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testIodaObsSpaceIASI_Metop-A.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ transforms:
variable: *variables

graphics:

plotting_backend: Emcpy
figure_list:

# ---------- Statistical Plot ----------
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testJediLog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ datasets:

# Make plots
graphics:

plotting_backend: Emcpy
figure_list:

- figure:
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testLatLon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ datasets:
variables: [T_inc, lat, lon]

graphics:

plotting_backend: Emcpy
figure_list:

# Map plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testMonDataSpaceHirs4Metop-A.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ datasets:
variables: &variables [count, cycle]

graphics:

plotting_backend: Emcpy
figure_list:

# Time series plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testMonSummary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ transforms:


graphics:

plotting_backend: Emcpy
figure_list:

# Summary plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testSocaRestart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ datasets:
coordinate variables: [lon, lat]

graphics:

plotting_backend: Emcpy
figure_list:

# Map plots
Expand Down
2 changes: 2 additions & 0 deletions src/eva/tests/config/testTwoDatasetsOnePlot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ datasets:
orography variables: [geolon, geolat]

graphics:

plotting_backend: Emcpy
figure_list:

# Map plots
Expand Down

0 comments on commit 7d891ae

Please sign in to comment.