Graph Machine Learning
AnemoI
English
anaprietonem commited on
Commit
ffb6f60
·
1 Parent(s): acf6ad6

add sections to notebook

Browse files
example_20241107_12_n320.grib DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb6441601767308dc6845d2c38ca77811f193af9f8e32cedac1f3a509e77e845
3
- size 198667440
 
 
 
 
plotting_utils.py DELETED
@@ -1,31 +0,0 @@
1
-
2
- import matplotlib.pyplot as plt
3
- import cartopy.crs as ccrs
4
- import cartopy
5
-
6
- def map_scatter(lats, lons, data, proj=ccrs.PlateCarree(), mask_ocean=False, region=None, axes=None,plot_title=None,cmap_label=None,**kwargs):
7
- if axes is None:
8
- fig, axes = plt.subplots(subplot_kw={'projection': proj}, figsize=(16,6))
9
- axes.coastlines()
10
- axes.gridlines()
11
- sc = axes.scatter(
12
- x=lons,
13
- y=lats,
14
- c=data,
15
- transform=ccrs.PlateCarree(),
16
- s=1,
17
- **kwargs,
18
- )
19
- plt.colorbar(sc,label=cmap_label)
20
- plt.title(plot_title)
21
- # Add title and labels
22
-
23
- if mask_ocean:
24
- axes.add_feature(cartopy.feature.OCEAN, zorder=1, color="w")
25
- gl = axes.gridlines(draw_labels=True, alpha=.3, color='grey',
26
- linewidth=0.5,linestyle ='-',
27
- x_inline= False, y_inline=False)
28
- gl.n_steps = 100
29
- gl.top_labels = False
30
- gl.right_labels = False
31
- return None
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
run_AIFS_v0_2_1.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
test.txt DELETED
@@ -1 +0,0 @@
1
- test