Skip to content

Commit

Permalink
Merge branch 'main' into feature/1012_lee1043_stats
Browse files Browse the repository at this point in the history
  • Loading branch information
lee1043 committed Jan 4, 2024
2 parents bb0a602 + 232d3ee commit db4793c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Release Notes and History

| <div style="width:300%">[Versions]</div> | Update summary |
| ------------- | ------------------------------------- |
| [v3.2] | New metric added: **Extremes**
| [v3.1.2] | Technical update
| [v3.1.1] | Technical and documentation update
| [v3.1] | New metric added: **Precipitation Benchmarking -- distribution bimodality**
Expand All @@ -124,6 +125,7 @@ Release Notes and History


[Versions]: https://github.com/PCMDI/pcmdi_metrics/releases
[v3.2]: https://github.com/PCMDI/pcmdi_metrics/releases/tag/v3.2
[v3.1.2]: https://github.com/PCMDI/pcmdi_metrics/releases/tag/v3.1.2
[v3.1.1]: https://github.com/PCMDI/pcmdi_metrics/releases/tag/v3.1.1
[v3.1]: https://github.com/PCMDI/pcmdi_metrics/releases/tag/v3.1
Expand Down
2 changes: 2 additions & 0 deletions docs/metrics_ext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Demo

.. _PMP demo Jupyter notebook: https://github.com/PCMDI/pcmdi_metrics/blob/main/doc/jupyter/Demo/Demo_8_extremes.ipynb

* `Extremes Portrait Plot demo Jupyter notebook`_

.. _Extremes Portrait Plot demo Jupyter notebook: https://github.com/PCMDI/pcmdi_metrics/blob/main/pcmdi_metrics/graphics/portrait_plot/return_value_portrait_plot_demo.ipynb

Inputs
========
Expand Down
5 changes: 1 addition & 4 deletions pcmdi_metrics/variability_mode/variability_modes_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,7 @@
# Run
# -------------------------------------------------
for model_path in model_path_list:
# try:
if 1:
try:
if realization == "*":
run = (model_path.split("/")[-1]).split(".")[run_in_modpath]
else:
Expand Down Expand Up @@ -1022,14 +1021,12 @@
run=run,
cmec_flag=cmec,
)
"""
except Exception as err:
if debug:
raise
else:
print("warning: failed for ", model, run, err)
pass
"""
# ========================================================================
# Dictionary to JSON: collective JSON at the end of model_realization loop
# ------------------------------------------------------------------------
Expand Down

0 comments on commit db4793c

Please sign in to comment.