Skip to content

Commit e08de3f

Browse files
authored
Merge pull request #23 from mattsl21/main
Ref changes
2 parents 823b669 + 1b00dca commit e08de3f

File tree

4 files changed

+21
-46
lines changed

4 files changed

+21
-46
lines changed

CITATION.cff

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -12,46 +12,7 @@ authors:
1212
orcid: https://orcid.org/0009-0008-5746-6246
1313
website: https://github.com/nmathewa
1414
affiliation: Florida Institute of Technology (FL)
15-
- family-names: Rose
16-
given-names: Brian E. J.
17-
orcid: https://orcid.org/0000-0002-9961-3821 # optional
18-
website: https://github.com/brian-rose # optional
19-
affiliation: University at Albany (State University of New York) # optional
20-
- family-names: Kent
21-
given-names: Julia
22-
orcid: https://orcid.org/0000-0002-5611-8986
23-
website: https://github.com/jukent
24-
affiliation: UCAR/NCAR
25-
- family-names: Tyle
26-
given-names: Kevin
27-
orcid: https://orcid.org/0000-0001-5249-9665
28-
website: https://github.com/ktyle
29-
affiliation: University at Albany (State University of New York)
30-
- family-names: Clyne
31-
given-names: John
32-
orcid: https://orcid.org/0000-0003-2788-9017
33-
website: https://github.com/clyne
34-
affiliation: UCAR/NCAR
35-
- family-names: Camron
36-
given-names: Drew
37-
orcid: https://orcid.org/0000-0001-7246-6502
38-
website: https://github.com/dcamron
39-
affiliation: UCAR/Unidata
40-
- family-names: Grover
41-
given-names: Maxwell
42-
orcid: https://orcid.org/0000-0002-0370-8974
43-
website: https://github.com/mgrover1
44-
affiliation: Argonne National Laboratory
45-
- family-names: Ford
46-
given-names: Robert R.
47-
orcid: https://orcid.org/0000-0001-5483-4965
48-
website: https://github.com/r-ford
49-
affiliation: University at Albany (State University of New York)
50-
- family-names: Paul
51-
given-names: Kevin
52-
orcid: https://orcid.org/0000-0001-8155-8038
53-
website: https://github.com/kmpaul
54-
affiliation: NVIDIA
15+
5516

5617
- name: "Cookbook Template contributors" # use the 'name' field to acknowledge organizations
5718
website: "https://github.com/ProjectPythia/cookbook-template/graphs/contributors"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Here, you will learn how to run a simple AI model to predict hurricane intensity
1616

1717
## Authors
1818

19-
[First Author](https://github.com/first-author1), [Second Author](https://github.com/second-author2), etc. _Acknowledge primary content authors here_
19+
[Nirmal Alex](https://github.com/nmathewa), [Matthew Lynne](https://github.com/mattsl21), etc. _Acknowledge primary content authors here_
2020

2121
### Contributors
2222

myst.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ project:
66
title: Machine Learning Hurricane Intensity Prediction Cookbook
77
github: https://github.com/ProjectPythia/ml-hurricane-intensity
88
authors:
9-
- name: The Project Pythia Community
9+
- name: Nirmal Alex, Matthew Lynne
1010
copyright: '2024'
1111
toc:
1212
- file: README.md

notebooks/era5_preprocessing.ipynb

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
{
6060
"cell_type": "code",
61-
"execution_count": 12,
61+
"execution_count": 8,
6262
"metadata": {},
6363
"outputs": [],
6464
"source": [
@@ -93,11 +93,25 @@
9393
},
9494
{
9595
"cell_type": "code",
96-
"execution_count": 3,
96+
"execution_count": 12,
9797
"metadata": {},
98-
"outputs": [],
98+
"outputs": [
99+
{
100+
"ename": "ValueError",
101+
"evalue": "did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy']. Consider explicitly selecting one of the installed engines via the ``engine`` parameter, or installing additional IO dependencies, see:\nhttps://docs.xarray.dev/en/stable/getting-started-guide/installing.html\nhttps://docs.xarray.dev/en/stable/user-guide/io.html",
102+
"output_type": "error",
103+
"traceback": [
104+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
105+
"\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)",
106+
"Cell \u001b[0;32mIn[12], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m input_dsets \u001b[38;5;241m=\u001b[39m \u001b[43mxr\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mopen_dataset\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43m../test_folder/final_proc_5yr_6h.nc\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\n",
107+
"File \u001b[0;32m/srv/conda/envs/notebook/lib/python3.10/site-packages/xarray/backends/api.py:668\u001b[0m, in \u001b[0;36mopen_dataset\u001b[0;34m(filename_or_obj, engine, chunks, cache, decode_cf, mask_and_scale, decode_times, decode_timedelta, use_cftime, concat_characters, decode_coords, drop_variables, inline_array, chunked_array_type, from_array_kwargs, backend_kwargs, **kwargs)\u001b[0m\n\u001b[1;32m 665\u001b[0m kwargs\u001b[38;5;241m.\u001b[39mupdate(backend_kwargs)\n\u001b[1;32m 667\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m engine \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 668\u001b[0m engine \u001b[38;5;241m=\u001b[39m \u001b[43mplugins\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mguess_engine\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfilename_or_obj\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 670\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m from_array_kwargs \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 671\u001b[0m from_array_kwargs \u001b[38;5;241m=\u001b[39m {}\n",
108+
"File \u001b[0;32m/srv/conda/envs/notebook/lib/python3.10/site-packages/xarray/backends/plugins.py:194\u001b[0m, in \u001b[0;36mguess_engine\u001b[0;34m(store_spec)\u001b[0m\n\u001b[1;32m 186\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 187\u001b[0m error_msg \u001b[38;5;241m=\u001b[39m (\n\u001b[1;32m 188\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mfound the following matches with the input file in xarray\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124ms IO \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 189\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mbackends: \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mcompatible_engines\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m. But their dependencies may not be installed, see:\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 190\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhttps://docs.xarray.dev/en/stable/user-guide/io.html \u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 191\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mhttps://docs.xarray.dev/en/stable/getting-started-guide/installing.html\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 192\u001b[0m )\n\u001b[0;32m--> 194\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(error_msg)\n",
109+
"\u001b[0;31mValueError\u001b[0m: did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy']. Consider explicitly selecting one of the installed engines via the ``engine`` parameter, or installing additional IO dependencies, see:\nhttps://docs.xarray.dev/en/stable/getting-started-guide/installing.html\nhttps://docs.xarray.dev/en/stable/user-guide/io.html"
110+
]
111+
}
112+
],
99113
"source": [
100-
"input_dsets = xr.open_dataset('~/Data/final_proc_5yr_6h.nc')"
114+
"input_dsets = xr.open_dataset('../test_folder/final_proc_5yr_6h.nc')"
101115
]
102116
},
103117
{

0 commit comments

Comments
 (0)