You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 07_SeaIce_Petty/README.md
+29-10Lines changed: 29 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,32 +7,51 @@ Earth image illustrating AMSR-E sea ice courtesy of the NASA Scientific Visualiz
7
7
8
8
## Setup
9
9
10
-
This GitHub repository primarily hosts the Jupyter Notebooks needed for the hackweek tutorials. The notebooks should work without any extra steps if you're working in the ICESat-2 Pangeo environment that has been created for this hackweek. Just clone this repository into your Pangeo user account (git clone https://github.com/akpetty/ICESat2_hackweek_tutorials/07_SeaIce_Petty when logged in). To run the notebooks on your local machine instead, a conda environment file (is2seaiceenv_environment.yml) has been provided in this repo for you to generate a Python environment that includes all the revelant libraries you might need:
10
+
This GitHub repository primarily hosts the Jupyter Notebooks needed for the hackweek tutorials. The notebooks should work without any extra steps if you're working in the ICESat-2 Pangeo environment that has been created for this hackweek. Just clone the hackweek repo into your Pangeo user account (git clone https://github.com/akpetty/ICESat2_hackweek_tutorials when logged in).
11
+
12
+
To run the notebooks on your local machine, you can also just run git clone to grab everything, then cd into the sea ice subdirectory (cd 07_SeaIce_Petty)
NB If running on your local machine you need to grab/clone the entire repo so you have access to the reader and utils libraries!
18
+
19
+
A conda environment file (is2seaiceenv_environment.yml) has been provided in this repo for you to generate a Python environment that includes all the revelant libraries you might need:
11
20
```
12
21
conda env create -f is2seaiceenv_environment.yml
13
22
```
14
23
15
24
If this doesn't work you can try generating your own Python 3.7 conda environment that includes the packages we need (sometimes there are issues getting environment files like this working across mac/pc/linux platforms):
The hackweek includes extra tutorials on conda (and miniconda) so see those resources for more information.
21
30
22
-
The example data files are being stored on a Pangeo Amazon S3 data server. The notebooks incuded here provide a call you can run to quickly download these files to your Data directory. A gitignore file is included to ignore these hdf5 (.h5) files if you decide to fork this repo and push any local changes.
31
+
The example data files are being stored on a Pangeo Amazon S3 data server. The notebooks incuded here provide a call you can run to quickly download these files to your Data directory IF YOU'RE RUNNING THIS ON THE PANGEO SERVERS. A gitignore file is included to ignore these hdf5 (.h5) files if you decide to fork this repo and push any local changes.
32
+
33
+
If you want to grab this data outside ON YOUR LOCAL MACHINE you will need the aws client installed on your machine. For mac this can be done using pip:
34
+
```
35
+
pip install awscli
36
+
```
23
37
24
-
If you want to do this outside of the notebooks you can run the following commands from the terminal to get the data you need:
38
+
You can run the following commands from the terminal to get the data you need:
0 commit comments