Skip to content

Commit 1bb5794

Browse files
Adding FES tidal dataset
1 parent da27a14 commit 1bb5794

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

parcels/_datasets/structured/circulation_models.py

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,53 @@
409409
),
410410
},
411411
),
412+
"ds_FES_tides": xr.Dataset(
413+
# FES tidal model dataset
414+
{
415+
"Ug": (
416+
["lat", "lon"],
417+
np.random.rand(Y, X, dtype="float32"),
418+
{
419+
"long_name": "Eastward sea water velocity phaselag due to non equilibrium ocean tide at m2 frequency",
420+
"units": "degrees",
421+
"grid_mapping": "crs",
422+
},
423+
),
424+
"Ua": (
425+
["lat", "lon"],
426+
np.random.rand(Y, X, dtype="float32"),
427+
{
428+
"long_name": "Eastward sea water velocity amplitude due to non equilibrium ocean tide at m2 frequency",
429+
"units": "cm/s",
430+
"grid_mapping": "crs",
431+
},
432+
),
433+
},
434+
coords={
435+
"lat": (
436+
["lat"],
437+
np.linspace(-90, 90, Y),
438+
{
439+
"long_name": "latitude",
440+
"units": "degrees_north",
441+
"bounds": "lat_bnds",
442+
"axis": "Y",
443+
"valid_min": -90.0,
444+
"valid_max": 90.0,
445+
},
446+
),
447+
"lon": (
448+
["lon"],
449+
np.linspace(0, 360, X, endpoint=False),
450+
{
451+
"long_name": "longitude",
452+
"units": "degrees_east",
453+
"bounds": "lon_bnds",
454+
"axis": "X",
455+
"valid_min": 0.0,
456+
"valid_max": 360.0,
457+
},
458+
),
459+
},
460+
),
412461
}

0 commit comments

Comments
 (0)