Frequently Asked Questions

Why is my connection to the online database failing? The SPECCHIO online database is accessible on db.specchio.ch via port 4406. 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.
Are my HR-1024 files supported? 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 admin@specchio.ch 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.
I've uploaded HR-1024 files. Why are the wavelengths wrong when I export the data? 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 admin@specchio.ch 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.
I've transformed radiances into reflectances and exported them to a CSV file. Why can't I read the file properly in Matlab? 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: read_csv_file (.m file)
My SPECCHIO database connections disappear after restarting the SPECCHIO Java Application / My SPECCHIO preferences are not permanent This is typically appearing on Windows machines. To test if you have this specific problem, open a CMD window, navigate to the SPECCHIO client directory, then start SPECCHIO from the command line:

java -jar specchio-client.jar



If you got a Windows registry problem, then a message similar to the following will appear:

Dez 06, 2018 1:59:04 PM java.util.prefs.WindowsPreferences WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

This means that your preferences and database connections cannot be stored in the preferences.
If you want to just have your usernames handled, then in the SPECCHIO client application:

1) select 'Database'->'Preferences' and in the SPECCHIO preferences tick the option 'Enable editing of db_config file'
2) select 'Database'->'Edit db_config file'

From then onwards, a physical file is used to store your database connections.

To enable the correct handling of all preferences, the Windows registry must be edited as follows:

1) Start the Windows Registry editor, found in C:\Windows\regedit.exe
2) Navigate to: Software\JavaSoft
3) Check if a Prefs folder exists under JavaSoft
4) If it does not exist, create it by selecting 'New'->'Key' from the context sensitive menu:




5) Check that the Application Packages got full access:




5) Restart the SPECCHIO client from the command line and check that the warning does no longer appear (should it still appear, make sure the new registry entry is named 'Prefs' and that the rights are set appropriately to ensure writing access).


Can't find your question here? Just ask: admin@specchio.ch