Development of a Thermal Infrared Network for Volcanic and Environmental Monitoring: Hardware Design and Data Analysis Software Code
Fabio Sansivero, Giuseppe Vilardo, Ciro Buonocunto

TL;DR
This paper introduces an open-source thermal infrared monitoring system for volcanoes and environmental areas, offering hardware and software solutions for reliable and low-cost thermal monitoring.
Contribution
The paper presents a fully customizable, open-source thermal infrared monitoring network with hardware and software for automated data collection and analysis.
Findings
The system was validated in southern Italy's active volcanic areas, showing high reliability in detecting thermal anomalies.
ASIRA software successfully processes TIR imagery to extract surface temperature time series and estimate heat fluxes.
The system supports continuous monitoring and distinguishes between geophysical processes and environmental changes.
Abstract
Thermal infrared (TIR) ground observations are a well-established method for investigating surface temperature variations in thermally anomalous areas. However, commercially available technical solutions are currently limited, often offering proprietary products with minimal customization options for establishing a permanent TIR monitoring network. This work presents the comprehensive development of a thermal infrared monitoring network, detailing everything from the hardware schematics of the remote monitoring station (RMS) to the code for the final data processing software. The procedures implemented in the RMS for managing TIR sensor operations, acquiring environmental data, and transmitting data remotely are thoroughly discussed, along with the technical solutions adopted. The processing of TIR imagery is carried out using ASIRA (Automated System of InfraRed Analysis), a free…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12- —2000–2006 National Operating Program (NOP), by the SISTEMA project, which has been developed in the framework of the Campania Regional Operating Program (ROP) FESR 2007–2013
- —PRESERVE project, Campania Regional Operating Program (ROP)
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsUrban Heat Island Mitigation · Infrared Target Detection Methodologies · Calibration and Measurement Techniques
1. Introduction
Monitoring surface temperatures in diffuse degassing areas is crucial for understanding the dynamics of shallow magmatic systems and their interaction with hydrothermal systems in both open-vent and closed-conduit volcanoes [1,2,3,4,5,6,7,8,9]. Variations in surface temperatures reflect changes in the efficiency of magma or magmatic fluids transfer from the shallow magmatic system to the surface and can provide critical insights into the volcano’s state. Several studies have identified thermal precursor signals associated with significant changes in activity at open-vent volcanoes [10,11,12,13,14,15,16,17,18,19,20] and have also reported notable thermal variations in closed-conduit volcanic systems [21,22,23,24,25]. Based on these findings, the development of a permanent thermal infrared (TIR) imaging network for monitoring diffuse degassing areas would represent a significant advancement in detecting changes in volcanic behavior through multi-parameter surveillance [26,27,28,29,30].
Thermal infrared ground observations are also widely applied in monitoring slope instability [31,32,33,34,35], detecting environmental pollution [36,37,38,39], and investigating other thermally driven phenomena.
However, the continuous and reliable acquisition of high-quality TIR data in remote or hazardous environments remains technically challenging due to limitations related to logistics, power supply, and data transmission constraints. Furthermore, comprehensive software solutions for automated TIR image processing are currently available only using commercial software [28]. To address these limitations, this work presents the complete development of a thermal infrared (TIR) monitoring network. The system is centered around a Raspberry Pi-based remote monitoring station (RMS) and integrates modular and flexible hardware with custom-developed open-source operational software, enabling long-term, real-time, or scheduled acquisition in harsh and remote environments. Data processing is handled by the open-source ASIRA software package, recently restructured and ported from MATLAB to the GNU Octave platform. This transition from proprietary to open-source tools promotes transparency, reproducibility, and broader accessibility for the scientific community.
This paper details the system architecture, software implementation, and performance validation, with a focus on applications in volcanic and geothermal monitoring. It covers all aspects of system development, from the design of the RMS—which captures TIR images and uploads them to a central server—to the data analysis software (ASIRA), which extracts temperatures and heat flux time series from raw TIR data. A comprehensive description of both the hardware components and the software control modules (ICARO) of the RMS is provided, along with a configuration guide for full system deployment. Although this work focuses on the FLIR SC655 thermal infrared camera, the RMS is designed to be compatible with other TIR image sensors by modifying the connection strings within the software modules.
The functionalities of the ASIRA software are also described in a detailed user manual. ASIRA processes raw TIR imagery to create deseasoned temperature time series and estimates of radiative heat flux for the areas under investigation.
Finally, as a practical example of the acquisition and processing workflow, we present plots obtained by applying ASIRA to a twenty-year dataset of thermal infrared images acquired at the Solfatara volcanic vent (Pozzuoli, Italy).
The objective of this work is to provide a scalable, replicable, and open-source solution to support multidisciplinary efforts in TIR monitoring within geophysical and environmental research fields.
2. Materials and Methods
2.1. Overview of the Thermal Infrared Network
The primary objective of the thermal infrared network is to investigate temperature changes, radiative heat flux, and their spatial distributions in areas affected by thermal anomalies through the acquisition and processing of TIR images of these areas. These images are systematically acquired by a TIR sensor, stored locally in the RMS, transferred to a central monitoring server, and subsequently processed by the ASIRA analysis software. Each node of the TIR network consists of one RMS, one or two TIR sensors enclosed in a stainless steel housing, and a power supply system (solar panel and battery). The RMS software module is highly flexible, allowing users to configure acquisition schedules, pre-acquisition sensor settings, data transmission methods and timing, and other parameters based on monitoring requirements.
Table 1 outlines the main customizable settings of both the TIR RMS and the ASIRA processing software, which can be adjusted by the user to meet the operational needs.
The TIR sensor used in this work is the FLIR SC655 camera with a focal plane array (FPA) uncooled microbolometer detector. It has a resolution of 640 × 480 pixels, a spectral range of 7.5–13 µm, an accuracy of ±2 °C, and a thermal sensitivity of <0.03 °C.
2.2. The Remote Monitoring Station (RMS)
The RMS (Figure 1) is composed of several components: 1. processing unit (RaspPi), 2. power distribution modules (PDM A and B), 3. LAN switch, 4. surge protection module, 5. Solar Charge Controller (SCC), 6. air temperature and humidity probe (T-Hprobe). These components are mounted over a steel grid (Figure 1, label 11) housed inside a polyester case reinforced with fiberglass. The enclosure has an IP66 protection rating, ensuring resistance to atmospheric agents.
The RMS offers the following functionalities:
- Acquisition of TIR images, stored in the processing unit’s memory.
- Acquisition of air temperature and humidity values a few seconds before each TIR image is taken, as well as on an hourly basis; these data are also stored in memory.
- Connection to a server for data upload.
- On-demand acquisition of TIR images and air temperature and humidity values.
- Remote connectivity by LTE/UMTS router or Wi-Fi.
Basically, at scheduled times defined in custom settings, the ICARO software control module activates the TIR camera, LTE/UMTS or Wi-Fi connection, and the air temperature/humidity probe to perform the requested tasks. Once the tasks are completed, ICARO powers down the unused components to save battery energy.
2.2.1. The Processing Unit
The hardware used as the processing unit (Figure 1, label 1) is a Raspberry PI 3 model B (RasPi), featuring a 64-bit quad-core 1.2GHz Broadcom BCM2837 CPU, 1GB RAM, wireless LAN and 100 Base Ethernet, Bluetooth, HDMI® output, four USB ports and 40-pin extended GPIO. The RasPi requires a 5V power supply, which is provided by PDM A mounted over the Raspberry Pi board (Figure 1, label 2). Both the CPU and main chipset are cooled by a passive aluminum heatsink case. The operating system (Raspberry Pi OS) is installed on a 16GB micro-SD card, which also stores the Python-based ICARO (Infrared Camera Automation for Remote Observations) control software. The onboard RasPi GPIO interface (General Purpose Input/Output) is used for communication with the air temperature and humidity probe (T-Hprobe, Figure 1, label 6) and the power distribution modules (PDMs, Figure 1, label 2). The RasPi must be properly configured to (a) connect to a user-defined network by setting WiFi or LAN parameters; (b) allow remote access by SSH and VNC; (c) host web pages using a web server with PHP support; (d) execute Python code by installing Python 3.x and additional required libraries; (e) enable GPIO communication with the other hardware components. During the initial setup, it may be useful to access the Raspberry Pi OS desktop environment via an external HDMI monitor, along with a USB mouse and keyboard.
A detailed guide to the configuration of RasPi is available in Appendix A.
The ICARO Python code is structured to perform primary and secondary tasks at scheduled times, as illustrated in the flowchart in Figure 2.
The RMS configuration can be easily set by using updateCFG, a small MS Windows application developed in .Net, which helps to change all the parameters stored in the ICARO configuration file (Figure 3).
ICARO also includes a basic web server with PHP functionality. If RMS is connected to a network, users can access the station’s web interface (Figure 4) to control real-time TIR image acquisition and air temperature/humidity monitoring, and to upload this data to the server. RMS’s web interface also provides information on system voltage and current consumption monitored by the INA219 module.
Both the ICARO Python code (Icaro.zip), RMS’s web interface files (RMSweb_page.zip), and the .Net updateCFG application (updateCFG.zip) are available in the Supplementary Material. Comprehensive user guides to the ICARO and updateCFG software are available in Appendix B.
2.2.2. The Power Distribution Modules (PDMs)
PDMs serve as interfaces between the RasPi and the other system components and peripherals. PDM A (Figure 1, label 2a; Figure 5a) is the main board, which hosts RasPi, the 4-relay module, and connectors to RMS’s devices. PDM B (Figure 1, label 2b; Figure 5b) is mounted over the RasPi’s passive heat sink and is connected to RasPi’s GPIO (connector f, Figure 5b) and to the main 12 V power supply. Figure 5a,b show simplified, non-technical diagrams of PDM A and B circuit layouts, while Figure 5c provides brief descriptions of the connector pin assignments. PDM B includes the following components: 1. A DC-DC converter which steps down 12V to 5V (Figure 1, label 7); 2. An INA219 module, which monitors system voltage and current consumption (Figure 1, label 8); 3. An RT402012 relay (Figure 1, label 9), which manages power polarity inversion for opening and closing the shutter mechanism that protects the TIR camera’s Germanium lens within its stainless-steel housing.
The main connector a (Figure 5b,c) links up PDM B to PDM A, supplying 12 V and 5 V currents and connections to RasPi’s GPIO. The 12 V current is for TIR camera, LTE/UMTS router, LAN switch, and shutter mechanism; the 5 V current supplies RasPi, 5-relays module, and T-Hprobe. The INA219 module (placed on PDM B, Figure 5b) is powered by the 3 V current of RasPi’s GPIO.
RMS needs a 12 V power supply provided by a battery-solar panel system, connected to the SCC (Figure 1, label 5), or by an external AC-DC converter if a power line is available. The 12 V power supply is connected to PDM B and converted by the DC-DC converter (Figure 5b) into a 5 V current, which is required by the RasPi, the 4-relay module, and the T-Hprobe (Figure 5a). The main connector a (Figure 5b,c) transfers 12 V and 5 V currents to PDM B and connects RasPi’s GPIO and RT402012 relay outputs to the 4-relay module, mounted on PDM A. The 4-relay module powers on/off the TIR camera, T-Hprobe, LTE/UMTS router, and Germanium Lens’ shutter, depending on the ICARO software scheduled commands.
2.2.3. The Surge Protection Module (SPM)
RasPi, TIR camera, and LTE/UMTS router are linked by RJ45 LAN cables which are connected to LAN switch (Figure 1, label 3). The surge protection module (SPM; Figure 1, label 4) protects RMS hardware from damage due to lightening through the external LAN cable connected to TIR camera and the external power cable connected to battery and solar panel. The LAN surge arrester should be Class E, fully shielded, Type 2/P1, tested in accordance with CEI EN 61643-21, for universal use according to EN 50173 standards, suitable for all data services up to 57 V DC, and for the protection of 4 wire pairs in data network lines via RJ45 connectors. Nominal discharge current C2 (8/20 µs) total: 10 kA. The 12 V power surge arrester must be based on varistors matched to the RMS voltage; the varistors must be equipped with thermal disconnect devices for end-of-life monitoring. It must be DIN rail compatible and connected in parallel to the line to be protected. Imax: 2 kA. Compliance with IEC 61643-11, EN 61643-11, and UL1449 ed.4.
2.2.4. Air Temperature and Humidity Probe (T-Hprobe)
The T-Hprobe (Figure 1, label 6) we used in this work is a capacitive digital temperature and humidity sensor, model AM2315, with a standard I2C digital bus on the SDA pin, to be connected to the GPIO of the RasPi. Sensor air temperature resolution: 0.1 °C—air humidity resolution: 0.1%RH. Sensor accuracy: temperature: ±0.1 °C—humidity: ±2 %RH. The sensor is placed in a protective enclosure for outdoor use, resistant to weather conditions and harsh environments. The T-Hprobe is connected to RasPi via the GPIO pins SDA (yellow cable-pin3) and SCL (white cable-pin5) and is powered by 5 V current from relay n.4 of the 4-relay module located on PDMA (Figure 5a). The air temperature and humidity values, together with detector-target distance and emissivity, were sent to the FLIR camera to apply the internal proprietary FLIR atmospheric correction algorithm before TIR frame acquisition.
2.3. The Data Processing Software ASIRA
In previous works [25,28], the TIR data-processing automated MATLAB software ASIRA (Automated System of InfraRed Analysis) was described in detail. It was developed by the TIRLab of INGV-Osservatorio Vesuviano and is currently used to monitor surface temperature changes in diffuse degassing volcanic areas as requested by the agreement between the National Civil Protection and INGV.
In this work, a reviewed version of ASIRA, developed for GNU Octave free scientific programming language, is presented, and its code is available under the Creative Commons Attribution 4.0 International License as Supplementary Material (ASIRA.zip). The availability of ASIRA code in the GNU Octave free language (www.octave.org) can allow anyone to use this data processing software independently of the ownership of the expensive commercial software.
A flowchart of the functionalities of this modular program, developed with a user-friendly graphical interface, is illustrated in Figure 6. In Figure 7, a screenshot of the ASIRA graphic interface is shown. The technical user manual of ASIRA is available as Supplementary Material.
The ASIRA processing workflow consists of the following main steps: (1) quality assessment and exclusion of low-quality TIR frames and archiving of TIR input data, provided as .txt or .csv matrix, in .mat format files, split in years; (2) co-registration of all frames with respect to a reference frame to correct possible pixel misalignments; (3) extraction of continuous time series of apparent temperatures (both maximum and average values) from user selected areas (ROIs) within the TIR frames; (4) removal of seasonal components from the temperature time series via background removal or statistical decomposition methodologies; and (5) evaluation of radiative heat fluxes and area variations in thermal anomaly.
2.3.1. Quality Assessment of TIR Frames
The exclusion of low-quality TIR frames is a necessary step before starting to process data. Heavy rainfall, fog, or water vapor from diffuse degassing areas may sometimes heavily degrade TIR frame quality. To filter out these low-quality data, only IR scenes meeting the following condition were selected [28]:
where σF_i_ is the standard deviation (SD) of the i-th TIR frame, mσ is the median of the SD values across all TIR frame time series, σF_σ_ is the standard deviation of all the frame SDs, and c is a user-defined coefficient based on the statistical distribution of the data. A value of c = 1 was found to be appropriate for obtaining a homogeneous dataset, which excludes frames of very low quality.
2.3.2. Co-Registration of TIR Frames
The co-registration of TIR frames is essential if the TIR sensor is affected by small displacements, which can be caused by continuous ground movements, typical of active volcanic areas, or by instability of the RMS site. Co-registration is performed through the Efficient subpixel image registration algorithm code [40], which ensures pixel-to-pixel matching between frames across the entire time series. This code gives the same precision as the fast Fourier transform (FFT) upsampled cross correlation in a small fraction of the computation time and with reduced memory requirements. It obtains an initial estimate of the cross-correlation peak by an FFT and then refines the shift estimation by upsampling the discrete Fourier transforms (DFTs) only in a small neighborhood of that estimate by means of a matrix-multiply DFT [38].
2.3.3. Seasonal Component Removal
One of ASIRA’s outputs is a time series of maximum surface temperatures corrected for seasonal variability, achieved through the application of two different methodologies depending on the length of the TIR time series. Removing the seasonal component is a critical step, as it isolates endogenous thermal anomalies from external exogenous effects. If the TIR time series length is less than two years, only the Background Removal Procedure (BKRp) can be applied. If the time series length is higher than two years, the STL (Seasonal and Trend decomposition using Loess) algorithm [41] can also be applied.
The Background Removal Procedure
The BKRp involves the removal of the background temperature values from the raw TIR frame time series. Background temperatures are extracted from a specific area (background area, BKG) within the IR scene that was not influenced by any thermal anomalies. The BKRp procedure is based on the observed linear relationship between the mean (or maximum) temperature of BKG (TaverBKG) and the mean (or maximum) temperature of the entire IR scene (TaverSc), as illustrated in Figure 7 (TaverSc vs. TaverBKG plot). If BKG is correctly chosen, the linear correlation is very good and enables the application of the following Equation [28]:
where dT(n) represents the residual deseasoned temperature value at the n-th TIR scene, T_aver_Sc(n) is the average temperature of the n-th IR scene, and T_fit_(n) is the corresponding fitted temperature value. T_fit_(n) is obtained through the linear regression model (Figure 8) established between the average background temperature T_aver_BKG(n) and the average scene temperature T_aver_Sc(n).
The wise selection of BKG is critical for ensuring the effectiveness of the procedure. The BKG must be located outside regions influenced by thermal anomalies, exhibit similar lithological characteristics to the anomaly area, and be free from vegetation and anthropogenic features. An efficient method to assess the quality of the selected BKG was to perform a linear regression analysis on the time series of average background temperatures.
Plots of both the raw temperature time series and the deseasoned residual temperature time series generated by applying the BKRp methodology are reported in Figure 9. In this figure, the BKRp-deseasoned temperatures plot (Figure 9b) better evidences the thermal anomaly, which is partially hidden by the seasonal component (Figure 9a).
The STL (Seasonal and Trend Decomposition Using Loess) Procedures
If the TIR time series length is higher than two years, the STL algorithm [41] can be applied, and two distinct STL-based procedures are executed by ASIRA as described in [28].
The first procedure (STLp1, [25]) applies the STL algorithm to time series of raw maximum (or average) temperature values extracted from user-defined Regions of Interest (ROIs) within TIR frames. Time series of temperature raw data is then factored into three components as follows:
where TrendTS is the smoothed general trend, SeasonTS captures the periodic variations linked to exogenous factors, and RemainTS contains the residuals. By combining the TrendTS and RemainTS components, a deseasoned maximum temperature time series (TmaxSTLTS) is obtained (Figure 9c).
The second procedure (STLp2, [28]) involves the removal of seasonality from the entire TIR frames. STL decomposition is applied to average (or maximum) temperature time series from a background area (BKGTS), yielding three different time series: BKGTrendTS, BKGSeasonTS, and BKG RemainTS, as previously discussed. The values of BKGSeasonTS are subtracted from the temperature time series of all the pixels of the TIR frames, generating new TIR frames whose seasonal component is removed. This procedure is necessary as it enables the extraction of radiative heat fluxes from user-defined ROIs characterized by thermal anomalies inside deseasoned TIR frames whose temperatures are exclusively linked to endogenous processes.
2.3.4. Radiative Heat Flux Estimation
If TIR time series are almost two years long, it is possible to estimate the thermal energy radiated per unit area and per unit time (radiative heat flux) by processing the deseasoned TIR matrices created with the STLp2 procedure. Time series of radiative heat flux (HFluxTS) are determined by applying the Stefan–Boltzmann law to the selected pixels within the user-defined ROIs of areas characterized by thermal anomaly within the TIR frames. ROIs are typically thermally heterogeneous, containing both high-temperature sources and lower-temperature backgrounds, which leads to underestimate the radiative heat flux value. To address this, the pixel selection of ROI is based on a threshold criterion where only high-emittance pixels with temperatures exceeding two standard deviations above the mean of the TIR image are considered.
Once the pixel selection within the ROI has been made, it is possible to proceed with the estimation of the ROI’s radiative heat flux (HFluxROI, W/m^2^) by using the Stefan–Boltzmann equation:
where σ is the Stefan–Boltzmann constant, ɛ is the emissivity (for pyroclastic rocks = 0.9), A is the investigated area surface (m^2^), Tmax_ROIi_ is the maximum temperature of the ROI within the i-th TIR scene, and n is the length of the TIR time series.
2.3.5. Area Variations in Thermal Anomaly
To monitor variations in the spatial extent of thermally anomalous areas, time series of the number of ROI pixels, whose temperatures exceed the threshold criterion used for radiative heat flux estimation, are generated. Temporal trends in the high-emittance pixel count provide additional quantitative information on the spatial dynamics of the surface thermal field, offering a complementary perspective to the analysis of temperature and heat flux variations.
2.3.6. Output Files
Almost all the processed data are saved in binary format (MATLAB-compatible .mat files) during the different phases of the analysis performed by GNU Octave. Raw, co-registered, and STL-deseasoned time series of TIR matrices are saved along with extracted temperatures and heat flux values in .mat files split per year. The temperature values resulting from the TIR frame analysis are also saved in an Excel file after subdividing them into different sheets. The availability of temperature data in an Excel file ensures seamless integration with third-party visualization and analysis tools that query Excel datasheets. Co-registered TIR matrices are also exported in CSV format in a user-defined folder.
Technical details on the specifications used to save the processed data are available in the ASIRA user manual as Supplementary Material.
2.3.7. HTML Interactive Plots
As the final output of the processing workflow, several HTML plots can be generated on demand. ASIRA users can set the start and end times of the plot and the plot type: BKGp- or STL-deseasoned temperatures, heat flux, and area variation values (Figure 10). HTML plots can be viewed with any Internet Browser and are made with the jqPlot libraries, a jQuery plugin to generate pure client-side JavaScript charts in web pages (www.jqplot.com; Copyright 2009–2013 Chris Leonello). jqPlot libraries are available for use in all personal or commercial projects under both the MIT and GPL version 2.0 licenses.
3. Testing of RMS and Data Processing Software
3.1. Field Testing of RMS Hardware and Software
Prototypes of the proposed hardware and software components of RMS have been extensively field-tested over several years in diffuse degassing areas at Campi Flegrei and Vesuvio volcanoes (Italy). The current version of RMS, described in this work, incorporates substantial enhancements in both performance and functionality, suggested by field experience that revealed several limitations in the original prototype. These insights guided key modifications to both hardware and software subsystems.
One of the most critical parameters identified during testing was the reliability of the RMS power supply, particularly when operating with a solar panel and battery.
Unexpected system shutdowns due to power system inefficiencies were addressed and resolved by integrating an INA219 module (Figure 1, label 8 and Figure 5b), which enables real-time monitoring. The ICARO software module can send automated email alerts if the voltage drops below a predefined threshold. Additionally, the INA219 module detects abnormal power consumption patterns associated with hardware degradation—such as faulty wiring or electronic components—allowing preventive maintenance before system failure occurs.
Energy consumption was further optimized through improved hardware connections (see the electrical diagrams in Figure 5) and the implementation of power management procedures for peripheral devices (e.g., TIR camera, LTE/UMTS router, and T-Hprobe) when not in use. New code developed within the ICARO software module manages the 4-relay module, enabling the selective powering on/off of RMS components. This approach minimizes unnecessary energy usage while maintaining operational readiness. Table 2 summarizes power consumption measurements for the RMS during typical tasks.
As shown in Table 2, the TIR camera represents the most power-demanding component. Continuous or high-frequency image acquisition is feasible only when the RMS is connected to the main power grid. Under solar-powered operation, two options exist: reduce acquisition frequency or replace the TIR camera with a less advanced, lower-power model. For example, the FLIR VUE Pro R 640 TIR camera was evaluated as a viable low-power alternative. This compact camera, commonly used in UAV applications, operates at an input voltage between 4.8 and 6.0 V and has a tested power consumption of approximately 2 W—lower than that of the FLIR SC655 camera, which consumes over 2.8 W. However, the VUE Pro R offers lower performance in terms of accuracy and thermal sensitivity compared to the SC655. To avoid compromising data quality, a "mixed configuration" was tested. In this setup, the VUE Pro camera was used for continuous acquisition, while the SC655 camera captured a limited number of TIR frames during nighttime. This approach generated two distinct TIR time series, which were processed separately, providing both a high-quality and a continuous dataset.
The preliminary results from this short test were promising and suggested that the mixed configuration could be a feasible solution for managing high-frequency image acquisition when solar panels are used as the power source.
3.2. Testing of ASIRA for Octave Data Processing Software
The ASIRA software presented in this study is a revised and optimized version of the MATLAB-based ASIRA code originally described in [28], now adapted for the open-source scientific programming language GNU Octave. Rather than a simple language translation, this new version includes substantial improvements in computational structure, code optimization, and graphical user interface (GUI), along with new functionalities currently in use for volcanic monitoring by INGV–Osservatorio Vesuviano.
To evaluate both computational performance and output reliability, a ten-year TIR time series acquired by an RMS monitoring the Solfatara volcano (Campi Flegrei, Italy) was processed using ASIRA for Octave. Figure 11 displays the principal output plots from TIR data processing using ASIRA.
The STLp1-deseasonalized time series (Figure 11c) reveals significant thermal fluctuations associated with diffuse degassing and shallow reactivation processes. Radiative heat fluxes (Figure 11d) allow for the quantification of thermal energy release over time within the user-defined ROI. The use of statistical thresholds (exceeding two standard deviations above the scene mean) enabled the sensitive detection of high-emissivity pixels, thereby enhancing the reliability of thermal anomaly assessment. Additionally, tracking changes in the number of above-threshold pixels within each ROI over time (Figure 11e) allows for evidence of spatial variations in anomaly extent.
The same dataset used to generate Figure 11’s plots was also processed using the original MATLAB version of ASIRA for comparison. Plots Figure 12a,b compare the results obtained with the Octave and MATLAB versions, respectively. Slight differences are observable between the two outputs (blue line for Octave and red line for MATLAB). Figure 12c presents histograms of the differences between the outputs, along with calculated Mean Difference (MD) and Root Mean Square Error (RMSE) values for both the raw maximum temperatures and STLp1-deseasonalized temperatures.
The results of this comparison test also showed that ASIRA for Octave performs slightly slower than its MATLAB counterpart, requiring approximately 1.2 times longer to complete the analysis. This discrepancy is primarily attributed to differences in the efficiency of underlying software libraries, as GNU Octave is generally less optimized than MATLAB. Furthermore, some algorithms—such as image co-registration—differ in implementation between the two platforms, which may further influence execution time, penalizing GNU Octave.
The differences in temperature trends from GNU Octave and MATLAB output data, which can be observed in Figure 12a,b plots, can be attributed to several factors, including differences in co-registration algorithms, in background area selection, and in scripting or library behavior between Octave and MATLAB. Nonetheless, these discrepancies fall within the expected uncertainty associated with TIR data acquisition and are not considered significant in a monitoring context.
4. Discussion
The system’s effectiveness has been validated in active volcanic areas of southern Italy, demonstrating high reliability in detecting anomalous thermal behavior and distinguishing endogenous geophysical processes from exogenous signals.
Thanks to its modular architecture, low cost, and open-source software, the hardware configuration is specifically designed for a permanent TIR network. It represents a scalable and replicable solution for environmental monitoring in high-risk scenarios, contributing to both hazard mitigation and geophysical/environmental research.
The technical solutions adopted to optimize costs and performance have proved to be robust and reliable in the field. The main limitation of the system lies in its power supply system, which, in remote installations, necessarily depends on solar energy. Therefore, the solar panel and battery setup must be expertly designed to meet the specific power demands of the remote station, which may vary significantly depending on multiple factors.
The proposed system for acquiring TIR images is subject to various sources of uncertainty and error. While some of these have been addressed and resolved, others are intrinsic to the system and must be considered when interpreting the final processed data.
Table 3 lists the main sources of uncertainty and error, along with the corresponding mitigation solutions.
Regarding the ASIRA software package for Octave, Table 4 presents a comparison with the functionalities available in the MATLAB version of ASIRA. As shown, the Octave version includes more functionalities than the MATLAB version. However, MATLAB libraries are generally faster, and its co-registration toolbox (which uses the ECC image alignment algorithm [42]) offers better accuracy due to the implementation of a ‘warping functionality’ not available in the Octave counterpart (Efficient Subpixel Image Registration Algorithms, [40]).
As also indicated in Table 4, automation features have not been implemented in ASIRA for Octave, as these can vary greatly depending on the intended use of the system. Implementing all possible usage scenarios would have been overly complex. Users can, however, add custom automation scripts tailored to their specific needs.
The entire system is under continuous development, with new technical implementations and data processing solutions being refined. Some of the ongoing and future improvements include the following:
- Integration of machine learning techniques for the enhanced detection of subtle thermal anomalies.
- Fusion of TIR data with seismic, geochemical, ground deformation (GPS), and infrasound measurements to create multi-parameter, real-time volcanic monitoring frameworks.
- Development of automated data processing methods for the detection of changes in thermal anomalies.
- Implementation of real-time alert systems using AI and image recognition technologies.
- Enhancement of wireless communication (e.g., via satellite or 5G) to enable fast, real-time remote data transfer from inaccessible areas.
- Improvement of power systems through more efficient solar panels and advanced battery management components.
- Enabling robotic repositioning or sensor adjustment for optimized TIR data acquisition.
- Refinement of the modular design of RMS to allow rapid deployment, expansion, or relocation in response to evolving monitoring needs.
- Development of lightweight, portable RMS units for temporary field campaigns or mobile surveys.
5. Conclusions
The development and implementation of a comprehensive, modular system for the remote acquisition and analysis of thermal infrared (TIR) images, as described in this work, represent a significant opportunity to study surface temperature anomalies across a range of environmental and geophysical contexts. The remote monitoring station (RMS), centered on a Raspberry Pi-based architecture, exhibits a robust, low-power, and flexible design capable of acquiring high-resolution TIR images and correcting them using atmospheric parameters (air temperature and humidity) in remote and harsh environments.
The integration of custom Python software (ICARO) and modular hardware components ensures operational efficiency, ease of maintenance, and adaptability to varying monitoring requirements. For TIR data analysis, the new open-source version of the ASIRA software—now developed for the free GNU Octave platform—is proposed as an accessible and customisable alternative to the previous MATLAB counterpart. The restructured ASIRA includes a comprehensive suite of functionalities: data quality control, frames co-registration, seasonal component removal, radiative heat flux estimation, analysis of thermal anomaly area variations, and output generation in the form of HTML interactive plots. This transition from proprietary (MATLAB) to open-source (GNU OCTAVE) software enhances accessibility and reproducibility for a wider scientific community.
The dual approach implemented for deseasoning temperature time series—based on both background removal and Seasonal–Trend decomposition using Loess (STL)—enables the reliable analysis of both short and long time series. This ensures the effective separation of endogenous thermal signals from seasonal exogenous components, which is particularly critical in volcanic and geothermal monitoring, where accurate detection of subsurface thermal activity helps in hazard assessments. Moreover, the methods introduced for the spatial and temporal tracking of thermal anomalies and heat fluxes also provide valuable tools for understanding the dynamics of surface thermal processes.
A detailed RMS configuration guide (Appendix A), along with a comprehensive ASIRA user manual provided as Supplementary Material, enables us to understand the system architecture in depth and effectively manage both hardware and software components.
Thanks to its modular design and low power consumption, the system is well suited for deployment in remote or extreme environments, supporting long-term autonomous monitoring. It can be customized in acquisition times, threshold-based anomaly alerts, and integration with remote data transmission protocols, making it especially suitable for data-scarce or logistically challenging areas.
Potential fields of application of the system include the following:
- Geothermal energy: Monitoring and assessment of geothermal fields through the mapping of thermal anomalies indicative of subsurface fluid dynamics or reservoir changes.
- Landslide and rockfall hazard assessment: Detection of subtle thermal variations potentially associated with moisture changes or incipient mass movement in unstable slopes.
- Permafrost and glacier studies: Observation of thermal dynamics in periglacial environments to assess thawing trends or detect basal ice melt.
- Infrastructure and pipeline monitoring: Detection of thermal leaks or abnormal heat signatures along pipelines and industrial infrastructure.
- Agricultural and forestry management: Evaluation of plant water stress, canopy temperature variability, or early detection of wildfires in unmanaged forested regions.
Overall, the system demonstrates considerable potential for long-term deployment in multi-disciplinary environmental monitoring frameworks. Future improvements may focus on integrating additional sensor types, refining automated anomaly detection algorithms, and expanding data visualization capabilities to further enhance early warning capacities and scientific insight.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Stevenson J.A. Varley N. Fumarole monitoring with a handheld infrared camera: Volcan de Colima, Mexico, 2006–2007 J. Volcanol. Geotherm. Res.200817791192410.1016/j.jvolgeores.2008.07.003 · doi ↗
- 2Spampinato L. Calvari S. Oppenheimer C. Boschi E. Volcano surveillance using infrared cameras Earth Sci. Rev.2011106639110.1016/j.earscirev.2011.01.003 · doi ↗
- 3Lewis A. Hilley G.E. Lewicki J.L. Integrated thermal infrared imaging and structure-from-motion photogrammetry to map apparent temperature and radiant hydrothermal heat flux at Mammoth Mountain, CA, USAJ. Volcanol. Geotherm. Res.2015303162410.1016/j.jvolgeores.2015.07.025 · doi ↗
- 4Platt U. Bobrowski N. Butz A. Ground-Based Remote Sensing and Imaging of Volcanic Gases and Quantitative Determination of Multi-Species Emission Fluxes Geosciences 201884410.3390/geosciences 8020044 · doi ↗
- 5Harris A. Thermal Remote Sensing of Active Volcanoes: A User’s Manual Cambridge University Press Cambridge, UK 2013052185945 X
- 6Chiodini G. Caliro S. Avino R. Bini G. Giudicepietro F. De Cesare W. Ricciolino P. Aiuppa A. Cardellini C. Petrillo Z. Hydrothermal pressure-temperature control on CO 2 emissions and seismicity at Campi Flegrei (Italy)J. Volcanol. Geotherm. Res.202141410724510.1016/j.jvolgeores.2021.107245 · doi ↗
- 7Tamburello G. Chiodini G. Ciotoli G. Procesi M. Rouwet D. Sandri L. Carbonara N. Masciantonio C. Global thermal spring distribution and relationship to endogenous and exogenous factors Nat. Commun.202213637810.1038/s 41467-022-34115-w 36289217 PMC 9606316 · doi ↗ · pubmed ↗
- 8Ulusoy I. Diker C. Şen E. Çubukçu H.E. GümüşE. Multisource and temporal thermal infrared remote sensing of Hasandağ Stratovolcano (Central Anatolia, Turkey)J. Volcanol. Geotherm. Res.202242810757910.1016/j.jvolgeores.2022.107579 · doi ↗
