[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000911: surface data images



Tom,

I logged in, and see something that appears to be a problem with
the script sfc_namerica2.csh which is producing the
gif images.

The gdcntr invocation in the script uses GDATTIM = all, which
will loop through all the grid times in the file. But, you are only
producing a single latestus2.gif image of the last surface hour
(the dattim is set in the sfmap << EOF03 section). 

What you probably want here is to change GDATTIM = all to GDATTIM = last.
If I'm interpreting the script correctly, then this will sync up your
sfmap time with the lastest available grid time in the grid file.
I copied sfc_namerica2.csh to sfc_namerica2.csh.sav and made this change
to the running version.
The web page:
http://weather2.ca.uky.edu/ldmdata/images/us2_ani.gif
appears to have the correct analysis for 12:00.

In general, you would only want to use "all" with clear=yes to
produce a series of gif file outputs (with the .# extensions),
but that isn't what the script is doing. If this same script is working under 
solaris,
then you probably are just getting the lastest gdcntr plot overtop
of the previous times. In any case, that would make the script run much slower 
since it is doing 24 plots by the end of the day instead of 1.

Steve Chiswell
Unidata User Support





>From: Tom Priddy <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200009111632.e8BGWAb12796

>From: Tom Priddy
>
>The "crontab -l" command shows us running the following script for surface gir
> ds:
>5,35 * * * * /export/home/gempak/scripts/LDM/oasurf.csh us-
>"tmpf;dwpf;pmsl;relh;sknt" > /dev/null 2>&1
>
>Unidata Support wrote:
>
>> Tom,
>>
>> It sounds as if your oasurf.csh script is not sucessfully
>> creating the grids for your contouring.
>>
>> You can run GDINFO with gdfile=000911_surf.gem to see
>> what times are in your file. If you aren't adding new
>> grids for the surface fields, then there are several possibilities:
>>
>> 1) You cron isn't running...check your "crontab -l" output for the entry
>> to make sure it is run every hour probably.
>>
>> 2) The script is failing. Its possible that the script uses a shell or
>> system command that gives different output on Linux than for Solaris.
>>
>> 3) The GEMPAK routines aren't getting the correct configuration to run.
>>
>> You probably need to run the script by hand with some debug statements to fi
> nd
>> out if it is the script that is failing at some point, or see what the
>> output from the GEMPAK programs is.
>>
>> If you need me to log in to your Linux box with a temporary password, let me
>> know the relevant information regarding what crontab script is running to
>> create the grids etc.
>>
>> Steve Chiswell
>>
>> >From: Tom Priddy <address@hidden>
>> >Organization: UCAR/Unidata
>> >Keywords: 200009111425.e8BEPqb03404
>>
>> >From: Tom Priddy
>> >
>> >Steve....continuing to determine the reason for our linux vs unix
>> >problem with
>> >contour analysis...we noticed that the oasurf.csh script to make .gem
>> >files are
>> >much different in size.....by an order of magnitude.  As of 10:30 this
>> >morning...
>> >dalton: solaris
>> > 1 gempak   staff      333312 Sep 11 10:14 000911_surf.gem
>> >
>> >weather2: linux system
>> >  1 gempak   staff   3783680 Sep 11 10:13 000911_surf.gem
>> >
>> >The .gem file is 3.7 meg on the solaris system but only 333 k on the
>> >linux
>> >system.  The scripts are the same. Any ideas why the files would be
>> >different on the unix system and linux system./tom
>> >
>> >--
>> >===========================================================================
>> >
>> >Tom Priddy,  Extension Ag. Meteorologist.....email: address@hidden
>> >Ag. Weather Center.............................fax: 606-257-5671
>> >243 Ag. Engineering Bldg.....................phone: 606-257-8803 ext 245
>> >
>> >Dept. of Biosystems and Ag. Engr.
>> >University of Kentucky
>> >Lexington, KY 40546-0276
>> >HOMEPAGE......................................http://wwwagwx.ca.uky.edu/
>> >
>> >===========================================================================
>> >
>> >
>> >
>> >From address@hidden Mon Sep 11 08:42:46 2000
>> >Received: from byron.ca.uky.edu (byron.ca.uky.edu [128.163.192.2])
>> >       by unidata.ucar.edu (UCAR/Unidata) with ESMTP id e8BEgjb04594
>> >       for <address@hidden>; Mon, 11 Sep 2000 08:42:46 -0600 (MDT
> )
>> >Organization: UCAR/Unidata
>> >Keywords: 200009111442.e8BEgjb04594
>> >Received: from ca.uky.edu ([128.163.193.52])
>> >       by byron.ca.uky.edu (8.9.3/8.9.3) with ESMTP id KAA12916
>> >       for <address@hidden>; Mon, 11 Sep 2000 10:42:14 -0400 (EDT
> )
>> >Message-ID: <address@hidden>
>> >Date: Mon, 11 Sep 2000 10:41:29 -0500
>> >From: Tom Priddy <address@hidden>
>> >X-Mailer: Mozilla 4.72 [en] (WinNT; I)
>> >X-Accept-Language: en
>> >MIME-Version: 1.0
>> >To: Unidata Support <address@hidden>
>> >Subject: loop not changing contours
>> >Content-Type: text/plain; charset=us-ascii
>> >Content-Transfer-Encoding: 7bit
>> >
>> >From: Tom Priddy
>> >
>> >Steve....here's the real problem. The contours are not changing
>> >http://weather2.ca.uky.edu/ldmdata/images/us2_ani.gif
>> >
>> >--
>> >===========================================================================
>> >
>> >Tom Priddy,  Extension Ag. Meteorologist.....email: address@hidden
>> >Ag. Weather Center.............................fax: 606-257-5671
>> >243 Ag. Engineering Bldg.....................phone: 606-257-8803 ext 245
>> >
>> >Dept. of Biosystems and Ag. Engr.
>> >University of Kentucky
>> >Lexington, KY 40546-0276
>> >HOMEPAGE......................................http://wwwagwx.ca.uky.edu/
>> >
>> >===========================================================================
>> >
>> >
>> >
>>
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>
>--
>===========================================================================
>Tom Priddy,  Extension Ag. Meteorologist.....email: address@hidden
>Ag. Weather Center.............................fax: 606-257-5671
>243 Ag. Engineering Bldg.....................phone: 606-257-8803 ext 245
>Dept. of Biosystems and Ag. Engr.
>University of Kentucky
>Lexington, KY 40546-0276
>HOMEPAGE......................................http://wwwagwx.ca.uky.edu/
>===========================================================================
>
>