Skip to content

Commit

Permalink
Merge pull request #1171 from PCMDI/ao_demo8_bugfix
Browse files Browse the repository at this point in the history
Fix bug in Demo 8
  • Loading branch information
lee1043 authored Nov 13, 2024
2 parents d1373a6 + 8284302 commit 2027674
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions doc/jupyter/Demo/Demo_8_extremes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,7 @@
"2023-12-23 09:52:54,152 [INFO]: base.py(write:251) >> Results saved to a json file: /Users/lee1043/Documents/Research/git/pcmdi_metrics_20230620_pcmdi/pcmdi_metrics/doc/jupyter/Demo/demo_output/extremes_ex1/GISS-E2-H_block_extremes_metrics.json\n",
"INFO::2023-12-23 09:53::pcmdi_metrics:: Results saved to a json file: /Users/lee1043/Documents/Research/git/pcmdi_metrics_20230620_pcmdi/pcmdi_metrics/doc/jupyter/Demo/demo_output/extremes_ex1/block_extremes_metrics.json\n",
"2023-12-23 09:53:09,441 [INFO]: base.py(write:251) >> Results saved to a json file: /Users/lee1043/Documents/Research/git/pcmdi_metrics_20230620_pcmdi/pcmdi_metrics/doc/jupyter/Demo/demo_output/extremes_ex1/block_extremes_metrics.json\n",
"2023-12-23 09:53:09,441 [INFO]: base.py(write:251) >> Results saved to a json file: /Users/lee1043/Documents/Research/git/pcmdi_metrics_20230620_pcmdi/pcmdi_metrics/doc/jupyter/Demo/demo_output/extremes_ex1/block_extremes_metrics.json\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-12-23 09:53:09,441 [INFO]: base.py(write:251) >> Results saved to a json file: /Users/lee1043/Documents/Research/git/pcmdi_metrics_20230620_pcmdi/pcmdi_metrics/doc/jupyter/Demo/demo_output/extremes_ex1/block_extremes_metrics.json\n",
" warnings.warn(str(msg))\n",
"/home/ordonez4/miniconda3/envs/pmp_climex_2/lib/python3.10/site-packages/numdifftools/limits.py:150: UserWarning: All-NaN slice encountered\n",
" warnings.warn(str(msg))\n",
Expand Down Expand Up @@ -1220,10 +1214,10 @@
}
],
"source": [
"%%bash\n",
"%%bash -s \"$demo_output_directory\"\n",
"extremes_driver.py -p basic_extremes_param.py \\\n",
"--case_id extremes_ex2 \\\n",
"--reference_data_path demo_output/extremes_tmp/pr_day_GPCP-1-3_PCMDI_gn_19961002-20170101.nc \\\n",
"--reference_data_path $1/extremes_tmp/pr_day_GPCP-1-3_PCMDI_gn_19961002-20170101.nc \\\n",
"--reference_data_set GPCP-1-3 \\\n",
"--generate_sftlf \\\n",
"--regrid True"
Expand Down Expand Up @@ -2260,7 +2254,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:pmp_climex_2] *",
"display_name": "Python [conda env:pmp_climex_2]",
"language": "python",
"name": "conda-env-pmp_climex_2-py"
},
Expand All @@ -2274,7 +2268,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2027674

Please sign in to comment.