NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: pnga2area

Pelo que eu percebi, o png é um formato de compressão. Pelo menos é o que parece. As imagens de satélite que vêm nesse formato precisam ser descomprimidas para poderem ser visualizadas.
Por isso o pnga2area. Para comprimi-las nesse formato, existe o area2png.

Eu só cheguei a usar essa linha:
pnga2area <-a SATANNOT> <-b SATBAND> <-vxl-> IMGfile < infile

SATANOT e SATBAND é um arquivo que fica no ~ldm/etc
As opções "v", "x" e "l" são opcionais. O help explica direitinho o que cada uma faz.
IMGfile é o arquivo de saída. infile é o arquivo de entrada.

Testa aí e tente visualizar no sfmap.

Att.
Marcus Vinícius S. Mendes
Cachoeira Paulista / SP - Brazil (GMT-3)
National Institute for Space Research - INPE
Center for Weather Forecast and Climatic Analysis - CPTEC
(+55) (12) 3186-8676



Guilherme Dametto escreveu:
Já segui as instruções e na funciona. Ja fiz de diversas maneiras e nada...

2007/7/31, "Marcus Viní­cius S. Mendes" <marcusvi@xxxxxxxxxxxxx <mailto:marcusvi@xxxxxxxxxxxxx>>:

    Digite pnga2area e dê uma olhada no help. Acredito que esteja
    explicado.
    Não costumo usar esse decodificador. Qual é o seu problema?

    $ pnga2area -h
    Example Usage:
           pnga2area <-a SATANNOT> <-b SATBAND> <-vxl-> IMGfile < infile
           pnga2area <-a SATANNOT> <-b SATBAND> <-vxl-> -d datadir -r
    pcode
    < infile
           pnga2area <-a SATANNOT> <-b SATBAND> <-vxl-> -f infile IMGfile
           pnga2area <-a SATANNOT> <-b SATBAND> <-vxl-> -f infile -d
    datadir
    -r pcode
    Flags:
        Help:
        -h              Print the help, then exit the program

        Satellite definitions:
        -a SATANNOT     McIDAS SATANNOT pathname (def:
    /home/mcidas/data/SATANNOT)
        -b SATBAND      McIDAS SATBAND pathname (def:
    /home/mcidas/data/SATBAND)
        -f infile       Pathname for input PNG compressed file (default is
    stdin)

        Logging:
        -l logname      Log file name (default uses local0; use '-'
    for stdout)
        -v              Verbose logging
        -x              Debug logging

        McIDAS Routing:
        -d directory    Directory to CD to decoding (used with '-r';
    no default)
        -r pcode<,anum> Use McIDAS ROUTE.SYS entry for <pcode> for
    AREA file
    naming
                        (used with '-d'; no default)
                        pcode - McIDAS routing table product code
                        ,     - if anum is specified, must use comman
    separator
                        anum  - default output AREA number
    Positionals:
        IMGfile         Output image pathname mask if not using McIDAS
    routing (no default)

                        'IMGfile' may contain 'replaceables':
                          \BAND - band information from SATBAND
                          \RES  - resolution information from SATBAND
                          \SAT  - satellite platform info from SATANNOT

                        and 'strftime' style day/time specifiers:
                          %Y    - image year       [CCYY]
                          %m    - image month      [MM]
                          %d    - image day        [DD]
                          %j    - image Julian day [JJJ]
                          %H    - image hour       [HH]
                          %M    - image minute     [MM]
                          etc.

    Example Invocation:
        ./pnga2area -l - -f pngfile \SAT_\RES_\BAND_%Y%m%d.%H%M

    might expand to the equivalent:
        ./pnga2area -l - -f pngfile GOES-8_IMG_8km_6.8um_20000511.2000

    Att.
    Marcus Vinícius S. Mendes
    Cachoeira Paulista / SP - Brazil (GMT-3)
    National Institute for Space Research - INPE
    Center for Weather Forecast and Climatic Analysis - CPTEC
    (+55) (12) 3186-8676



    Guilherme Dametto escreveu:
    > Bom dia Marcus.
    >
    > Você saberia me explicar como rodo na mão o programa pnga2area (que
    > vem com o ldm-mcidas) ? Com todos os parâmetros, tudo o que é
    > necessário...
    > Já procurei em manuais e não tem. Tá tudo meia-boca.
    >
    > Se você puder me ajudar,
    > já não sei como fazer.
    >
    > Brigadão
    >
    > Guilherme




--
Guilherme Dametto
Meteorologista - Climatempo
guilhermedametto@xxxxxxxxxxxxxxxxx <mailto:guilhermedametto@xxxxxxxxxxxxxxxxx>
Quer saber como vai estar o tempo?
Acesse: www.climatempo.com.br <http://www..climatempo.com.br>

==============================================================================
To unsubscribe idd-brasil, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idd-brasil archives: