Skip to content

Commit 33f2909

Browse files
committed
restored notebooks
1 parent d62f4b6 commit 33f2909

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

notebooks/gfs_sample.ipynb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,23 @@
4646
"# Import the following packages\n",
4747
"import os\n",
4848
"import yaml\n",
49+
"from pathlib import Path\n",
50+
"import re\n",
51+
"import boto3\n",
52+
"from botocore import UNSIGNED\n",
53+
"from botocore.config import Config\n",
4954
"import xarray as xr\n",
5055
"import pandas as pd\n",
56+
"import numpy as np\n",
5157
"from ocf_data_sampler.torch_datasets.datasets.pvnet_uk import PVNetUKRegionalDataset\n",
58+
"import pandas as pd\n",
5259
"from importlib.resources import files\n",
53-
"import matplotlib.pyplot as plt"
60+
"import zarr\n",
61+
"import fsspec\n",
62+
"import s3fs\n",
63+
"import matplotlib.pyplot as plt\n",
64+
"from typing import Union, Optional, List\n",
65+
"import seaborn as sns"
5466
]
5567
},
5668
{

notebooks/understanding_gfs_data.ipynb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@
2929
"# Import the following packages\n",
3030
"import os\n",
3131
"from IPython.display import Image\n",
32+
"from botocore import UNSIGNED\n",
33+
"from botocore.config import Config\n",
3234
"import xarray as xr\n",
3335
"import pandas as pd\n",
36+
"import numpy as np\n",
37+
"import cfgrib\n",
3438
"import pygrib\n",
39+
"import zarr\n",
3540
"import fsspec\n",
3641
"import matplotlib.pyplot as plt"
3742
]

notebooks/understanding_metoffice_data.ipynb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,18 @@
2020
"import os\n",
2121
"import subprocess\n",
2222
"from IPython.display import Image\n",
23+
"from botocore import UNSIGNED\n",
24+
"from botocore.config import Config\n",
2325
"import requests\n",
2426
"import xarray as xr\n",
2527
"import pandas as pd\n",
2628
"import numpy as np\n",
2729
"import pyproj\n",
30+
"import cfgrib\n",
31+
"import pygrib\n",
32+
"import zarr\n",
2833
"import zipfile\n",
34+
"import fsspec\n",
2935
"import matplotlib.pyplot as plt"
3036
]
3137
},

0 commit comments

Comments
 (0)