hypso.georeference.georef_plots

Module Contents

Functions

numpy_norm(np_array)

Gets the norm of an array

compute_elevation_angle(image_pos, sat_pos)

Computes the elevation angle

compute_off_nadir_angle(image_pos, sat_pos)

Compute the off-nadir angle between the image and the satellite position

pixel_index_to_angle(index, aoi_offset, fov_full, ...)

Get the pixel to angle

compute_local_angles(times, pos_teme, latlons)

Compute the local angles on the capture

compute_local_angles_2(times, pos_teme, lats, lons, ...)

Compute the Local Angles of the Capture (Second Variation)

get_wkt(top_latlon, bot_latlon)

Gets WKT

get_wkt_points(latlon_top, latlon_mid_top, latlon_mid, ...)

Get WKT Points in a string readable format

add_grid(axes, lat_center, lon_center, seg_lat, ...)

Adds a grid for plotting based on the lat and lon

geometry_computation(framepose_data_path[, hypso_height])

Compute geometry using the framepose data

Attributes

R_eq

f

e_2

R_pl

hypso_height_sensor

hypso.georeference.georef_plots.R_eq = 6378137.0
hypso.georeference.georef_plots.f
hypso.georeference.georef_plots.e_2
hypso.georeference.georef_plots.R_pl = 6356752.0
hypso.georeference.georef_plots.hypso_height_sensor = 1216
hypso.georeference.georef_plots.numpy_norm(np_array)

Gets the norm of an array

Parameters:

np_array – Numpy array to get the norm

Returns:

Float of the norm of the array

Return type:

float

hypso.georeference.georef_plots.compute_elevation_angle(image_pos, sat_pos)

Computes the elevation angle

Parameters:
  • image_pos

  • sat_pos

Returns:

Float number of the elevation angle

Return type:

float

hypso.georeference.georef_plots.compute_off_nadir_angle(image_pos, sat_pos)

Compute the off-nadir angle between the image and the satellite position

Parameters:
  • image_pos

  • sat_pos

Returns:

The off-nadir angle float value

Return type:

float

hypso.georeference.georef_plots.pixel_index_to_angle(index, aoi_offset, fov_full, pixels_full)

Get the pixel to angle

Parameters:
  • index

  • aoi_offset

  • fov_full

  • pixels_full

Returns:

Return type:

float

hypso.georeference.georef_plots.compute_local_angles(times, pos_teme, latlons)

Compute the local angles on the capture

Parameters:
  • times

  • pos_teme

  • latlons

Returns:

Numpy array with the local angles

Return type:

numpy.ndarray

hypso.georeference.georef_plots.compute_local_angles_2(times, pos_teme, lats, lons, indices)

Compute the Local Angles of the Capture (Second Variation)

Parameters:
  • times

  • pos_teme

  • lats

  • lons

  • indices

Returns:

Returns array of local angles, and a list of numpy arrays of the satellite and sun zenith and azimuth pos

Return type:

Tuple[numpy.ndarray, List[numpy.ndarray]]

hypso.georeference.georef_plots.get_wkt(top_latlon, bot_latlon)

Gets WKT

Parameters:
  • top_latlon

  • bot_latlon

Returns:

a long string in Well known text representation of shapes format

Return type:

str

hypso.georeference.georef_plots.get_wkt_points(latlon_top, latlon_mid_top, latlon_mid, latlon_mid_bot, latlon_bot)

Get WKT Points in a string readable format

Parameters:
  • latlon_top

  • latlon_mid_top

  • latlon_mid

  • latlon_mid_bot

  • latlon_bot

Returns:

String of the WKT points

Return type:

str

hypso.georeference.georef_plots.add_grid(axes, lat_center, lon_center, seg_lat, seg_lon, size_lat_deg, size_lon_deg)

Adds a grid for plotting based on the lat and lon

Parameters:
  • axes

  • lat_center

  • lon_center

  • seg_lat

  • seg_lon

  • size_lat_deg

  • size_lon_deg

Returns:

No return.

Return type:

None

hypso.georeference.georef_plots.geometry_computation(framepose_data_path, hypso_height=684)

Compute geometry using the framepose data

Parameters:
  • framepose_data_path

  • hypso_height – Height of the Hypso capture

Returns:

No return.

Return type:

None