ADL_Unpacker destination directory

Data formats, HDF5, XML profiles, etc.
Post Reply
ljiang
Posts: 58
Joined: Mon Jul 11, 2011 10:57 pm

ADL_Unpacker destination directory

Post by ljiang »

Hi,

I am aware that the DDSADL_CFG.xml specify the ADL_Unpacker destination directory. But is there a way to change the directory every time ADL_Unpacker is used? Any environment variable or command argument can do this?
Lide Jiang
CIRA @ NOAA/NESDIS/STAR
bhenders
Posts: 72
Joined: Wed Jan 05, 2011 9:27 am
Location: Omaha, NE

Re: ADL_Unpacker destination directory

Post by bhenders »

You are correct that the DDSADL_CFG.xml file controls the output location of the unpacker.

One can modify the following entry and use an environment variable like OUT_LOC and modify that environment variable prior to each execution:

<config>
<name>DMS_PATH</name>
<configValue>${OUT_LOC}</configValue>
</config>

The directory specified by OUT_LOC will be used by the ADL_Unpacker.exe to write the output.

Bryan Henderson
Raytheon Company
ljiang
Posts: 58
Joined: Mon Jul 11, 2011 10:57 pm

Re: ADL_Unpacker destination directory

Post by ljiang »

This is very useful. Thanks!
bhenders wrote:You are correct that the DDSADL_CFG.xml file controls the output location of the unpacker.

One can modify the following entry and use an environment variable like OUT_LOC and modify that environment variable prior to each execution:

<config>
<name>DMS_PATH</name>
<configValue>${OUT_LOC}</configValue>
</config>

The directory specified by OUT_LOC will be used by the ADL_Unpacker.exe to write the output.

Bryan Henderson
Raytheon Company
Lide Jiang
CIRA @ NOAA/NESDIS/STAR
Post Reply