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

20040816: LDM-McIDAS Decoders - Converting GINI satellite files to AREA format



>From: "Jonathan Case" <address@hidden>
>Organization: ENSCO
>Keywords: 200408162048.i7GKmkqn018142 ldm-mcidas GINI to AREA

Jonathan,

>Institution: ENSCO
>Package Version: RH8 binary
>Operating System: Red Hat 8
>Hardware Information: Linux cluster head node
>Inquiry: Dear ldm-mcidas support,
>
>I searched through the email archived and thought I have found the answer to
>my dilemma.  I need to convert the NOAAPORT GINI-formatted satellite files to 
>AREA file format for use by another program.  

OK.  This would be done not by an ldm-mcidas decoder, but, rather, by
defining in input McIDAS ADDE dataset of type GINI and an output ADDE
dataset of type AREA and then using McIDAS' IMGCOPY command to copy
from one dataset to the other.  During the "copy", the format of the
image will be changed from GINI to AREA.

>It appeared that the ldm-mcidas decoders, specifically pnga2area, may be the
>answer.

No, sorry.  'pnga2area' takes a PNG-compressed image that was in AREA
format and creates a reconstituted McIDAS AREA.  The PNG-compressed
images that this works on are ones we create for our IDD UNIWISC
datastream.  The header portions of an image in AREA format is left
alone; the comment cards found at the end of the image are written just
after all header records; and the image data itself is PNG-compressed
and stuck on the end.  'pnga2area' simply uncompresses the image data
and sticks it inbetween the header records and comment cards.

>I obtained the binary distribution for ldm-mcidas and tried to test
>pnga2area on some sample files.  However, I can't get past the error stating:
>
>"Aug 16 20:36:45 pnga2area[1699]: Starting Up
>Aug 16 20:36:45 pnga2area[1699]: Input fails word 0 AREA test"
>
>Perhaps it is user error since I am new at trying to run the program?  

Yes, you are trying to use it for a purpose it is not intended.

>I specified the following command:
>"master:/home/cluster1/arps1/SOFTWARE/ldm-mcidas-2003 > bin/pnga2area -a etc/S
> ATANNOT -b etc/SATBAND -vl - AREA-vis < TIGE01.KNES.131710.2004226171703226"
>
>Most of the online help refers to the pqact lines in LDM.  
>
>Any help is much appreciated!

There is no ldm-mcidas decoder that will convert a NOAAPORT GINI image
into McIDAS AREA.  Instead, McIDAS itself can be used to do the
conversion through ADDE.

Cheers,

Tom Yoksas
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically 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.