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.
Oatrick, If GVECT is defined, you will see output for the GVECT components. If you set GVECT= , then you won't get the vector components. The first set of values is for GFUNC. When you run from cron, your crontab will execute from your home directory, unless you otherwsie specify a "cd" to directory. I suspect that your difference is that your gemglb.nts where you are working has defined a GVECT, where as the other location doesn't. At any rate, just make sure your script from cron always sets all variables for GDPROF and don't let defaults read from gemglb.nts be used. Steve Chiswell Unidata User Support On Thu, 2005-03-31 at 11:35, Patrick S. Market wrote: > Steve: > > Shifting gears... > > How do I get GDPROF to give me the same file format when I have my > script on a crontab as when I run it by hand? I am trying to generate > files that have the form > > PROFILE > > 050331/0000V000 SPED 90.0;90.0 > > LATITUDE, LONGITUDE = ( 90.00, 90.00 ) > > > PRES SPED > 1000.00 6.796 > 850.00 9.941 > 700.00 7.924 > 500.00 4.432 > 400.00 2.498 > 300.00 3.765 > 250.00 3.666 > 200.00 2.984 > 150.00 2.446 > 100.00 2.691 > > which I get when I run the script by hand. However, when I put > the same script on the cron, I get this format: > > PROFILE > > > 050331/1200V000 SPED 90.0;90.0 > > LATITUDE, LONGITUDE = ( 90.00, 90.00 ) > > PRES SPED > 1000.00 4.270 > 850.00 6.532 > 700.00 6.598 > 500.00 4.087 > 400.00 2.126 > 300.00 3.409 > > > PRES U UREL V VREL > 1000.00 -3.988 1.528 > 850.00 -5.098 4.082 > 700.00 -5.735 3.261 > 500.00 -3.393 2.278 > 400.00 -0.823 1.960 > 300.00 -1.704 2.953 > > Is there any way to get the former format, even though I am running > on a cron? > > Pat