Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URL in graphics notebooks #839

Merged
merged 2 commits into from
Apr 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
update url
  • Loading branch information
acordonez committed Apr 12, 2022
commit f802b00a8f35909019c60b8d2351e29f804df3fb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"os.makedirs(json_dir, exist_ok=True)\n",
"\n",
"for var in vars:\n",
" url = \"https://raw.githubusercontent.com/PCMDI/pcmdi_metrics_results_archive/archive_raw_json/\" + \\\n",
" url = \"https://raw.githubusercontent.com/PCMDI/pcmdi_metrics_results_archive/main/\" + \\\n",
" \"metrics_results/mean_climate/\"+mip+\"/\"+exp+\"/\"+data_version+\"/\"+var+\".\"+mip+\".\"+exp+\".regrid2.2p5x2p5.\"+data_version+\".json\"\n",
" r = requests.get(url, allow_redirects=True)\n",
" filename = os.path.join(json_dir, url.split('/')[-1])\n",
Expand Down Expand Up @@ -1956,7 +1956,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:pcmdi_metrics_dev]",
"display_name": "Python [conda env:pcmdi_metrics_dev] *",
"language": "python",
"name": "conda-env-pcmdi_metrics_dev-py"
},
Expand Down