Skip to content

Add minimal set of LALPulsar ephemeris files back to wheel

Karl Wette requested to merge ANU-CGA/lalsuite:minimal-ephem into master

Description

This MR adds back a minimal set of ephemeris files back to the wheel builds (cf. 4f3cfa37), so that installing LALPulsar from PyPI can work without having to download those files separately.

A --enable-minimal-ephem option is added to lalpulsar/configure.ac which causes only the following ephemeris/time correction files to be installed:

16M	earth00-40-DE405.dat.gz
1.6M	sun00-40-DE405.dat.gz
648K	tdb_2000-2040.dat.gz
648K	te405_2000-2040.dat.gz

The DE405 ephemeris is the default for all LALPulsar/LALApps codes, and the vast majority of users don't need a specific ephemeris (i.e. unless they're trying to coherently phase match a pulsar using a .par file with a specific ephemeris version). So the inclusion of these files will make LALPulsar/LALApps usable for the vast majority of cases. The time correction files tdb_2000-2040.dat.gz and te405_2000-2040.dat.gz are only used in some specific cases, again mostly for targeting specific files, but these files are small so I've included them as well.

The wheel builds in .gitlab-ci.yml now build LALSuite with --enable-minimal-ephem so that only the above files are included in the wheel.

API Changes and Justification

Backwards Compatible Changes

  • This change introduces no API changes
  • This change adds new API calls

Backwards Incompatible Changes

  • This change modifies an existing API
  • This change removes an existing API

Review Status

Closes #326 (closed)

Edited by Karl Wette

Merge request reports