Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
fc9aed8
added requirements file and made minor changes to aorc v1.1 notebook
Castronova Jun 3, 2025
d45f57d
adding sample data for the aorc notebook
Castronova Jun 3, 2025
ee5ca79
updates to ensure the aorc notebook is working on 2i2c
Castronova Jun 3, 2025
5117209
adding NGEN Hydrofabric tutorial
Castronova Jun 4, 2025
7e57ea3
adding initial version of NOAA NGEN notebook
Castronova Jun 4, 2025
bb2e23b
added initial version of bigquery NWM notebook
Castronova Jun 4, 2025
ceb0a5e
added ngen execution
Castronova Jun 5, 2025
014be5a
added forcing visualzation to ngiab notebook
Castronova Jun 5, 2025
de4d4fa
added results visualization
Castronova Jun 5, 2025
7946c8b
updated the image of usgs gage location
igarousi Jun 6, 2025
b8d067e
added an image of the models schematic
igarousi Jun 9, 2025
eb4f5f4
updated the descriptions and visualization
igarousi Jun 9, 2025
80aa1e4
updates to the big query notebook
Castronova Jun 9, 2025
f1fe1ee
Removed the FDC calculation and added BDC calculation
igarousi Jun 9, 2025
aabab8f
added images for the NWM analysis and forecast configurations
igarousi Jun 9, 2025
77f1977
revised the descriptive content, added new images, changed formats to…
igarousi Jun 9, 2025
68f8b8c
cleared outputs of all cells
igarousi Jun 9, 2025
a707044
modifications to bigquery and aorc notebooks for si
Castronova Jun 11, 2025
fea7626
removed debug statement from hydrofabric sidecar app
Castronova Jun 11, 2025
1737712
added the jupyter notebook and supporting files for comparing AORC an…
igarousi Jul 1, 2025
76fa8a5
Include all dask dependencies
abnerbog Jul 8, 2025
8c1d2d2
Generate notebook outputs and small text changes
abnerbog Jul 8, 2025
b5b0af2
Minor plotting edits, watershed / rainfall map
abnerbog Jul 8, 2025
da23639
small test commit
abnerbog Jul 11, 2025
4b8d087
Add package versions and local env folder
abnerbog Jul 14, 2025
32c6624
Add utility fxns to clip and plot data from single watershed
abnerbog Jul 14, 2025
253b0e4
Remove comment in conda install
abnerbog Jul 14, 2025
995eebc
Add environment.yml with snapshot of pkg versions
abnerbog Jul 23, 2025
8d4a210
Update shell script to reference environment.yml
abnerbog Jul 23, 2025
61ce1f2
Update watershed plotting utility fxn
abnerbog Jul 23, 2025
a4dbce7
Seperate precipitation plots by watershed
abnerbog Jul 23, 2025
893b503
added zarr creation and storing in HydroShare
Castronova Jul 28, 2025
6d8a3da
Adding conda environment files
homa-slh Jul 31, 2025
e10ed16
Updating Readme file
homa-slh Jul 31, 2025
ea1edb8
Updating for conda env setup
homa-slh Jul 31, 2025
ea084e8
Updating for conda env setup
homa-slh Jul 31, 2025
4151edd
Update environment.yml
abnerbog Aug 1, 2025
f0b1a02
Use libmamba for package loading
abnerbog Aug 1, 2025
912b4c4
Make readability updates
abnerbog Aug 1, 2025
be8dd94
Make readability updates
abnerbog Aug 1, 2025
9d4a4bc
Adding changes from Homa
abnerbog Aug 1, 2025
a650829
Adding a couple missing pkgs
abnerbog Aug 1, 2025
3c6b96a
Small edits in saving to HS section
abnerbog Aug 1, 2025
a471ff8
Remove extra comments from notebook
abnerbog Aug 1, 2025
2ad8f12
Remove username from S3 authentication
abnerbog Aug 1, 2025
14a2982
Updated readme
homa-slh Aug 6, 2025
14f547a
Updated description for Conda env setup
homa-slh Aug 6, 2025
11128d3
adding kerchunk notebook
Castronova Aug 6, 2025
ed12cb4
Merge branch 'develop' of https://github.com/CUAHSI/notebooks into de…
Castronova Aug 6, 2025
90cee1a
Adding kerchunk example
Castronova Aug 15, 2025
b71955d
removing duplicate kerchunk directory
Castronova Aug 15, 2025
9d70d05
adding notebook for building the ivt zarr from CESM2 netcdf
Castronova Aug 15, 2025
fbfd477
Added the updated science use case that computes atmospheric rivers c…
igarousi Aug 25, 2025
3e97fd1
cleared all outputs
igarousi Aug 25, 2025
c396d4e
added datatree to the notebook to make working with zarr groups easier
Castronova Aug 26, 2025
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
fsspec >= 2024.6.0
geopandas >= 0.14.4
numpy >= 1.26.4
matplotlib >= 3.9.0
dask[complete] >= 2024.5.2
xarray >= 2024.5.0
rioxarray >= 0.15.5
geocube >= 0.5.2
s3fs >= 2024.6.0
zarr >= 2.18.2
jupyterlab >= 4.4.3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ISO-8859-1
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["NAD_1983_Contiguous_USA_Albers",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"<li>Pabitra Dash <a href=\"mailto:[email protected]\">([email protected])</a></li>\n",
"</ul>\n",
"\n",
"**Last Updated:** 4/1/2025\n",
"**Last Updated:** 7/22/2025\n",
"\n",
"**Purpose:**\n",
"\n",
Expand All @@ -52,48 +52,23 @@
"\n",
"**Software Requirements:**\n",
"\n",
"This notebook has been tested using Python v3.11.8 using the following library versions:\n",
"\n",
" > numpy: 1.26.4 \n",
" geopandas: 0.14.4 \n",
" matplotlib: 3.8.3 \n",
" xarray: 2024.3.0 \n",
" s3fs: 2024.3.1 \n",
" fsspec: 2024.3.1 \n",
" contextily: 1.6.2 \n",
" zarr: 2.17.2 \n",
"\n",
"It also uses code from aorc_utils.py and environment specifications from requirements.txt, which accompany this notebook."
"This notebook uses a number of Python libraries, which are imported in the first cell below. If any of these libraries are not installed, you may need to install them. If installing them results in problems due to package conflicts, we recommend setting up a Conda environment to run this notebook. The notebook [CondaEnvironmentSetup](./conda_env/CondaEnvironmentSetup.ipynb) has been provided to do this for you. Once you have set up the Conda environment, you will need to switch the kernel being used to execute this notebook to the new Conda environment: use *Python [cond env:.conda-aorc]* if this kernel is in the list, otherwise, use *Python3 (AORC)*. \n"
]
},
{
"cell_type": "markdown",
"id": "51b364f4-93ae-4e44-bea0-7ecc0286125d",
"metadata": {},
"source": [
"### 1. Prepare the Python Environment"
"### 1. Import the Libraries"
]
},
{
"cell_type": "markdown",
"id": "25bd810b-9a55-4da7-8ce8-2089c8209abf",
"metadata": {},
"source": [
"Use the following command to ensure that all dependencies are installed in your environment. Note, these library versions have been pinned and tested for `Python 3.11.8`. Install and import the libraries needed for this notebook."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8b83a7ff-0e3d-4d8f-be62-66b2a12c9bac",
"metadata": {
"scrolled": true,
"tags": []
},
"outputs": [],
"source": [
"# note: this cell can be skipped if the dependencies have already been installed.\n",
"!pip install -r requirements.txt"
"Import the libraries needed to run this notebook:"
]
},
{
Expand All @@ -103,7 +78,6 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"import contextily as ctx \n",
Expand Down Expand Up @@ -405,7 +379,9 @@
"cell_type": "code",
"execution_count": null,
"id": "4551ef61-b686-4fd0-91e1-633ae54a5a85",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"# Extracting the time (x-axis) and variable data (y-axis) to plot\n",
Expand Down Expand Up @@ -441,9 +417,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python [conda env:.conda-aorc]",
"language": "python",
"name": "python3"
"name": "conda-env-.conda-aorc-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -455,7 +431,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.10.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"<li>Pabitra Dash <a href=\"mailto:[email protected]\">([email protected])</a></li>\n",
"</ul>\n",
"\n",
"**Last Updated:** 4/1/2025\n",
"**Last Updated:** 7/22/2025\n",
"\n",
"**Purpose:**\n",
"\n",
Expand All @@ -52,47 +52,23 @@
"\n",
"**Software Requirements:**\n",
"\n",
"This notebook has been tested using Python v3.11.8 using the following library versions:\n",
"\n",
" > numpy: 1.26.4 \n",
" geopandas: 0.14.4 \n",
" matplotlib: 3.8.3 \n",
" xarray: 2024.3.0 \n",
" s3fs: 2024.3.1 \n",
" fsspec: 2024.3.1 \n",
" contextily: 1.6.2 \n",
" exactextract: 0.2.0 \n",
" zarr: 2.17.2 \n",
"\n",
"It also uses code from aorc_utils.py and environment specifications from requirements.txt, which accompany this notebook."
"This notebook uses a number of Python libraries, which are imported in the first cell below. If any of these libraries are not installed, you may need to install them. If installing them results in problems due to package conflicts, we recommend setting up a Conda environment to run this notebook. The notebook [CondaEnvironmentSetup](./conda_env/CondaEnvironmentSetup.ipynb) has been provided to do this for you. Once you have set up the Conda environment, you will need to switch the kernel being used to execute this notebook to the new Conda environment: use *Python [cond env:.conda-aorc]* if this kernel is in the list, otherwise, use *Python3 (AORC)*. \n"
]
},
{
"cell_type": "markdown",
"id": "bbe7d469-31ce-41ad-8c9f-6fed524a5787",
"metadata": {},
"source": [
"### 1. Prepare the Python Environment"
"### 1. Import the Libraries"
]
},
{
"cell_type": "markdown",
"id": "204f080d-b558-46ec-8aef-e90ae7ba48d1",
"id": "a3903883-8c25-40cb-b79e-7d5e984432d7",
"metadata": {},
"source": [
"Use the following command to ensure that all dependencies are installed in your environment. Note, these library versions have been pinned and tested for `Python 3.11.8`. Install and import the libraries needed for this notebook."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "940edf7c-8ecc-468c-8191-c83413b1e0df",
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip install -r requirements.txt"
"Import the libraries needed to run this notebook:"
]
},
{
Expand All @@ -106,7 +82,6 @@
"import xarray as xr\n",
"import geopandas as gpd\n",
"import matplotlib.pyplot as plt\n",
"import fsspec\n",
"import s3fs\n",
"import warnings\n",
"from shapely.geometry import box\n",
Expand Down Expand Up @@ -538,7 +513,9 @@
"cell_type": "code",
"execution_count": null,
"id": "eecbfb4c-79de-473a-8d6a-e1112d6ab9f6",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"da_animate(da_over_area, gdf, variable_name, units, agg_interval)"
Expand All @@ -547,9 +524,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python [conda env:.conda-aorc]",
"language": "python",
"name": "python3"
"name": "conda-env-.conda-aorc-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -561,7 +538,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.10.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"<li>Pabitra Dash <a href=\"mailto:[email protected]\">([email protected])</a></li>\n",
"</ul>\n",
"\n",
"**Last Updated:** 4/1/2025\n",
"**Last Updated:** 7/22/2025\n",
"\n",
"**Purpose:**\n",
"\n",
Expand All @@ -52,48 +52,23 @@
"\n",
"**Software Requirements:**\n",
"\n",
"This notebook has been tested using Python v3.11.8 using the following library versions:\n",
"\n",
" > numpy: 1.26.4 \n",
" geopandas: 0.14.4 \n",
" matplotlib: 3.8.3 \n",
" xarray: 2024.3.0 \n",
" s3fs: 2024.3.1 \n",
" fsspec: 2024.3.1 \n",
" contextily: 1.6.2 \n",
" zarr: 2.17.2 \n",
"\n",
"It also uses code from aorc_utils.py and environment specifications from requirements.txt, which accompany this notebook."
"This notebook uses a number of Python libraries, which are imported in the first cell below. If any of these libraries are not installed, you may need to install them. If installing them results in problems due to package conflicts, we recommend setting up a Conda environment to run this notebook. The notebook [CondaEnvironmentSetup](./conda_env/CondaEnvironmentSetup.ipynb) has been provided to do this for you. Once you have set up the Conda environment, you will need to switch the kernel being used to execute this notebook to the new Conda environment: use *Python [cond env:.conda-aorc]* if this kernel is in the list, otherwise, use *Python3 (AORC)*. \n"
]
},
{
"cell_type": "markdown",
"id": "931dd8d9-bc19-42b7-a0b0-e7360546c342",
"metadata": {},
"source": [
"### 1. Prepare the Python Environment"
"### 1. Import the Libraries"
]
},
{
"cell_type": "markdown",
"id": "25bd810b-9a55-4da7-8ce8-2089c8209abf",
"id": "3c1dcd45-30af-4ac7-86bd-518307a224a4",
"metadata": {},
"source": [
"Use the following command to ensure that all dependencies are installed in your environment. Note, these library versions have been pinned and tested for `Python 3.11.8`. Install and import the libraries needed for this notebook."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8b83a7ff-0e3d-4d8f-be62-66b2a12c9bac",
"metadata": {
"scrolled": true,
"tags": []
},
"outputs": [],
"source": [
"# note: this cell can be skipped if the dependencies have already been installed.\n",
"!pip install -r requirements.txt"
"Import the libraries needed to run this notebook:"
]
},
{
Expand All @@ -103,7 +78,6 @@
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import geopandas as gpd\n",
"import contextily as ctx \n",
Expand Down Expand Up @@ -387,7 +361,9 @@
"cell_type": "code",
"execution_count": null,
"id": "92f695a1-e94f-40a3-ac56-769e2da43843",
"metadata": {},
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"# Extracting the time (x-axis) and variable data (y-axis) to plot\n",
Expand Down Expand Up @@ -423,9 +399,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python [conda env:.conda-aorc]",
"language": "python",
"name": "python3"
"name": "conda-env-.conda-aorc-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -437,7 +413,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.10.18"
}
},
"nbformat": 4,
Expand Down
Loading