Status: Won't Fix
Fix Version/s: None
Epic Name:Test Data - Replace Unit-Test Data Package
The afwdata package is used for many unit tests in afw and meas_algorithms, but I think we've largely stopped using it for new tests. We instead tend to add new data packages or add small test datasets to the packages we're testing - fine solutions in isolation, but a big problem when we do this all the time.
I think there are several reasons we don't use afwdata more:
- It's poorly documented.
- Many of its files are obsolete: they use the old MaskedImage format, or they're outputs from older versions of PhoSim that may not be completely supported by obs_lsstSim anymore.
- There's no butler to organize the larger, more realistic datasets.
- There are no truth values for the simulated datasets.
I think we need to audit the way we use both afwdata and the ad-hoc test data files in individual code packages, gather requirements for other kinds of reusable data for unit tests, and put together a new package that tries to meet those needs without being too large. Eventually I'd like to retire afwdata in favor of this new package entirely, and we might be able to merge it with some other packages that contain test data (obs_test?) as well.