I'm trying to set up CSPP VIIRS Active Fire Version 2.1 and test it with the test data, following the steps described in the CSPP_Active_Fire_Installation_Guide_v2.1.0. However, following the instructions results in an error message while processing the test data.
I tried it using DEBIAN 11 and in a Rocky Linux 8 container with the same result. No run is successful, for each run I get the following error:
Code: Select all
General warning for J02003730587901
Problem generating LWM for granule_id J02003730587901
list index out of range
Ancillary granulation failed for granule_id J02003730587901
Maximum number of attempts (Land/Water Mask: J02003730586194) of obtaining return code reached for "20", setting return code to zero.
LWM granulation for J02003730586194 took 0 minutes, 11.429446 seconds
Traceback (most recent call last):
File "/cspp-active-fire-noaa_2.1/scripts/ancillary/stage_ancillary.py", line 175, in get_lwm
shutil.move(glob("AF-LAND_MASK_375M*.nc")[0], lwm_file)
IndexError: list index out of range
Code: Select all
FROM rockylinux:8
RUN dnf -y install wget
# Install CSPP Active Fire
RUN wget https://bin.ssec.wisc.edu/pub/CSPP/hidden/FIRE/v2.1/cspp-active-fire-noaa_2.1.tar.gz && \
tar xf cspp-active-fire-noaa_2.1.tar.gz
# Get testdata
RUN wget https://bin.ssec.wisc.edu/pub/CSPP/hidden/FIRE/v2.1/cspp-active-fire-test_data_2.1.tar.gz && \
tar xf cspp-active-fire-test_data_2.1.tar.gz && \
cd fire_test_data && \
mkdir work
Code: Select all
docker build . -t cspp-fire
docker run -it --rm cspp-fire:latest
cd cspp-active-fire-noaa_2.1
export CSPP_ACTIVE_FIRE_HOME=$PWD ; cd ..
source $CSPP_ACTIVE_FIRE_HOME/cspp_active_fire_noaa_env.sh
cd ../fire_test_data/work/
cspp_active_fire_noaa.sh --num-cpu 4 --pa-dir ../PA_dir ../input
I've attached the full log in debug mode in PDF, as I can't attach any text files.
Based on the documentation, I would expect this to run without any errors. Am I missing something or is there a problem with the test data?
Best,
Max