contains TEF framework
import xarray as xr
import numpy as np
# Create random data
lat = np.arange(-180, 180)
lon = 37
depth = np.arange(0, 200)
time = 2
dummy_var = np.zeros((lat.size, depth.size))
ds = xr.Dataset({'dummy': (["lAtiTude", "dePht"], dummy_var)},
coords = {'lAtiTude': (["lAtiTude"], lat),
'dePht': (["dePht"], depth)})
# Create data description
data_description = {
"lon" : None,
"lat" : "lAtiTude",
"depth" : "dePht",
"time" : None
}
# Initialize TEF object
tef = constructorTEF(inputFile=ds,
data_description=data_description)
tef.ds