This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
On Mon, 11 Dec 2000, Erick Lorenz wrote: > At 03:16 PM 12/11/00 -0700, you wrote: > >> -------- Original Message -------- > >> Subject: 20001208: LDM FIle times > >> Date: Fri, 08 Dec 2000 14:44:35 -0700 > >> From: Unidata Support <address@hidden> > >> Reply-To: Erick Lorenz <address@hidden> > >> Organization: UCAR/Unidata > >> To: rkambic@uniadta, address@hidden > >> > >> > >> ------- Forwarded Message > >> > >> >To: address@hidden > >> >From: Erick Lorenz <address@hidden> > >> >Subject: File times > >> >Organization: UCAR/Unidata > >> >Keywords: 200012082136.eB8La8o05400 > >> > >> Is there a feature of the ldm that causes files to be dated > >> differently > >> from the local system time? > > > >Erick, > > > >The standard LDM configuration is to use GMT time because all the reports > >use GMT time. When the LDM is compiled it sets the TZ=GMT (time zone > >environment flag to GMT) I guess if you wanted to use PST then you could > >set : > > > >setenv TZ PST > > > >before building the source code. Probably would have strange file > >results, personally never tried it. > > > > > >> > >> Some of my AREA files are dated about 7 hours into the > >> future which would > >> be about correct if my system was running on GMT but the > >> date command gives > >> PST. > >> > >> I also notice that the events reported in ldmadmin watch are > >> consistant > >> with GMT rather than local. > >> > >> I ask this because I also noticed that when I touch a file > >> as root the same > >> discrepency occurs. I just want to make sure whether this > >> is due to the > >> LDM or perhaps is because my system was compromised > >> recently and now I have to look for some hacked program that > >> messing with > >> my dates. > >> > >It's the LDM > > > Robb > > Should TZ show up when I enter "env" (I can't see it in the list) > > or echo $TZ? (I get an undefined variable message)? Erick, Since it's compiled into the source code to use GMT, it doesn't have to show up as an environment var. We did it as a convience since everyone had to set TZ to GMT before building the LDM. > > Also should this affect root as well as LDM? > Noop, I believe many sysadmins use GMT so they can use xntp( used to keep machine clocks in sync). Could also be the default when the machines are shipped because the destination TZ is not known. Robb... > Thanks > > Erick > > +--------------------------------------------------------------------------+ > | Erick Lorenz, Programmer/Analyst Voice: 530-752-8297 | > | Atmospheric Science FAX: 530-752-1552 | > | Land, Air & Water Resources | > | University of California, Davis e-mail: address@hidden | > +--------------------------------------------------------------------------+ > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================