The images for the RDT product are generated by their own python script (nwcpy_rdt.py). The RDT plotting script (like all the plotting scripts supplied here takes important variables as arguments. These arguments indicate the location of the file, what is to be plotted (in most cases) and the size of the plot to be produced.
To see what happens when you don't supply the correct arguments run the script without any.
cd NWCPY
python nwcpy_rdt.py
You should see a message like this
Usage: python nwcpy_rdt.py <path/file.nc> <width> <height>
Example: python nwcpy_rdt.py /home/NWCGEO/export/RDT/S_NWC_RDT-CW_MSG3_Spain-VISIR_20151013T150000Z.nc 0 0
This helpfully tells us what arguments are required to run this script successfully. In this case all that is required is the location of the data and the width and height parameters (we will leave these as 0 for the default value to be used).
Try to run the script again, however this time use the location of one of our RDT as an argument.
python nwcpy_rdt.py $SAFNWC/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z.nc 0 0
If the script has run successfully you will see a message like this
inDir= /home/swift/safnwc/export_archive/RDT
outDir= /home/swift/safnwc/NWCPY
File /home/swift/safnwc/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z.nc
Reading /home/swift/safnwc/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z_015.nc
Reading /home/swift/safnwc/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z_030.nc
Reading /home/swift/safnwc/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z_045.nc
Reading /home/swift/safnwc/export_archive/RDT/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z_060.nc
L1SD file /home/swift/safnwc/export_archive/L1SD/S_NWC_IR120-BT_MSG4_Ghana-VISIR_20180802T181500Z.nc ----------
data type: float32 | max = 298.536 min = 184.5521
prod size (512, 512)
validRange -10000000000.0 10000000000.0
wxh 1100.0 x 800.0
Writing /home/swift/safnwc/NWCPY/S_NWC_RDT-CW_MSG4_Ghana-VISIR_20180802T181500Z.rdt.gif
and produce an image like that shown below.