[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000912: Removal of delta-encoded images from UW data stream (cont.)



>From: address@hidden (Chris Hennon)
>Organization: Ohio State
>Keywords: 200009111601.e8BG1gb11030 ldm-mcidas

Chris,

In reviewing my earlier message, I had the opportunity to look harder
at the pqact.conf actions that you sent me.  This reminded me of what
the problem is and how easy it is to fix.

>>Here's my pqact.conf entry that works for CIMSS sounder imagery:
>>
>># CIMSS Cloud Top Pressure - McIDAS product code CA
>>MCIDAS  ^pnga2area Q. CA .... (.*) (.*) (.*) (........) (....)
>>        PIPE    -close  /usr/local/ldm/decoders/pnga2area
>>        -a /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATANNOT
>>        -b /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATBAND
>>        data/goes_sounder/\3/ctp/CTP_\4_\5
>
>>Here is my pqact.conf entry that doesn't work (i.e. nothing is written to
>>the directory I specified) for Unidata/Wisconsin GOES imagery:
>>
>>#  Regular Unidata-Wisconsin Imagery
>>MCIDAS  ^pnga2area Q1 .. .... (.*) (.*) (.*) (........) (....)
>>        PIPE    -close  /usr/local/ldm/decoders/pnga2area
>>        -a /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATANNOT
>>        -b /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATBAND
>>        data/images/test/\3/\4_\5

The problem is in the sequence 'pnga2area Q1 .. ....'.  This is
assuming that the length of the 4th entry is always 4 digits (....).
This entry is the image's default AREA file number, and it _is_ 4
digits long for CIMSS products, but it is two or three digits long for
the UW stream GOES products.

All you have to do to your action is change the '....' to '.*':

#  Regular Unidata-Wisconsin Imagery
MCIDAS  ^pnga2area Q1 .. .* (.*) (.*) (.*) (........) (....)
        PIPE    -close  /usr/local/ldm/decoders/pnga2area
        -a /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATANNOT
        -b /usr/local/ldm/ldm-mcidas-7.6.3/etc/SATBAND
        data/images/test/\3/\4_\5

After making the change, send a HUP to pqact to reread your pqact.conf
file and all images will get decoded correctly.

Sorry this took so long for me to notice.

Tom