Setting DPE_SITE_ID and DPE_DOMAIN

Data formats, HDF5, XML profiles, etc.
Post Reply
houchin
Posts: 128
Joined: Mon Jan 10, 2011 6:20 am

Setting DPE_SITE_ID and DPE_DOMAIN

Post by houchin »

Hi all,

In ADL 3 as distributed, output HDF files are being created with placeholders in the output HDF filenames:


GITCO_npp_d20030125_t0718133_e0719378_b00014_-_<DPE_SITE_ID UNDEFINED>_<DPE_DOMAIN UNDEFINED>.h5


How can I set those two identifiers? I wouldn't so much mind the undefined values if it wasn't for the spaces and angle brackets, which make the filenames very shell unfriendly.
Scott Houchin, Senior Engineering Specialist, The Aerospace Corporation
15049 Conference Center Dr CH3/310, Chantilly, VA 20151; 571-307-3914; scott.houchin@aero.org
JimBiard
Posts: 26
Joined: Thu Jun 30, 2011 8:09 am
Location: NCDC

Re: Setting DPE_SITE_ID and DPE_DOMAIN

Post by JimBiard »

Interesting! I'm not getting that result. The last two elements in the names on my files are devl and dev, respectively. The DPE_CFG.xml file sets those elements using the environment variables DPE_SITE_ID and DPE_DOMAIN. Those are set in the envSetup.csh (or ksh) file. Sounds like you are running without first setting your environment.
Research Scholar
Cooperative Institute for Climate and Satellites
Remote Sensing and Applications Division (RSAD)
National Climatic Data Center
151 Patton Ave.
Asheville, NC 28801-5001
gfireman
Posts: 14
Joined: Thu May 05, 2011 9:53 am
Location: Greenbelt, MD
Contact:

Re: Setting DPE_SITE_ID and DPE_DOMAIN

Post by gfireman »

Those vars are set in envSetup.csh, but not in envSetup.ksh - at least not after running support/installAdl3.0.sh. We'll have to add them ourselves, using envSetup.ksh.org for reference.
Ms Gwyn Fireman
Ocean PEATE, NASA/GSFC
scottm

Re: Setting DPE_SITE_ID and DPE_DOMAIN

Post by scottm »

There is a patch available to help with the file names. Please see the download site, in the support scripts section.
houchin
Posts: 128
Joined: Mon Jan 10, 2011 6:20 am

Re: Setting DPE_SITE_ID and DPE_DOMAIN

Post by houchin »

gfireman wrote:Those vars are set in envSetup.csh, but not in envSetup.ksh - at least not after running support/installAdl3.0.sh. We'll have to add them ourselves, using envSetup.ksh.org for reference.
Ahh. This was my problem. Everything I had done was based on the ksh version.
Scott Houchin, Senior Engineering Specialist, The Aerospace Corporation
15049 Conference Center Dr CH3/310, Chantilly, VA 20151; 571-307-3914; scott.houchin@aero.org
gfireman
Posts: 14
Joined: Thu May 05, 2011 9:53 am
Location: Greenbelt, MD
Contact:

Re: Setting DPE_SITE_ID and DPE_DOMAIN

Post by gfireman »

Scott M:

Could you notify us when there are new downloads available?
Either email or the ADL Announcements board would work for me.

Thanks,
Gwyn
Ms Gwyn Fireman
Ocean PEATE, NASA/GSFC
Post Reply