RelCoord¶
class RelCoord()NamedTuple that also has update method.
This class is used to store the relative coordinates. Attributes starts with “i” are indexes of the nearest grid point. Attributes starts with “b” are value (time/dep/lat/lon) of the nearest grid point. Attributes starts with “d” are distance between the nearest grid point and its neighboring point in meters or seconds. Attributes starts with “r” are the distance from the point of interest to the nearest non-dimensionalized by the “d” variable. “cs”, “sn” are the cosine and sine of the grid orientation relative to meridian. “face” is the face/tile the point is on, if the dataset has such a dimension.
All of those attributes should be None or 1D numpy array.
RelCoord.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
RelCoord.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
HRel¶
class HRel(*args)Wrap around the horizontal rel-coords. See also RelCoord.
HRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
HRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
VRel¶
class VRel(*args)Wrap around the vertical centered nearest rel-coords. See also RelCoord.
VRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
VRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
VLRel¶
class VLRel(*args)Wrap around the vertical centered linear rel-coords. See also RelCoord.
VLRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
VLRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
VlRel¶
class VlRel(*args)Wrap around the vertical staggered nearest rel-coords. See also RelCoord.
VlRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
VlRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
VlLinRel¶
class VlLinRel(*args)Wrap around the vertical staggered linear rel-coords. See also RelCoord.
VlLinRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
VlLinRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
TRel¶
class TRel(*args)Wrap around the temporal linear rel-coords. See also RelCoord.
TRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
TRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.
TLinRel¶
class TLinRel(*args)NamedTuple that also has update method.
This class is used to store the relative coordinates. Attributes starts with “i” are indexes of the nearest grid point. Attributes starts with “b” are value (time/dep/lat/lon) of the nearest grid point. Attributes starts with “d” are distance between the nearest grid point and its neighboring point in meters or seconds. Attributes starts with “r” are the distance from the point of interest to the nearest non-dimensionalized by the “d” variable. “cs”, “sn” are the cosine and sine of the grid orientation relative to meridian. “face” is the face/tile the point is on, if the dataset has such a dimension.
All of those attributes should be None or 1D numpy array.
TLinRel.create_class (method)¶
create_class(class_name, fields)Create a subclass with predetermined keys.
TLinRel.subset (method)¶
subset(self, which)Create a subset of all the non-None items.