Skip to content

0.3.0

Compare
Choose a tag to compare
@Kelvinrr Kelvinrr released this 15 Apr 17:20
· 22 commits to main since this release
10b0dbe

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