Skip to content

Commit a45ab95

Browse files
Adding GlobCuurent dataset (from copernicusmarine)
1 parent 4b9aea7 commit a45ab95

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

parcels/_datasets/structured/circulation_models.py

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,75 @@
8686
),
8787
},
8888
),
89+
"ds_copernicusmarine_globcurrents": xr.Dataset(
90+
# Copernicus Marine Service GlobCurrent dataset (MULTIOBS_GLO_PHY_MYNRT_015_003)
91+
{
92+
"ue": (
93+
["time", "depth", "latitude", "longitude"],
94+
np.random.rand(T, Z, Y, X),
95+
{
96+
"units": "m/s",
97+
"standard_name": "eastward_sea_water_velocity_due_to_ekman_drift",
98+
"long_name": "Depth Ekman driven velocity : zonal component",
99+
"grid_mapping": "crs",
100+
},
101+
),
102+
"ve": (
103+
["time", "depth", "latitude", "longitude"],
104+
np.random.rand(T, Z, Y, X),
105+
{
106+
"units": "m/s",
107+
"standard_name": "northward_sea_water_velocity_due_to_ekman_drift",
108+
"long_name": "Depth Ekman driven velocity : meridional component",
109+
"grid_mapping": "crs",
110+
},
111+
),
112+
},
113+
coords={
114+
"depth": (
115+
["depth"],
116+
np.linspace(-0.0, 15, Z),
117+
{
118+
"standard_name": "depth",
119+
"long_name": "Depth",
120+
"units": "m",
121+
"axis": "Z",
122+
"positive": "down",
123+
},
124+
),
125+
"latitude": (
126+
["latitude"],
127+
np.linspace(-90, 90, Y),
128+
{
129+
"unit_long": "Degrees North",
130+
"units": "degrees_north",
131+
"axis": "Y",
132+
"long_name": "Latitude",
133+
"standard_name": "latitude",
134+
},
135+
),
136+
"longitude": (
137+
["longitude"],
138+
np.linspace(-180, 180, X),
139+
{
140+
"unit_long": "Degrees East",
141+
"units": "degrees_east",
142+
"axis": "X",
143+
"long_name": "Longitude",
144+
"standard_name": "longitude",
145+
},
146+
),
147+
"time": (
148+
["time"],
149+
TIME,
150+
{
151+
"axis": "T",
152+
"long_name": "Time",
153+
"standard_name": "time",
154+
},
155+
),
156+
},
157+
),
89158
"ds_NEMO_MOI_U": xr.Dataset(
90159
# NEMO model dataset (U component) as serviced by Mercator Ocean International
91160
{

0 commit comments

Comments
 (0)