pietern / goestools

Tools to work with signals and files from GOES satellites
https://pietern.github.io/goestools/
BSD 2-Clause "Simplified" License
374 stars 83 forks source link

Differentiate between DSI-CAPE and DSI-LI #163

Open JVital2013 opened 1 year ago

JVital2013 commented 1 year ago

Starting on June 30, 2023, NOAA started downlinking two DSI files on the HRIT downlink: DSI CAPE, and DSI Lifted Index. Before, only DSI CAPE was downlinked. You can read about DSI types at http://cimss.ssec.wisc.edu/goes/OCLOFactSheetPDFs/ABIQuickGuide_BaselineDerivedStabilityIndices.pdf?fbclid=IwAR1T5jTfYOtjZ3S8LWRbK8aDdZH2TGW_-UdK0ePc30LJSbq4tqKLQFAzCfQ.

Unlike other GOES-R products, this product is not differentiated in the file name. Both DSI files have the same name, and even the same timestamp. The only differentiating factor is _NAME in the ImageDataFunctionHeader. As such, the current version of goestools cannot differentiate and save both images.

This PR fixes the problem by parsing the ImageDataFunctionHeader if the product is DSI. It then updates the product name to DSI-CAPE or DSI-LI, depending on the _NAME value. If a DSI image is downlinked without the header, or if it has a different _NAME, the product will stay as DSI.

Users' goesproc.conf files will need to be updated to handle the distinction. Here are some LRIT files for testing: zip