xradar.georeference.transforms.get_x_y_z_tree#

xradar.georeference.transforms.get_x_y_z_tree(radar, earth_radius=None, effective_radius_fraction=None)[source]#

Applies the georeferencing to a xradar datatree

Parameters:
  • radar (xarray.DataTree) – Xradar datatree object with radar information.

  • earth_radius (float) – Radius of the earth. Defaults to a latitude-dependent radius derived from WGS84 ellipsoid.

  • effective_radius_fraction (float) – Fraction of earth to use for the effective radius (default is 4/3).

Returns:

radar (xarray.DataTree) – Datatree with sweep datasets including georeferenced coordinates