1. HAPI: An API Standard for Accessing Heliophysics Time Series Data.
- Author
-
Weigel, Robert S., Vandegriff, Jon, Faden, Jeremy, King, Todd, Roberts, D Aaron, Harris, Bernard, Candey, Robert, Lal, Nand, Boardsen, Scott, Lindholm, Chris, Lindholm, Doug, Baltzer, Thomas, Brown, Lawrence E., Grimes, Eric W., Cecconi, Baptiste, Génot, Vincent, Renard, Benjamin, Masson, Arnaud, and Martinez, Beatriz
- Subjects
APPLICATION program interfaces ,TIME series analysis ,HELIOCENTRIC model (Astronomy) ,SOLAR system ,INTERNETWORKING ,COMPUTERS in astronomy - Abstract
Heliophysics data analysis often involves combining diverse science measurements, many of them captured as time series. Although there are now only a few commonly used data file formats, the diversity in mechanisms for automated access to and aggregation of such data holdings can make analysis that requires intercomparison of data from multiple data providers difficult. The Heliophysics Application Programmer's Interface (HAPI) is a recently developed standard for accessing distributed time series data to increase interoperability. The HAPI specification is based on the common elements of existing data services, and it standardizes the two main parts of a data service: the request interface and the response data structures. The interface is based on the REpresentational State Transfer (REST) or RESTful architecture style, and the HAPI specification defines five required REST endpoints. Data are returned via a streaming format that hides file boundaries; the metadata is detailed enough for the content to be scientifically useful, e.g., plotted with appropriate axes layout, units, and labels. Multiple mature HAPI‐related open‐source projects offer server‐side implementation tools and client‐side libraries for reading HAPI data in multiple languages (IDL, Java, MATLAB, and Python). Multiple data providers in the US and Europe have added HAPI access alongside their existing interfaces. Based on this experience, data can be served via HAPI with little or no information loss compared to similar existing web interfaces. Finally, HAPI has been recommended as a COSPAR standard for time series data delivery. Plain Language Summary: The Heliophysics Application Programmer's Interface (HAPI) specification allows data providers to use a standard set of conventions for returning data in response to a URL‐based request. This specification was developed because no standard exists. Data providers use incompatible conventions so that automated access to and aggregation of data requires users to write custom code for each data provider. The benefit to the user is that software libraries for many common languages have been developed to read HAPI data; if a data provider serves data using the HAPI specification, the user does not need to write additional code to access the data. The starting point for using and learning more about HAPI is http://hapi-server.org/. Key Points: HAPI was developed because there are many nonstandard approaches to serving Heliophysics time series dataHAPI provides a standard specification that will simplify data accessSoftware libraries for downloading data from HAPI servers in many commonly used programming languages are available [ABSTRACT FROM AUTHOR]
- Published
- 2021
- Full Text
- View/download PDF