Releases: SpatioTemporal/STARE
y2023 Bug
NG discovered a y2023 bug that caused a pystare crash due to an uncaught exception thrown by STARE. STARE threw an exception on dubious year returns from ERFA, which it does for dates 5 years beyond the date of the ERFA version release. This is because of the unpredictability of leap second addition to the calendar.
Corrections
- The ERFA provided by STARE was updated.
- Non-nominal ERFA returns no longer cause exceptions but set a "status" register that registers the last non-nominal result before being cleared.
- A unit test reproducer verifies the performance of the additions.
Fix Bug 107. Memory overrun in expandIntervals.
STARE::expandIntervalsMultiRes tried to coalesce faces of the root polygon, leading to an improper spatial interval and an interminable loop in expandIntervals. Fixed by check the resolution level of the interval currently being processed.
Fix Bug 99. NaN for longitude near 0.
An acos call in SpatialVector was yielding NaN as its argument went beyond 1, likely due to roundoff. Sadly, patched with a min-max coercion back into [-1,1]. This showed up on an Ubuntu system. The top-level call was STARE::LatLonDegreesFromValue.
Shared Library Experiments 1
1.2.4x1 Trying to override GNUInstallDirs.
CMake Improvements
Improvements to allow generation of shared and static directories that better conform to conda-forge's conventions.
Shared Library can now be generated by CMake build.
A shared library is built by default. Use -DBUILD_SHARED_LIBS=NO
to build a static library as before.
Documentation and License Notice Improvements
Documentation and License Notice Improvements.
CMake install tweak
Modified include destination to include/STARE.
Added resolution parameters to fromJulian<...> routines.
Previously certain fromJulian<...> routines were treated as low-level routines with the expectation that other calls would set the resolutions. This complicated the pystare interface, so we made these from-calls act like other calls that construct temporal index values.
Set temporal resolutions from sorted times.
Added set_temporal_resolutions_from_sorted_inplace(indices,len).