Skip to content

Releases: DOI-USGS/knoten

0.4.0

14 May 17:53
c950c03
Compare
Choose a tag to compare

Added

Added the following sensor utility functions: phase_angle, emission_angle, slant_distance, target_center_distance, sub_spacecraft_point, local_radius, right_ascension_declination, line_resolution, sample_resolution, and pixel_resolution.

0.3.0

15 Apr 17:20
10b0dbe
Compare
Choose a tag to compare

v0.3.0

Added

  • create_csm now dispatches to _from_isd and _from_state to test whether the sensor model can be instantiated from either and ISD or a state file.
  • generate_image_coordinate to csm.py. This provides a similar interface to generate_ground_coordinate and abstracts away the csmapi from the user.
  • A surface class (moved from AutoCNet; credit @jessemapel) with support for Ellipsoid DEMs and basic support for raster DEMs readable by the plio.io.io_gdal.GeoDataset. Support is basic because it uses a single pixel intersection and not an interpolated elevation like ISIS does.
  • A check to generate_ground_point when a GeoDataset is used to raise a ValueError if the algorithm intersects a no data value in the passed DEM. This ensures that valid heights are used in the intersection computation. Fixes #120

Changed

  • Removed all pyproj calls from csm.py, abstracting them into the reprojection and pyproj.Transformer code inside utils.py. Updated the transformations to use the new pipeline style syntax to avoid deprecation warnings about old syntax.

Fixed

  • The init method that searches for the libusgscsm to support searching in the csmplugins subdirectory. This approach depends on being able to find csmapi in a standard location and then assumes that the libusgscsm shared library is in a subdirectoy of that lib directory. Fixes #118

Initial Release

21 Jun 21:01
Compare
Choose a tag to compare
Merge pull request #17 from jlaura/latlon

Fixes latlon