- harmonica.tesseroid_layer(coordinates, surface, reference, properties=None)¶
Create a layer of tesseroids of equal size
coordinates (tuple) – List containing the coordinates of the centers of the tesseroids in spherical coordinates in the following order
surface (2d-array) – Array used to create the uppermost boundary of the tesserois layer. All radii should be in meters. On every point where
surfacevalue will be used to set the
bottomboundary of that tesseroid, while the
referencevalue will be used to set the
topboundary of the tesseroid.
reference (2d-array or float) – Reference surface used to create the lowermost boundary of the tesseroids layer. It can be either a plane or an irregular surface passed as 2d array. Radii must be in meters.
properties (dict or None) – Dictionary containing the physical properties of the tesseroids. The keys must be strings that will be used to name the corresponding
xarray.Dataset, while the values must be 2d-arrays. All physical properties must be passed in SI units. If None, no
data_varwill be added to the
xarray.Dataset. Default is None.
xarray.Dataset) – Dataset containing the coordinates of the center of each tesseroid, the height of its top and bottom boundaries ans its corresponding physical properties.