VIIRS 375m Active Fire Science Processing Algorithm (VFIRE375 - SPA) User's Guide
VIIRS 375m Active Fire Science Processing Algorithm (VFIRE375 - SPA) User's Guide
VIIRS 375m Active Fire Science Processing Algorithm (VFIRE375 - SPA) User's Guide
Science Processing
Algorithm (VFIRE375_SPA)
User's Guide
Version 2.5.1
May 2017
Users must agree to all terms and conditions in the Software Usage Agreement on the DRL
Web Portal before downloading this software.
Software and documentation published on the DRL Web Portal may occasionally be updated
or modified. The most current versions of DRL software are available at the DRL Web Portal:
http://directreadout.sci.gsfc.nasa.gov/?id=software
Questions relating to the contents or status of this software and its documentation should be
addressed to the DRL via the Contact DRL mechanism at the DRL Web Portal:
http://directreadout.sci.gsfc.nasa.gov/?id=dspContent&cid=66
A Science Processing Algorithm (SPA) is defined as a wrapper and its contained algorithm.
SPAs will function in a standalone, cross-platform environment to serve the needs of the broad
Direct Readout community. Detailed information about SPAs and other DRL technologies is
available at the DRL Web Portal.
Software Description
This software package contains the Visible Infrared Imaging Radiometer Suite (VIIRS) 375m
Active Fire Science Processing Algorithm (VFIRE375_SPA). This algorithm primarily uses
brightness temperatures derived from bands I04 and I05 to detect fires. The algorithm takes
as input VIIRS 375m Science Data Record (SDR) files, along with the associated terrain-
corrected geolocation file, and identifies active fires. Additionally, the algorithm also takes as
input VIIRS M13 and IVCDB SDR files, along with the associated terrain-corrected
geolocation file, for land/water mask purposes and in order to process nighttime data located
over the South Atlantic Anomaly. The outputs are a two-dimensional fire mask in Hierarchical
Data Format (HDF) and a fire location text file. The SPA functions in two modes: standalone,
or as an IPOPP plug-in.
This software will execute on a 64-bit computer and has been tested on computers with 32GB
of RAM, with the following operating systems:
a) Fedora 24 X86_64;
b) CentOS Linux 7 X86_64;
c) OpenSUSE Linux 13.2 X86_64;
d) Kubuntu 14.04 X86_64.
Copyright 1999-2007, United States Government as represented by the Administrator for the
National Aeronautics and Space Administration. All Rights Reserved.
Credits
The VFIRE375 SPA was developed by the NASA Land Science Team in collaboration with
the DRL at NASA/GSFC. The software conforms with the International Land Direct Readout
Coordinating Committee (ILDRCC) data requirements.
Prerequisites
To run this package, you must have the Java Development Kit (JDK) or Java Runtime
Engine (JRE) (Java 1.6.0_25 or higher) installed on your computer, and have the Java
installation bin/ subdirectory in your PATH environment variable. This package contains 64-
bit binaries statically pre-compiled on an x86-compatible 64-bit computer running under
CentOS 7, using gcc 4.5.1.
The Fire Location 375m text file is output when fire detections are present in the VFIRE375
HDF output. This text file contains information about each fire pixel detected by the SPA. Each
line represents one fire pixel and has the following seven columns, separated by commas, for
example:
The table below describes each column in detail. The information contained in this table was
obtained from http://viirsfire.geog.umd.edu/pages/iband.php and from the
vfire375_users_guide.pdf file packaged with the VFIRE375_SPA.
4 Fire pixel size along Kilometers Range: 0.3 to 0.8, for both along the scan nadir and
the scan nadir along the track nadir.
5 Fire pixel size along Kilometers Fire pixel size is a function of scan angle from nadir:
the track nadir At 0 (nadir) to ±31.59 degrees scan angle, three
native pixels are aggregated over the radiance
domain to form one effective sample. In the second
image section extending from ±31.59 to ±44.68
degrees scan angle, two native pixels are
aggregated to form one effective sample, and finally
in the third image section extending from ±44.68
degrees to the maximum scan angle (±56.06
degrees), no aggregation is performed and one
native pixel represents one effective sample.
6 Fire pixel detection n/a 7 = Low confidence fire pixel. During daytime, these
confidence are typically due to areas of sun glint and lower
relative temperature anomalies (< 15K) in the mid-
infrared channel I4. During nighttime, these only
occur over the region of the South Atlantic Magnetic
Anomaly (from 11°E to 110°W and 7°E to 55°S),
which can cause spurious brightness temperatures in
the mid-infrared channel I4 and lead to potential false
alarms.
7 Fire pixel radiative Megawatts Variable: non-zero positive floating-point value (> 0.0
power MW). Fire Radiative Power (FRP) is a measure of
the rate of radiant heat output from a fire. It has been
demonstrated in small-scale experimental fires that
the FRP of a fire is related to the rate at which fuel is
being consumed and smoke emissions released.
Please note that the Fire Location text file is not generated if no fire pixels are detected for
the datasets processed. When running in Standalone Mode, the VFIRE375_SPA will
terminate with a message similar to the following when no Fire Location text file is generated:
Output viirs.activefires375 is /home/ipopp/drl/SPA/VFIRE375/testdata/output/VF375.hdf
Output viirs.fireloc375 is null
$ ./run-VFIRE375.sh
A successful execution usually requires 1 minute or more, depending on the speed of your
computer and the size of the input. If everything is working properly, the scripts will terminate
with a message such as:
You can cd to the output directory to verify that the science products exist. Test output
product(s) are available for comparison in the testdata/output directory. These test output
product(s) were generated on a 64-bit PC architecture computer running CentOS 7. The
output products serve as an indicator of expected program output. Use a comparison utility
(such as diff, hdiff, etc.) to compare your output product(s) to those provided in the
testdata/output directory. Locally generated files may differ slightly from the provided output
files because of differences in machine architecture or operating systems.
If there is a problem and the code terminates abnormally, the problem can be identified using
the log files. Log files are automatically generated within the directory used for execution.
They start with stdfile* and errfile*. Other log and intermediate files may be generated
automatically within the directory used for execution. They are useful for traceability and
debugging purposes. However it is strongly recommended that users clean up log files and
intermediate files left behind in the run directory before initiating a fresh execution of the SPA.
Intermediate files from a previous run may affect a successive run and produce ambiguous
results. Please report any errors that cannot be fixed to the DRL.
Specify input parameters using <label value> pairs: To execute the 'run' scripts, you must
supply the required input and output parameters. Input and output parameters are usually file
paths or other values (e.g., an automatic search flag). Each parameter is specified on the
command line by a <label value> pair. Labels are simply predefined names for parameters.
Each label must be followed by its actual value. Each process has its own set of <label value>
pairs that must be specified in order for it to execute. The two types of <label value> pairs that
the VFIRE375_SPA uses are:
a) Input file label/values. These are input file paths. Values are absolute or relative paths
to the corresponding input file.
b) Output file label/values. These are output files that are produced by the SPA. Values
are absolute or relative paths of the files you want to generate.
The following tables contain labels, and their descriptions, required by the VFIRE375_SPA.
viirs.svm13 VIIRS 750m M13 band SDR input products for other locations and times are
HDF file path available for download at
www.class.noaa.gov
viirs.ivcdb VIIRS Calibrator Dual-Gain IP
input HDF file path
viirs.activefires375 VIIRS 375m Active Fires output HDF file Please refer to the
path “vfire375_users_guide.pdf” document in
the algorithm/docs/ directory within the
viirs.fireloc375 VIIRS 375m Fire Location output text file VFIRE375_SPA package
path
Execute the 'run': The following script shows an example of a command line to run the
VFIRE375 algorithm from the testscripts directory:
$ ../wrapper/VFIRE375/run \
viirs.gitco ../testdata/input/GITCO_npp_d20140901_t1738560_e1740201_b14746_c20140908200715043541_noaa_ops.h5 \
viirs.svi01 ../testdata/input/SVI01_npp_d20140901_t1738560_e1740201_b14746_c20140908200814185302_noaa_ops.h5 \
viirs.svi02 ../testdata/input/SVI02_npp_d20140901_t1738560_e1740201_b14746_c20140908200817203819_noaa_ops.h5 \
viirs.svi03 ../testdata/input/SVI03_npp_d20140901_t1738560_e1740201_b14746_c20140908200743066611_noaa_ops.h5 \
viirs.svi04 ../testdata/input/SVI04_npp_d20140901_t1738560_e1740201_b14746_c20140908200756074531_noaa_ops.h5 \
viirs.svi05 ../testdata/input/SVI05_npp_d20140901_t1738560_e1740201_b14746_c20140908200946032012_noaa_ops.h5 \
viirs.gmtco ../testdata/input/GMTCO_npp_d20140901_t1738560_e1740201_b14746_c20140908200702642321_noaa_ops.h5 \
viirs.svm13 ../testdata/input/SVM13_npp_d20140901_t1738560_e1740201_b14746_c20140908200931364181_noaa_ops.h5 \
viirs.ivcdb ../testdata/input/IVCDB_npp_d20140901_t1738548_e1740201_b14746_c20161004162415456000_ipop_dev.h5 \
viirs.activefires375 ../testdata/output/VF375.hdf \
viirs.fireloc375 ../testdata/output/FireLoc375.txt
A successful execution usually requires 1 minute or more, depending on the speed of your
computer and the size of the input. If execution fails, you will see an error message indicating
the cause of failure (e.g., a file cannot be found, or a label cannot be recognized). Correct it
and run again. If the problem has some other cause, it can be identified using the log files.
Log files are automatically generated within the directory used for execution. They start with
stdfile* and errfile* and can be deleted after execution. Other log and intermediate files may
be generated automatically within the directory used for execution. They are useful for
traceability and debugging purposes. However it is strongly recommended that users clean
up log files and intermediate files left behind in the run directory before initiating a fresh
execution of the SPA. Intermediate files from a previous run may affect a successive run and
produce ambiguous results. The 'run' can be executed from any directory the user chooses.
This can be done by prefixing it with the file path for the 'run' script.
NOTE: The data products generated by this SPA may be visualized with the DRL's H2G_SPA
(Hierarchical Data Format [HDF] to Georeferenced Tagged Image File Format [GeoTIFF]
Converter Science Processing Algorithm). H2G is designed specifically for Direct Readout
Installation of this SPA in IPOPP mode will make the SPA services listed in Table A-1 available
to IPOPP. These SPA services along with any other prerequisite SPA services (listed in Table
A-2) will need to be enabled to allow IPOPP to automate production of the VFIRE375_SPA
data products. The SPAs containing the prerequisite SPA services listed in Tables A-2 can
be downloaded from the DRL Web Portal, in case they are not already available in your IPOPP
installation. Details about these other SPAs are available in the respective SPA User's Guides.
Please refer to the IPOPP User’s Guide for instructions on how to install an SPA in IPOPP
and enable the corresponding SPA services.