DSWx‐S1 CalVal Acceptance Test Instructions - nasa/opera-sds-pge GitHub Wiki

This page contains instructions for performing Acceptance Testing for the DSWx-S1 CalVal delivery from the OPERA-ADT team. These instructions pertain to the latest version of the CalVal release, currently v4.2. These instructions assume the user has access to the JPL FN-Artifactory, and Docker is installed on their local machine. Optionally, access to the opera-dev-pge AWS machine allows for significantly faster downloads from Artifactory.

Acquiring the DSWx-S1 Interface Docker Image

The image is currently hosted on JPL FN-Artifactory, which requires JPL VPN access and JPL credentials. You may also need to be added to the gov.nasa.jpl.opera.adt organization.

Once you have access, the container tarball delivery is available under general/gov/nasa/jpl/opera/adt/dswx_s1/r4.2/calval/dockerimg_dswx_s1_calval_0.4.2.tar. Sample inputs and outputs are available under general/gov/nasa/jpl/opera/adt/dswx_s1/r4.2/calval/GOLDEN_DATASET.zip. Useful background documentation is also available under general/gov/nasa/jpl/opera/adt/dswx_s1/r4.2/calval/documents/.

Download both images to a location on your local machine. This location will be referred to throughout this instructions as <DSWX-S1_DIR> Note that the sample data is quite large, so the download from Artifactory can take some time.

Loading the image into Docker

The first step in running the DSWx-S1 image is to load it into Docker via the following command:

    docker load -i <DSWX-S1_DIR>/dockerimg_dswx_s1_calval_0.4.2.tar

Use the following command to verify the Docker image with the name opera/dswx-s1 and the tag calval_0.4.2 has been added to your Docker repository:

    docker image ls 

Preparing the test data

Once the GOLDEN_DATASET.zip file is downloaded to your local machine, unpack it to <DSWX-S1_DIR>:

    cd <DSWX-S1_DIR>; unzip GOLDEN_DATASET.zip

This will create a GOLDEN_DATASET directory within <DSWX-S1_DIR> containing the following files/directories:

    expected_output/
    input_dir/
    output_dir/
    scratch_dir/
    dswx_s1.yaml

In order to execute the SAS, the input file directory, runconfig, scratch and output locations will be mounted into the container instance as Docker Volumes. To help streamline this process, we recommend making the following changes within the GOLDEN_DATASET directory:

  • Create a directory named runconfig, and copy the existing runconfig YAML file into it:

      `mkdir -p <DSWX-S1_DIR>/GOLDEN_DATASET/runconfig`
    
      `cp <DSWX-S1_DIR>/GOLDEN_DATASET/dswx_s1.yaml <DSWX-S1_DIR>/GOLDEN_DATASET/runconfig/dswx_s1.yaml`
    
  • Modify the copied version of the dswx_s1.yaml runconfig such that all paths within are absolute with respect to the container's file system. For example, the path input_dir/RTC/T114-243003-IW1 should become /home/dswx_user/input_dir/RTC/T114-243003-IW1 and so on...

  • Make sure the output and scratch directories have write permissions set

      `chmod ga+w output_dir/ scratch_dir/`
    

Executing the DSWx-S1 container on the sample datasets

We're now ready to execute the DSWX-S1 Interface. Run the following the command to kick off execution with the test assets:

    cd <DSWX-S1_DIR>

    docker run --rm -u $(id -u):$(id -g) \
      -w /home/dswx_user \
      -v $(pwd)/GOLDEN_DATASET/runconfig:/home/dswx_user/runconfig:ro \
      -v $(pwd)/GOLDEN_DATASET/input_dir:/home/dswx_user/input_dir:ro \
      -v $(pwd)/GOLDEN_DATASET/output_dir:/home/dswx_user/output_dir \
      -v $(pwd)/GOLDEN_DATASET/scratch_dir:/home/dswx_user/scratch_dir \
      -i --tty opera/dswx-s1:calval_0.4.2 sh -ci "dswx_s1.py /home/dswx_user/runconfig/dswx_s1.yaml \
         --log /home/dswx_user/output_dir/dswx_s1_0.4.2.log"

Execution should complete in about 25 minutes. Once complete, you should see ~45 files in <DSWX-S1_DIR>/GOLDEN_DATASET/output_dir. Files can be categorized into sets of four GeoTIFF files sharing the same time stamps, plus a .png "browse" image (for more information see OPERA_DSWX_S1_SAS_Design_Doc_IF.docx in the 'documents' directory, optionally downloaded from Artifactory):

      OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_B01_WTR.tif
      OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_B02_BWTR.tif
      OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_B03_CONF.tif
      OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_B04_DIAG.tif
      OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_BROWSE.png

With this version a log file (dswx_s1_0.4.2.log) is also written to the output_dir.

Running the Quality Assurance Test

There are comparison scripts available within the OPERA PGE repository. From a cloned copy of the repo, copy the following files to <DSWX-S1_DIR>:

cp <REPO DIR>/opera-sds-pge/.ci/scripts/dswx_s1/diff_dswx_files.py <DSWX-S1_DIR>
cp <REPO DIR>/opera-sds-pge/.ci/scripts/dswx_s1/dswx_comparison.py <DSWX-S1_DIR>

Where <REPO DIR> is the location containing the cloned copy of the OPERA PGE repository.

You can now perform the test by executing:

$ python3 <DSWX-S1_DIR>/diff_dswx_files.py <DSWX-S1_DIR>/GOLDEN_DATASET/expected_output <DSWX-S1_DIR>/GOLDEN_DATASET/output_dir

Or if you want the results written to a text file called result.log:

$ python3 <DSWX-S1_DIR>/diff_dswx_files.py <DSWX-S1_DIR>/GOLDEN_DATASET/expected_output <DSWX-S1_DIR>/GOLDEN_DATASET/output_dir 2>&1 | tee results.log

The QA output should look similar to the following, but for each pair of output products compared:

Comparing files:
    file 1: ./output_dir/OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240304T191211Z_S1A_30_v0.1_B01_WTR.tif
    file 2: ./expected_output/OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240301T193946Z_S1A_30_v0.1_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[OK]     Band 1 - Water classification (WTR)"
[OK]Comparing geotransform
[OK]Comparing projection
[OK]Comparing metadata
...

Known Issues with this version

  1. On running the above tests on opera-dev-pge (c6a.2xlarge), the following FAILs were observed:
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UNA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "44" in position (x: 3632, y: 357) whereas input 2 has value "43" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 3561, y: 2976) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 3561, y: 2976) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 3561, y: 2976) whereas input 2 has value "1" in the same position.
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "11" in position (x: 812, y: 247) whereas input 2 has value "10" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 2343, y: 6) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 2343, y: 6) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 2343, y: 6) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UPV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "2" in position (x: 1299, y: 0) whereas input 2 has value "3" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 1296, y: 2562) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 1296, y: 2562) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 3091, y: 174) whereas input 2 has value "6" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQA_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "2" in position (x: 3283, y: 0) whereas input 2 has value "3" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 1440, y: 102) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 1440, y: 102) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 1440, y: 102) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T44UQV_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "29" in position (x: 36, y: 0) whereas input 2 has value "30" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 314, y: 172) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 314, y: 172) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 311, y: 5) whereas input 2 has value "5" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "17" in position (x: 88, y: 0) whereas input 2 has value "18" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 2842, y: 904) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 2842, y: 904) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 2541, y: 32) whereas input 2 has value "5" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UUR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "21" in position (x: 2841, y: 0) whereas input 2 has value "22" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B01_WTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B01_WTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Water classification (WTR)"
            * input 1 has value "0" in position (x: 228, y: 3040) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B02_BWTR.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B02_BWTR.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Binary Water classification (BWTR)"
            * input 1 has value "0" in position (x: 228, y: 3040) whereas input 2 has value "1" in the same position.
/data/collinss/OPERA/DSWx-S1/calval/0.4.2/dswx_comparison.py:59: RuntimeWarning: overflow encountered in ubyte_scalars
  if (abs(image_1[i, j] - image_2[i, j]) >=
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 228, y: 3040) whereas input 2 has value "1" in the same position.
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVQ_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "65" in position (x: 1183, y: 139) whereas input 2 has value "64" in the same position.
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B03_CONF.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B03_CONF.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Confidence values (CONF)"
            * input 1 has value "0" in position (x: 57, y: 1137) whereas input 2 has value "6" in the same position.
Comparing files:
    file 1: GOLDEN_DATASET/expected_output/OPERA_L3_DSWx-S1_T45UVR_20231213T121200Z_20240416T034124Z_S1A_30_v0.4_B04_DIAG.tif
    file 2: GOLDEN_DATASET/output_dir/OPERA_L3_DSWx-S1_T45UVR_20231213T121200Z_20240417T164841Z_S1A_30_v0.4_B04_DIAG.tif
[OK]Comparing number of bands
Comparing DSWx bands...
[FAIL]     Band 1 - Diagnostic layer (DIAG)"
            * input 1 has value "62" in position (x: 723, y: 99) whereas input 2 has value "61" in the same position.
⚠️ **GitHub.com Fallback** ⚠️