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

20000914: ldm-mcidas PNG decoder installation at Plymouth State

>From: Jim Koermer <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200009121453.e8CErlb21144 ldm-mcidas PNG pnga2area


>I still don't seem to be having sucess. I went back to the AIX binaries,
>since I think they should work. Here is my ldmd.conf entry:
>       request MCIDAS|FSL2     ".*"    squall.atmos.uiuc.edu
>I assume the above also works with png files, since my log shows that it
>is trying to process them.

Yes, this will work fine.

>Here is my pqact.conf entry:
>MCIDAS  ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....)
>        PIPE    -close
>        /home/ldm/ldm-mcidas/bin/pnga2area -d /datt1/mcidas -r
>pcode,anum -xvl

The problem is the specification of 'pcode' and 'anum'.  These values
are extracted from the product header as \1 and \2, respectively
Your entry should read:

MCIDAS  ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....)
        PIPE    -close
        /home/ldm/ldm-mcidas/bin/pnga2area -d /datt1/mcidas -r \1,\2
        -vxl log_file_name

You will need to replace 'log_file_name' with the name of the file you
want to log messages in.  If this is ldmd.conf, then you do not need
to specify '-l' at all:

MCIDAS  ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....)
        PIPE    -close
        /home/ldm/ldm-mcidas/bin/pnga2area -d /datt1/mcidas -r \1,\2

>Here is my logfile entry:
>Sep 14 21:12:08 mammatus pqact[25174]: pipe_dbufput:
>/home/ldm/ldm-mcidas/bin/pnga2area-d/datt1/mcidas-rpcode,anum-xvl write
>Sep 14 21:12:08 mammatus pqact[25174]: pipe_prodput: trying again
>Sep 14 21:12:08 mammatus pqact[25174]: pbuf_flush (4) write: Broken pipe
>Sep 14 21:12:08 mammatus pqact[25174]: pipe_dbufput:
>/home/ldm/ldm-mcidas/bin/pnga2area-d/datt1/mcidas-rpcode,anum-xvl write
>Sep 14 21:12:08 mammatus pqact[25174]: child 30064 exited with status
>Sep 14 21:12:08 mammatus pqact[25174]: child 32366 exited with status

Yup.  As soon as you make the above change to pqact.conf; check the file
integrity with 'ldmadmin pqactcheck' (for recent versions of the LDM);
and send a HUP to pqact, your system should start decoding the images.

I have been advising people to modify their 'request MCIDAS' line from
ldmd.conf to request only PNG compressed imagery.  This may benefit
you when we add more images to the broadcast, as you may choose to
not ingest them since you have a NOAAPORT system.

I would recommend you change your request line to:


request MCIDAS|FSL2     ".*"    squall.atmos.uiuc.edu


request MCIDAS "pnga2area Q[01]"    squall.atmos.uiuc.edu
request FSL2   ".*"    squall.atmos.uiuc.edu

Of course, after a change to ldmd.conf, the LDM must be stopped and restarted
for the change to take effect.


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.