trajan.trajectory_accessor
Extending xarray Dataset with functionality specific to trajectory datasets.
Presently supporting Cf convention H.4.1 https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#_multidimensional_array_representation_of_trajectories.
Module Contents
Classes
Attributes
- trajan.trajectory_accessor.logger
- class trajan.trajectory_accessor.TrajAccessor(xarray_obj)
- property plot
- _obj
- __plot__
- gridtime(times)
Interpolate dataset to regular time interval
- times:
an array of times, or
a string “freq” specifying a Pandas daterange (e.g. ‘h’, ‘6h, ‘D’…)
Note that the resulting DataSet will have “time” as a dimension coordinate.