Skip to content

Commit

Permalink
#3799: Combined diagnostic scripts, changed the recipe to reflect thi…
Browse files Browse the repository at this point in the history
…s and delete the unused diagnostic script
  • Loading branch information
SophieHall2024 committed Nov 12, 2024
1 parent 6abd931 commit 33fffc7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 314 deletions.
5 changes: 4 additions & 1 deletion esmvaltool/diag_scripts/ocean/diagnostic_maps_quad.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ def multi_model_maps(cfg):
zrange1 = diagtools.get_cube_range([
cube221,
])
zrange2 = [-5.0, 5.0]
if cube.long_name == "Sea Surface Temperature":
zrange2 = [-5.0, 5.0]
else:
zrange2 = [-2.0, 2.0]

linspace1 = np.linspace(zrange1[0], zrange1[1], 12, endpoint=True)
linspace2 = np.linspace(zrange2[0], zrange2[1], 12, endpoint=True)
Expand Down
312 changes: 0 additions & 312 deletions esmvaltool/diag_scripts/ocean/diagnostic_maps_quad_sos.py

This file was deleted.

2 changes: 1 addition & 1 deletion esmvaltool/recipes/recipe_ocean_quadmap_NEMO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ diagnostics:
- {project: OBS3, dataset: observation, suite: EN4_v1.1, model: nemo, freq: annualmean, grid: T}
scripts:
Global_Ocean_map: # &Global_Ocean_map SOS
script: ocean/diagnostic_maps_quad_sos.py
script: ocean/diagnostic_maps_quad.py
control_model: {project: NEMO, dataset: GC5}
exper_model: {project: NEMO, dataset: GC3p1}
observational_dataset: {project: OBS3, dataset: observation}

0 comments on commit 33fffc7

Please sign in to comment.