Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
23 changes: 23 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "CSSI Evaluation Workshop",
"image": "mcr.microsoft.com/devcontainers/miniconda:3",

// Create the conda environment (includes editable package install + notebook extras),
// register the Jupyter kernel, and activate the env in every new terminal session.
"postCreateCommand": "conda env create -f cssi_env.yml && conda run -n cssi_evaluation python -m ipykernel install --user --name=cssi_evaluation --display-name='Python (cssi_evaluation)' && echo 'conda activate cssi_evaluation' >> ~/.bashrc",

"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.vscode-jupyter-slideshow"
],
"settings": {
"python.defaultInterpreterPath": "/opt/conda/envs/cssi_evaluation/bin/python",
"jupyter.notebookFileRoot": "${workspaceFolder}"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"StartDate = '2003-10-01'\n",
"EndDate = '2005-09-30'\n",
"\n",
"domain_data_path = '../parflow/domain_data/' # path to the model domain data\n",
"domain_data_path = 'examples/parflow/domain_data/' # path to the model domain data\n",
"\n",
"# Path to save results (obs and mod stands for observation and modeled, respectively)\n",
"OBS_OutputFolder = './obs_outputs_PF' \n",
Expand Down
6 changes: 3 additions & 3 deletions examples/collect_observations/dataCollection_nwm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"outputs": [],
"source": [
"# path to the model domain data\n",
"domain_data_path = '../nwm/domain_data/' \n",
"domain_data_path = 'examples/nwm/domain_data/' \n",
"\n",
"# Path to the watershed shapefile\n",
"watershed = f\"{domain_data_path}TolumneRiver_18040009.shp\"\n",
Expand All @@ -124,8 +124,8 @@
"EndDate = '2020-09-30'\n",
"\n",
"# Path to save results (obs and mod stands for observation and modeled, respectively)\n",
"OBS_OutputFolder = '../nwm/obs_outputs' \n",
"MOD_OutputFolder = '../nwm/mod_outputs'"
"OBS_OutputFolder = 'examples/nwm/obs_outputs' \n",
"MOD_OutputFolder = 'examples/nwm/mod_outputs'"
]
},
{
Expand Down
Loading