hypso.georeference.georef_plots module
- 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.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_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:
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[ndarray, List[ndarray]]
- 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.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
- 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.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.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