|
6 | 6 | # ---------------------------------------------------------------------- |
7 | 7 |
|
8 | 8 | # grab the jupyter-lab container |
9 | | -FROM fasstsimulation/fasst_simulation_tools:fasst_jupyterlab_3.3.2_gee |
| 9 | +FROM serbinsh/ngeearctic_elm_containers:ngeearctic_jupyterlab_3.3.2_gee |
10 | 10 | LABEL maintainer.name="Shawn P. Serbin" \ |
11 | 11 | maintainer.email=" [email protected]" \ |
12 | 12 | author.name="Shawn P. Serbin" \ |
13 | 13 | author.email=" [email protected]" \ |
14 | 14 | description="ELM Analysis Jupyter-Lab Container" |
15 | 15 |
|
16 | | -ENV TOOLS_REPOSITORY_RAW_URL=https://raw.githubusercontent.com/FASSt-simulation/fasst_simulation_tools |
| 16 | +ENV REPOSITORY_RAW_URL=https://raw.githubusercontent.com/TESTgroup-BNL/ngeearctic_elm_containers |
17 | 17 |
|
18 | 18 | # Copy in example plotting scripts for use with model output |
19 | 19 | # add Ben Sulman's matplotlib plotting ascetics defaults |
20 | 20 | RUN cd "/home/${NB_USER}/scripts" \ |
21 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/elm_scripts/plotting/plot_KG64_ELM_output.py \ |
| 21 | + && wget $REPOSITORY_RAW_URL/main/scripts/elm_scripts/plotting/plot_KG64_ELM_output.py \ |
22 | 22 | && chmod 775 plot_KG64_ELM_output.py \ |
23 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/elm_scripts/plotting/plot_ELM_output.py \ |
| 23 | + && wget $REPOSITORY_RAW_URL/main/scripts/elm_scripts/plotting/plot_ELM_output.py \ |
24 | 24 | && chmod 775 plot_ELM_output.py \ |
25 | 25 | && cd "/home/${NB_USER}" \ |
26 | 26 | && mkdir -p "/home/${NB_USER}/.config/matplotlib" \ |
27 | 27 | && cd "/home/${NB_USER}/.config/matplotlib" \ |
28 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/elm_scripts/plotting/matplotlibrc \ |
| 28 | + && wget $REPOSITORY_RAW_URL/main/scripts/elm_scripts/plotting/matplotlibrc \ |
29 | 29 | && cd "/home/${NB_USER}" \ |
30 | 30 | && fix-permissions "/home/${NB_USER}" |
31 | 31 |
|
32 | 32 | # Add example jupyter notebook scripts here |
33 | 33 | RUN cd "/home/${NB_USER}/scripts" \ |
34 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_variable.ipynb \ |
| 34 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_variable.ipynb \ |
35 | 35 | && chmod 775 plot_ELM_variable.ipynb \ |
36 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_variable_2D.ipynb \ |
| 36 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_variable_2D.ipynb \ |
37 | 37 | && chmod 775 plot_ELM_variable_2D.ipynb \ |
38 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_output.ipynb \ |
| 38 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_output.ipynb \ |
39 | 39 | && chmod 775 plot_ELM_output.ipynb \ |
40 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_radiation.ipynb \ |
| 40 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_radiation.ipynb \ |
41 | 41 | && chmod 775 plot_ELM_radiation.ipynb \ |
42 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_moisture_temperature.ipynb \ |
| 42 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_moisture_temperature.ipynb \ |
43 | 43 | && chmod 775 plot_moisture_temperature.ipynb \ |
44 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_soil_BGC.ipynb \ |
| 44 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_soil_BGC.ipynb \ |
45 | 45 | && chmod 775 plot_soil_BGC.ipynb \ |
46 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_veg_data.ipynb \ |
| 46 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_veg_data.ipynb \ |
47 | 47 | && chmod 775 plot_veg_data.ipynb \ |
48 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_ensembles.ipynb \ |
| 48 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_ensembles.ipynb \ |
49 | 49 | && chmod 775 plot_ELM_ensembles.ipynb \ |
50 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_compare_cases.ipynb \ |
| 50 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_compare_cases.ipynb \ |
51 | 51 | && chmod 775 plot_ELM_compare_cases.ipynb \ |
52 | 52 | # GEE notebooks |
53 | | - && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_vs_GEE_data.ipynb \ |
| 53 | + && wget $REPOSITORY_RAW_URL/main/notebooks/ngeearctic/plot_ELM_vs_GEE_data.ipynb \ |
54 | 54 | && chmod 775 plot_ELM_vs_GEE_data.ipynb |
55 | 55 |
|
56 | | -# add back in if we want examples showing how to run the model from within a notebook |
57 | | -# && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/run_ELM_KG64_basic.ipynb \ |
58 | | -# && chmod 775 run_ELM_KG64_basic.ipynb \ |
59 | | -# && wget $TOOLS_REPOSITORY_RAW_URL/main/notebooks/ngeearctic/run_plot_KG64_ELM_output.ipynb \ |
60 | | -# && chmod 775 run_plot_KG64_ELM_output.ipynb |
61 | | - |
62 | 56 | # Setup default user, when enter docker container |
63 | 57 | USER ${NB_UID} |
64 | 58 | WORKDIR "${HOME}" |
|
0 commit comments