Enforcement of Astropy compliant units enabled in schema

With the adoption of RFC-177, and its implementation in DM-5642, use of Astropy compliant unit strings is now enforced in afw tables.
A check for compatible units is done with every call to schema.addField and in the constructors of the following tasks:

  • ForcedMeasurementTask
  • CharacterizeImageTask
  • CalibrateTask
  • MeasureMergedCoaddSourcesTask

Additionally compatible units are now used as defaults throughout the stack and in all associated test data.
Please be sure to pull the latest master for all packages.

For more information, and an exhaustive list of supported units in Astropy, see http://docs.astropy.org/en/stable/units/

1 Like

In which weekly are these changes available? Many developers and users would be better off using an new weekly rather than building a stack (e.g. Merlin and me)

Looks like w_2016_20 has them.