NSF Unidata

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

20000913: PNG Patterns for GEMPAK Sat directory structure

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Chris,

We have the following pqact.conf actions set up to file the pnga2area files
into the GEMPAK $SAT directory structure. 
I'll let Tom add anything else he might have to mention.

Steve Chiswell


# UW Products except Mollweide IR and WV and Antarctic composite and floaters 
decoded
# into GEMPAK file hierarchy

MCIDAS  ^pnga2area Q1 (U[^ACXY1]) (.*) (.*)_IMG (0.65)um (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/\3/\5/VIS/VIS_\6_\7

MCIDAS  ^pnga2area Q1 (U[^ACXY1]) (.*) (.*)_IMG (6.8)um (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/\3/\5/WV/WV_\6_\7

MCIDAS  ^pnga2area Q1 (U[^ACXY1]) (.*) (.*)_IMG (10.7)um (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/\3/\5/IR/IR_\6_\7

# floater1
MCIDAS  ^pnga2area Q1 (UA) (.*) (.*)_IMG (.*)um (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/\3_fl1/\5/\4/\4_\6_\7

# floater2
MCIDAS  ^pnga2area Q1 (UC) (.*) (.*)_IMG (.*)um (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/\3_fl2/\5/\4/\4_\6_\7

# UW Antarctic composite decoded into GEMPAK hierarchy
MCIDAS  ^pnga2area Q1 (U1) (.*) (.*)_IMG (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area -vl /usr/local/ldm/logs/ldm-mcidas.log
        /data/ldm/gempak/images/sat/ANTARCTIC/\5/IR/IR_\6_\7

# CIMSS Cloud Top Pressure - McIDAS product code CA
MCIDAS  ^pnga2area Q0 CA .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/CTP/CTP_\4_\5

# CIMSS Total Column Precipitable Water - McIDAS product code CB
MCIDAS  ^pnga2area Q0 CB .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/PW/PW_\4_\5

# CIMSS Sea Surface Temperature - McIDAS product code CC
MCIDAS  ^pnga2area Q0 CC .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/SST/SST_\4_\5

# CIMSS Lifted Index - McIDAS product code CD
MCIDAS  ^pnga2area Q0 CD .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/LI/LI_\4_\5

# CIMSS CAPE - McIDAS product code CE
MCIDAS  ^pnga2area Q0 CE .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/CAPE/CAPE_\4_\5

# CIMSS Ozone - McIDAS product code CF
MCIDAS  ^pnga2area Q0 CF .... (.*) (.*) (.*) (........) (....)
        PIPE    -close
        pnga2area /data/ldm/gempak/images/sat/SOUNDER/\3/OZONE/OZONE_\4_\5








>From: address@hidden (Chris Hennon)
>Organization: UCAR/Unidata
>Keywords: 200009131832.e8DIWGb24656

>Tom -
>
>OK - I made the change and I'm getting the imagery.  So I guess now my
>only question refers to the data structure itself.  What does one have to
>do in order to have the same directory structure for satellite images 
>(i.e. GOES-8/4km/IR/) that was produced from the gempak script nsat_links?
>In my current configuration, the images are parsed only by resolution.
>Thanks.
>
>Chris
>
>================================================
>| Chris Hennon        Ohio State University   |
>| Tropical Meteorology      address@hidden   |
>|                                              |
>| Dept of Geography   Office: 1155 Derby Hall  |
>| 1036 Derby Hall     Phone : (614) 292-2704   |
>| Columbus, OH 43210  Fax   : (614) 292-6213   |
>================================================
>
>On Tue, 12 Sep 2000, Unidata Support wrote:
>
>> >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
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>> 
>