Skip to content

Commit

Permalink
demo download instruction update
Browse files Browse the repository at this point in the history
To update http://pcmdi.github.io/pcmdi_metrics/supporting-data.html, revised supporting-data.rst
  • Loading branch information
lee1043 authored Feb 3, 2024
1 parent f72665c commit 9c071fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/supporting-data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Sample model and observational data are provided via a `jupyter notebook demo <h
For users that are unfamiliar with Jupyter notebooks or just want to download the sample data without interactively running the demo, you can download the data by launching python from a PMP environment created from conda. You can then enter the following form the python command prompt ::

import requests
r = requests.get("https://pcmdiweb.llnl.gov/pss/pmpdata/cmec_tutorial_files.txt")
with open("data_files.txt","wb") as f:
r = requests.get("https://pcmdiweb.llnl.gov/pss/pmpdata/pmp_tutorial_files.v20240201.txt")
with open("data_files.txt", "wb") as f:
f.write(r.content)

A location where you want to store the demo data locally can be set: ::
Expand Down

0 comments on commit 9c071fd

Please sign in to comment.