7 Web applications and API
You are reading the work-in-progress of the SoilSpec4GG manual. This chapter is currently draft version, a peer-review publication is pending.
7.1 OSSL Explorer
The OSSL Explorer is a web platform where the user can explore the OSSL database. Use it to subset and explore data based on geographical filters (Geography tab) or based on the range of soil properties (Soil properties tab). Once applied the selection, you can download the data by clicking on the bottom right option ‘Download now’. If you want to restart the filters, click ‘Clear selection’. For accessing the full database by other means (programmatically) or just download it as csv
or qs
format, please check the instructions on OSSL database access.
7.2 OSSL Engine
The OSSL Engine is a web platform where the user can upload spectra from the VisNIR (400-2500 nm), NIR (1350-2550 nm), or MIR (600-4000 cm-1) ranges and get predictions back with uncertainty estimation and representativeness flag. The modeling framework, cross-validation performance metrics, and further information can be checked over OSSL prediction models.
Please, check the example datasets for formatting your spectra to the minimum required level. You can provide either csv
files or directly asd
or opus (.0
) for VisNIR and MIR scans, respectively.
We recommend using the OSSL model type when getting predictions. KSSL is recommended when the spectra to be predicted have the same instrument manufacturer/model as the KSSL library and are represented by the range of soil properties of interest. Otherwise, use the OSSL library.
7.3 OSSL API
The OSSL API (Application Programming Interface) is also available and can be used to construct requests to fetch data, and models, and generate predictions. The outputs of predictions can be obtained as JSON or CSV files, making the system fully interoperable. The OSSL API is at the moment based on using the plumber package and is provided for testing purposes only. Users can make predictions with pre-trained models for 20 spectra per request, but these limits will be gradually extended.