Skip to content

Last Release Before Refactor

Choose a tag to compare

@lispandfound lispandfound released this 03 Dec 01:32
· 54 commits to master since this release
404ffe1

Summary

This is the last release before the qcore refactor, and it covers about two years of changes since 1.3. Note that the tag 2025.12.01 points at a September 2025 commit. It changes cb_amp_multi, shared.get_stations and geo.oriented_bearing_wrt_normal, and removes several modules.

Breaking changes

  • Site amplification was reworked (#357):
    • cb_amp_multi takes a dataframe of sites and no longer interpolates in frequency. Call cb2014_to_fas_amplification_factors afterwards.
    • The bandpass and passband filter options were removed from bwfilter.
  • shared.get_stations(locations=True) returns latitudes before longitudes, the order the old workflow expects (#325).
  • Removed modules:
    • gmt (#353). Its resources moved to pygmt_helper.
    • gsf (#345) and the bounding-box modules (#342).
    • mpl and shakemap_grid (#313).
    • wgs_nztm2000x (#308).
  • Removed LFSeis (#347). Use timeseries.read_lfseis_directory, which returns an xarray Dataset.
  • Removed geo.ll_cross_track_dist and geo.InputError (#313).
  • Data files are no longer downloaded on install (#320, #348). They are fetched on demand with pooch, and the NHM model is downloaded automatically (#356).
  • Enums were changed to StrEnum (#350).

Bug fixes

  • Broadband failed with LF nstat != HF nstat: LF seis reading kept empty station rows (#340).
  • geo.oriented_bearing_wrt_normal returned 0° where the answer was 180° (#326).
  • validate_vm_bounds now checks SRF corners in NZTM rather than in lat/lon (#333).
  • Fixes for numpy 2 (#332), the imp module removal (#309) and GMT 6.3 file naming (#291, #292).

Features

  • Added the coordinates module for NZTM/WGS conversions, distances and bearing corrections (#310, #319, #330), plus spherical projections (#354).
  • Added the grid module with mesh grids and patch grids (#312, #335, #337, #346).
  • Source-to-site distances (src_site_dist) moved here from IM_calculation (#323).
  • Added geo.point_to_segment_distance (#339) and cli.from_docstring (#344, #352).
  • Added a new xyts timeslice API (#307, #355) and multi-site vectorised ampdeamp with FFTW (#357).

Contains all changes since the last update to the refactor.

What's Changed

New Contributors

Full Changelog: 1.3...2025.12.01