Hi Rodrigo, Please let us know if Steve Chiswell's reply to the note you sent to the ldm-users email list answered your questions. One thing that Steve did not tell you is that the ldm-mcidas 'area2png' routine is used to compress images in McIDAS AREA format using a PNG compression of the image portion of the data (not the header). We use this routine to compress the images sent in the Unidata-Wisconsin datastream (IDD feedtype UNIWISC (aka MCIDAS)) for transmission. Up until fairly recently, Unidata McIDAS users needed to uncompress these images using the ldm-mcidas utility 'pnga2area'. With the latest Unidata McIDAS addendum (v2006f), however, McIDAS users can now read the PNG-compressed images directly (like GEMPAK has been able to do for quite some time). Again, please let us know if you have additional questions. > 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 > =============================================================================== > > Cheers, Tom **************************************************************************** Unidata User Support UCAR Unidata Program (303) 497-8642 P.O. Box 3000 address@hidden Boulder, CO 80307 ---------------------------------------------------------------------------- Unidata HomePage http://www.unidata.ucar.edu **************************************************************************** Ticket Details =================== Ticket ID: OPC-671989 Department: Support ldm-mcidas Priority: Normal Status: Closed
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.