The SPECCHIO online database is accessible on sc22.geo.uzh.ch via port 443. If your firewall of your computer or institute blocks outgoing traffic to this server and port, then a connection will fail. Test the connection to the db.specchio.ch by using ping on the command line or terminal:
If the packets are lost, you probably got a firewall problem. Try to configure your firewall accordingly or talk to your system administrator.
A common problem on Windows machines is that an error appears when connecting to SPECCHIO.Sep 21, 2017 1:18:33 PM java.util.prefs.WindowsPreferences
This points towards a problem of accessing the specchio username and password, which is stored in the Windows preferences ... To avoid this issue do the following:
Select 'Preferences' from the SPECCHIO menu, then tick 'Enable editing of db_config_file'. Then click 'Edit db_config file' in the Database Menu: a text editor will show up with the connection string. Once this is done, then SPECCHIO will use the db_config file to get the connection details from. Note that you may have to sign up again to the database in case you have quit SPECCHIO after initially creating an account. The reason is that Java cannot write into the Windows preferences.
Java version 8, build 1.8.0_241-b07 is apparently causing problems with the certificate with the current client. If an error similar to this happens, please try to downgrade to build version 212.
The current client runs well with this version of Java:
openjdk version "1.8.0_212" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
25 JUL 2020: Update on this issue: the problem is caused by a new feature introduced in Java release 8 241. New Checks on Trust Anchor Certificates: Trust anchor certificates must include a Basic Constraints extension with the cA field set to true.
We hope to deliver a SPECCHIO version in the near future that can cope with this new security constraint.
Circumventing Solution: use this if you cannot downgrade your Java version.
Set your JVM to use this option: -Djdk.security.allowNonCaAnchor=true
Under UNIX, this can be done on the command line like so before starting the SPECCHIO client within the same shell:
java -jar specchio-client.jar
30 JUL 2020: Additional Hack if you already got an account and your Java version got updated:
https, sc22.geo.uzh.ch, 443, /specchio_service, user_name, password, jdbc/specchio_prod
http, sc22.geo.uzh.ch, 8080, /specchio_service, user_name, password, jdbc/specchio_prod
23 AUG: Please update your clients; the latest release includes the above java option included in the scripts to start SPECCHIO.
Your particular instrument is not registered in the SPECCHIO database. In the current version of SPECCHIO, default wavelengths values are selected if the instrument is not defined (i.e. no instrument specific wavelength calibrations are available). The reason why you cannot insert your own instruments is due to the database rights that keep SPECCHIO in its relational, non-redundant state. If you want your instrument added, send an email to with an HR-1024 example file attached; also specify when the instrument was calibrated. We will add your instrument definition to the database. This problem applied to V2 of SPECCHIO.
The output file can contain values like 'Infinity' and 'NaN', which is a problem in Matlab, as the e.g. csvread expects numeric input only. This can be solved by using an adapted reading routine for CSV files.
Currently, the following restriction applies: the spectrum must be acquired using the PDA software. Reason is that the laptop generated files have a different file format, involving capturing dates formatted to the settings of your laptop. If you think you need to read laptop generated files, drop an email to including a version of your output file and we'll see what we can do about a generic reader. Furthermore, the option to remove the overlap between detectors is configurable and can result in differing band combinations from the same instrument. This is currently not supported in SPECCHIO. If you have a useful use case for the overlap cutting option, please provide us with the information on how to get the new bands based on instrument configuration data contained in the spectral file.
This table lists all spectral file formats currently supported by the SPECCHIO file readers:
|Devices / Systems
|Analytical Spectral Devices
|ASD FieldSpecPro/FS3/FS4 spectroradiometers
|Old ASD file format - ASD FS3, ASD FS PRO and ASD FSVNIR binary files
|ASD Calibration files (*.ILL, *.REF, *.RAW) as stored on ASD laptops can also be loaded using SPECCHIO's Spectrum load functions. This permits advanced users to explore the information content of the Calibrations they describe.
|Analytical Spectral Devices
|ASD FS4 and ASD spectroradiometers upgraded to newer software versions. Indico Pro Software.
|New ASD file format - Indico Version 7 and higher
|Apogee text files with TRM file extension
|The SPECCHIO Apogee file loader was added to SPECCHIO on a user request. That is the only Apogee file example that has been available for testing. Therefore, this file reader has not been well tested. It is provided 'as is' and should be used with caution.
|Bruker FTIR text files with dpt extension
|Exelis Visual Information Systems
|ENVI Spectral Library
|ENVI Spectral library files (SLB and SLI)
|FGI proprietary HDF5 format
|ASD in combination with the FIGIFIGO goniometer
|HDF5 files and XML files
|Containing measurement data from FGI (Finish Geodetic Institute)
|XLS files only CSV and XLSX etc are not supported (CSV files may be erroneously read as Ocean Optics SpectraSuite Data Files)
|The first column of the Excel file must contain the Wavelength values in increasing order, with a heading in the first row. Each of the second and subsequent columns contains the data for a single Spectrum. The first row is the name of the Spectrum. Subsequent rows in the column contain the Spectrum values for the wavelengths specified in the first column.
|MFR Sun Photometer
|MFR Photometer OUT files, MFR 7
|These files contain the capture time, the sun zenith angle and the Spectral data for total, diffuse and direct irradiance. The sun angle and the direct irradiance data are discarded and only the total and diffuse Spectra are stored.
|Ocean Optics Spectra Suite
|Ocean Optics Spectra Suite text files
|The required file extension is .csv, although the files are not comma separated.
|Ocean Optics Ocean View Software
|Ocean Optics Ocean View text files
|The required file extension is .txt
|UniSpec Single Beam text files
|SPT file extension
|UniSpec Dual Beam text files
|SPU file extension
|Microtops Sun Photometer
|Microtops text output files (TXT file extension)
|When read, three sub-folders named AOT, Spectrum and Spectrum StdDev are created. The input file name is used as the name of the Spectrum's name in the generated sub-folders. Each spectrum is augmented with its spatial position, sun zenith angle, air pressure and estimated atmospheric water content.
|Spectra Vista Corporation
|GER 3700 signature text files (Files produced by other GER instruments are untested)
|Spectra Vista Corporation
|SVC HR-1024 files captured using a PDA
|Files acquired with a laptop are a different file format and are not recognised by the current file loading routine.
The acquisition time may be wrongly read as it appears that the date format depends on the settings of the computer used to operate the SVC.
|File without GPS data: HR.071710.0009.sig
File with GPS data: HR.080910.0010.sig
|Spectral Evolution Instruments
|Spectral Evolution text files
|sed file extension
|Spectral Sciences Inc. and U.S. Air Force Research Laboratory
|Modtran5 atmospheric radiative transfer model software
|Modtran Albedo files
|More information can be found on the Modtran web site
|IDL (Interactive Data Language) or ENVI text file output
|White space separated text files (as produced by IDL programs or ENVI when writing Spectral data to text files)
|Each file can hold one or more Spectra.
Values in each line are white space separated. Tabs are OK.
|USGS PRISM software
|USGS speclab web page
SPECPR file format specification