Spectral reference data in Python, without the portal work.
spectrAccess finds and downloads spectral and atmospheric reference data in Python and parses it into pandas tables. For some sources it also returns a shared schema in which every value carries its uncertainty and where it came from.
spectrAccess finds, downloads and reads spectral and atmospheric reference data from public archives and networks, including the data used to calibrate and validate satellite sensors. Portal access, file formats and unit handling happen in the package, so the time goes into the work itself.
Where a source supports it, the data can also be returned in one shared schema. There, uncertainty is a record rather than a bare number: the published uncertainty where the source gives one, and a plain statement where it does not. Each value keeps its source, URL and retrieval time, so a result can be traced back to what was downloaded and when.
Anyone who works with spectral reference data and needs to know how far each value can be trusted: remote sensing and Earth observation scientists, calibration engineers, satellite data providers and the analysts who build on their data.
pip install spectraccess Optional extras and a short example are on the PyPI page.
spectrAccess fetches data on your behalf, using your own account where a provider needs one. It never re-serves or redistributes source data, and each connector lists its provider's terms and citation requirements.
Reference-data clients stop working quietly: portals move, formats change, and an unmaintained connector returns nothing without saying why. RefCal uses the same connectors for its own reference data, so keeping them working is part of our own work. Publishing them means nobody else has to rebuild the same plumbing.
Using spectrAccess?
Tell us which source you need next, or where a connector falls short. Issues are also welcome on GitHub.