[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #DHD-802401]: Two Questions: LDM on Mac OSX 10.5.x and sample/example pqact.conf
- Subject: [LDM #DHD-802401]: Two Questions: LDM on Mac OSX 10.5.x and sample/example pqact.conf
- Date: Wed, 02 Dec 2009 16:32:59 -0700
Hi Matthew,
re: your comment to Jeff
> Thank you SO much - this is very helpful.
We aim to please ;-)
> Yes, I'm in the McIDAS world.... :-)
> I'll be in touch if I'm stuck....
OK. I want to remind you of something I have mentioned in the
past:
- Unidata McIDAS containes built-in support for PNG-compressed
AREA file format imagery; SSEC's distribution of McIDAS does
not contain this support.
So, an action you may see in an example pqact.conf file that
Jeff forwarded previously might not work if you are using
SSEC's McIDAS distribution. For example:
These action will file PNG-compressed from the IDD UNIWISC (aka MCIDAS)
datastream using the ldmfile.sh script that I include in Unidata McIDAS-X:
#########################################################################
#
# UNIWISC (Unidata-Wisconsin datastream) section pqact's FILE action
#
# NOTEs:
# - stop and restart the LDM to activate
#
#########################################################################
# Pattern-action file used for FILEing PNG-compressed UNIWISC and FNEXRAD images
# Vis (0.65 um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (0.65)um (.*) (........) (....)
PIPE -close util/ldmfile.sh
/data/ldm/mcidas/images/sat/\3/\5/VIS/VIS_\6_\7
# Short IR (3.9 um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (3.9)um (.*) (........) (....)
PIPE -close util/ldmfile.sh
/data/ldm/mcidas/images/sat/\3/\5/\4/\4_\6_\7
# WV (6.[58] um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (6..)um (.*) (........) (....)
PIPE -close util/ldmfile.sh
/data/ldm/mcidas/images/sat/\3/\5/WV/WV_\6_\7
...
Sites running SSEC McIDAS will need to get hold of the ldm-mcidas package's
'pnga2area' decoder to uncompress the images into uncompressed AREA files.
The same actions above using 'png2area' would look like:
#########################################################################
#
# UNIWISC (Unidata-Wisconsin datastream) section using LDM-McIDAS
# 'pnga2area' decoder
#
# NOTEs:
# - obtain 'pnga2area' decoder from binary LDM-McIDAS distribution
# or build from source
# - copy 'pnga2area' to ~ldm/decoders and make sure that
# ~ldm/decoders is in the PATH for 'ldm'
# - copy SATANNOT and SATBAND from the LDM-MCIDAS etc directory
# to ~ldm/etc
# - stop and restart the LDM to activate
#
# UNIWISC product headers look like:
#
# pnga2area Q0 CF 0015 GOES-10_SND UNKBAND 1km 20000525 2000
# ^ ^ ^ ^ ^ ^ ^ ^
# | | | | | | | |
# v v v v v v v v
# Qx pd anum SAT BAND RES CCYYMMDD HHMM
# \1 \2 \3 \4 \5 \6 \7
#
#########################################################################
#
#### PNG compressed Unidata-Wisconsin channel image (AREA) files
#
# Vis (0.65 um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (0.65)um (.*) (........) (....)
PIPE -close
pnga2area -vl logs/ldm-mcidas.log
-a etc/SATANNOT
-b etc/SATBAND
/data/ldm/mcidas/images/sat/\3/\5/VIS/VIS_\6_\7
# Short IR (3.9 um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (3.9)um (.*) (........) (....)
PIPE -close
pnga2area -vl logs/ldm-mcidas.log
-a etc/SATANNOT
-b etc/SATBAND
/data/ldm/mcidas/images/sat/\3/\5/\4/\4_\6_\7
# WV (6.[58] um)
UNIWISC ^pnga2area Q. (U[^ACXY13]) (.*) (.*)_IMG (6..)um (.*) (........) (....)
PIPE -close
pnga2area -vl logs/ldm-mcidas.log
-a etc/SATANNOT
-b etc/SATBAND
/data/ldm/mcidas/images/sat/\3/\5/WV/WV_\6_\7
Since AMRC is a member in good standing with the MUG, you are allowed
to access the Unidata distribution of McIDAS.
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: DHD-802401
Department: Support IDD
Priority: Normal
Status: Closed