[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ldm-users: Area - GINI Problem... ?
- Subject: Re: ldm-users: Area - GINI Problem... ?
- Date: Fri, 06 Apr 2007 10:57:11 -0600
Rodrigo,
Your LDM is not requesting the NIMAGE feed from an upstream computer
as shown on the statistics from your computer:
http://www.unidata.ucar.edu/software/idd/rtstats/siteindex.php?depresion.dgf.uchile.cl
You have to receive the NIMAGE feed to be able to process it woth the
pqact entry
I sent. You are enabled to request these products from
idd.unidata.ucar.edu.
The MCIDAS feed products are area files, which are a completely
different format than the GINI data, and there is no ldm-mcidas program
that converts between the formats.
You can use the FILE action as I provided if you request the NIMAGE feed
from
an upstream ldm. The ldmfile.sh you show in your PIPE action below
is a scriopt that essentially just FILES the data and logs its
reception,
but is completely unnecessary. A simple FILE action as I provide is all
you need.
Steve Chiswell
Unidata User Support
On Fri, 2007-04-06 at 12:22 -0400, Rodrigo Sanchez wrote:
> Hi Steve,
> Thank you for your answer ...
> I'm a little bit confused at this point,..
>
> In my ldmd.conf file I found:
>
> exec "pqact -f MCIDAS|NIMAGE etc/pqact.gempak_images"
>
> and the last 2 lines in pqact.gempak_images have:
>
> 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
>
>
> the directories in our computer (depresion.dgf.uchile.cl) are:
> [depresion sat]# pwd
> /data/ldm/gempak/images/sat
> [depresion sat]# ls -la
> total 20
> drwxr-xr-x 5 ldm Unidata 4096 Sep 3 2005 ./
> drwxr-xr-x 3 ldm Unidata 4096 Sep 2 2005 ../
> drwxr-xr-x 3 ldm Unidata 4096 Sep 2 2005 ANTARCTIC/
> |-> 4km |-> IR
> drwxr-xr-x 3 ldm Unidata 4096 Sep 2 2005 GOES-12/
> |-> 4km |-> IR
> |-> VIS
> |-> WV
> drwxr-xr-x 3 ldm Unidata 4096 Sep 3 2005 MOLLWEIDE/
> |-> 24km |-> IR
> |-> WV
>
>
> the directories here are from:
>
> # UW Antarctic composite decoded into GEMPAK hierarchy
> # Standard VIS, WV and IR product actions
> # UW Mollweide composite (UX & UY) decoded into GEMPAK hierarchy
> ..
>
> there is no other directory below
> /data/ldm/gempak/images/sat
>
> I don't have any "gini" file... just the "area" files below
> /data/ldm/gempak/images/sat directory ...
>
> Does exist any way to transform this files???
>
>
> in thredds home page:
> http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/IDDconfig/IDDTDS.html
>
> they talk about a pqact.thredds file:
> http://www.unidata.ucar.edu/projects/THREDDS/tech/tutorial/IDDconfig/pqact.thredds
>
> and I found this lines here:
> ========
> ...
> ...
> # NOAAPORT GINI Images
> #
> # PNG compressed NOAAPORT GINI Images
> #NIMAGE ^sat/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
> # data/pub/native/satellite/\1/\5_\6/\2/\5_\6_\1_\2_\3\4.gini
> #
> # PIPE -close
> # util/pngg2gini -vl logs/ldm-mcidas.log
> #
> # Zlib compressed NOAAPORT GOES-East/West GINI Images -- FILE
> 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)/
> PIPE -close
> util/ldmfile.sh
> data/pub/native/satellite/\1/\5_\6/\2/\5_\6_\1_\2_\3\4.gini
> ...
> ==========
>
> if I comment out the PIPE and util/pngg2gini lines below
> NIMAGE line, ... Should I have gini files ?
>
>
> thank you,
> Rodrigo
> DGF, U. de Chile
>
>
>
>
> > 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
> >>
> >>
> >> ===============================================================================
> >> To unsubscribe ldm-users, visit:
> >> http://www.unidata.ucar.edu/mailing-list-delete-form.html
> >> ===============================================================================
> > --
> > Steve Chiswell <address@hidden>
> > Unidata
> >
--
Steve Chiswell <address@hidden>
Unidata