Rodrigo,
The GINI images from NOAAPORT are sent on the NIMAGE feed.
The $NAWIPS/ldm/etc/templates/pqact.gempak_images file I provide in the
GEMPAK distribution has a pattern at the bottom which FILE's the
products, eg:
#
# NOAAPORT GINI Images in NIMAGE feed
NIMAGE ^satz/ch[0-9]/.*/(.*)/([12][0-9])([0-9][0-9])([01][0-9])([0-3][0-9])
([0-2][0-9])([0-5][0-9])/(.*)/(.*km)/
FILE -close data/gempak/images/sat/\8/\9/\1/\1_\2\3\4\5_\6\7
These GINI images are in the zlib compressed format of the broadcast. GEMPAK is
able to display these
images without any further processing, but the ldm-mcidas decoder package does
provide a zlibg2gini
to uncompress them if needed.
The AREA files in the UNIWISC (aka MCIDAS) data stream are compressed using PNG
for transmission
which is uncompressed using the png2area decoder. This is unrelated to a
compressed GINI format file.
Steve Chiswell
Unidata User Support
On Thu, 2007-04-05 at 16:01 -0400, Rodrigo Sanchez wrote:
> Dear users,
> I'm trying to install thredds to serve some LDM information
> from our ldm site (depresion.dgf.uchile.cl / version:6.4.6).
> I am not a Thredds expert, but seems to need "gini" format
> to serve satellite images. My ldmd.conf file said:
> ...
> exec "pqact -f MCIDAS|NIMAGE etc/pqact.gempak_images"
> ...
>
> my pqact.gempak_images file said (for example):
>
> MCIDAS ^pnga2area Q. (UY) (.*) (.*)_IMG (.*) (.*) (........) (....)
> PIPE -close
> pnga2area -vl /home/ldm/logs/ldm-mcidas.log
> -a etc/SATANNOT
> -b etc/SATBAND
> data/gempak/images/sat/MOLLWEIDE/24km/WV/WV_\6_\7
>
>
> =====================================
>
>
> I have tried to convert to "gini" with
> ldm-mcidas-2004/bin/area2png
>
> #area2png -a /home/ldm/etc/SATANNOT -b /home/ldm/etc/SATBAND -lx - -f
> test_IR_20070402_1545 test_IR_20070402_1545.png
> # more LOG
> Apr 05 18:48:34 area2png[22468]: Starting Up
> input AREA size: 4724328
> in GetFileName
> mask: 8
> band: 4
> in GetSatAnnotInfo
> in GetSatBandInfo
> css: 78
> cal: GVAR
> cres: 4km
> in ReplaceToken
> in ReplaceToken
> in ReplaceToken
> Apr 05 18:48:34 area2png[22468]: output file pathname:
> test_IR_20070402_1545.png
> memory mapped input file test_IR_20070402_1545
> image shape: 2726 x 1732
> image line length: 1732
> number of bytes to beginning of data: 2816
> number of bytes in comment cards: 80
> number of bytes to beginning of comment cards: 4724248
> deflated length 1908857
> Apr 05 18:48:36 area2png[22468]: doPNG:: 4724328 1908857 0.40
>
>
>
> and then :
> ldm-mcidas-2004/bin/pngg2gini..
>
> #pngg2gini -vxl LOGINI -f test_IR_20070402_1545.png paso/image.gini
> #more LOGINI
> Apr 05 18:51:22 pngg2gini[22574]: Starting Up
> Apr 05 18:51:22 pngg2gini[22574]: WMO Header not supported by pngg2gini:
>
>
> Does exist a better way to have a format ("gini" ??) that can be serve
> by thredds ?? may be an option in pqact.gempak_images ??
>
>
>
> Thanks in advance
> Rodrigo Sanchez
> DGF, U. de Chile
>
>
--
Steve Chiswell <chiz@xxxxxxxxxxxxxxxx>
Unidata