Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using python 3.12 for now #13

Merged
merged 3 commits into from
Dec 21, 2023
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
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- nc-time-axis
- pip
- pytest
- python>=3.8
- python<=3.11
- tqdm
- watermark
- xarray>=2023.4.2
Expand Down
11 changes: 5 additions & 6 deletions notebooks/plot-diagnostics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@
"outputs": [],
"source": [
"# Produce a catalog content summary.\n",
"import pprint\n",
"\n",
"uniques = col.unique()\n",
"\n",
Expand Down Expand Up @@ -595,8 +594,8 @@
" data_slice = ds[data_var].sel(member_id=mem_id)\n",
" \n",
" if truncate_data:\n",
" # Limit time range to three years.\n",
" data_slice = truncateData(data_slice, 3)\n",
" # Limit time range to one year.\n",
" data_slice = truncateData(data_slice, 1)\n",
"\n",
" # Save slice in memory to prevent repeated disk loads\n",
" data_slice = data_slice.persist()\n",
Expand Down Expand Up @@ -633,7 +632,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 33,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -656,8 +655,8 @@
" data_slice = ds[data_var].sel(member_id=mem_id)\n",
" \n",
" if truncate_data:\n",
" # Limit time range to three years.\n",
" data_slice = truncateData(data_slice, 3)\n",
" # Limit time range to one year.\n",
" data_slice = truncateData(data_slice, 1)\n",
"\n",
" # Save slice in memory to prevent repeated disk loads\n",
" data_slice = data_slice.persist()\n",
Expand Down
Loading