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

[GEMPAK #RLV-418823]: Core Dumps



Phil,

You pattern SDUS[0-9] will catch some "non-nids" products,
such as the SDUS4x radar coded message products and the SDUS6x 
FTM products, so your dumps may be related to that.

The products that are NIDS format are SDUS[2357]

The SDUS8x are the DPA which aren't in NIDS format, but are
still able to plot with my library routines. A few others such ad the meso 
cyclone
product /pNMD are graphics of store location and tracks and not images, so can 
be plotted
by gpnids, but not gpmap- so that is something your csh plotting script
would want to look at.

Steve Chiswell
Unidata User Support






> Dear Support,
> 
> Hopefully I am sending this to the right location.  I believe it is
> Gempak related...
> I am trying to PIPE NEXRAD data to a program and have it A) store the
> file and B) Generate a gif image using GMAP.
> My problem is that I keep getting core dumps within the folder in
> which the script is located. (gempak/scripts/nexrad/) Here's what I've
> noticed:
> 
> 1) This only happens occasionally, but is certainly related to
> creating to the NEXRAD script. When I disabled it, the core dumps
> stopped.
> 2) Our selection of radars is limited to the midwest and I have
> noticed that the dumps occur with significantly greater frequency when
> there is weather in the area (this makes the file sizes larger).
> 3)  I changed the script that stores the data from c shell to Perl..
> hoping this might help. I would like to be able to execute gmap from
> Perl, but am not quite sure how to do that... I'll try and figure that
> out -- since the dumps are still occurring, it must be the c shell
> script that is the culprit.
> 4) Could the dumps be because I am attempting to execute gpmap
> before the file has finished writing? I would think closing the Pipe
> in the ldm and closing the file in Perl would eliminate that problem.
> 
> 
> Any help is appreciated.  I have attached my entry from pqact as well
> as the Perl Script that stores the radar images and activates the c
> shell program.
> 
> --
> NEXRAD        ^SDUS[0-9]{2} .... (......) /p(...)(...)
> PIPE  -close   /usr/local/gempak/scripts/nexrad/nexrad.pl \3 \2 \1
> --
> #!/usr/bin/perl
> 
> # Get Variables from LDM
> $radarsite = $ARGV[0];
> $product = $ARGV[1];
> $prodtime = $ARGV[2];
> 
> $storefile = "/usr/local/ldm/data/nexrad/$radarsite/$product
> $prodtime.raw";
> open (FILEOUT, ">$storefile") or die "Could not open!";
> while(<STDIN>)
> {
> print FILEOUT $_;
> }
> 
> close(FILEOUT);
> 
> 
> `/usr/local/gempak/scripts/nexrad/nexrad.csh $radarsite $product
> $prodtime`;
> 
> ----
> 
> Phil Birnie
> Webmaster
> Department of Geography
> The Ohio State University
> (614)519-6176
> www.birnies.com
> - Phil
> http://www.birnies.com
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: RLV-418823
Department: Support GEMPAK
Priority: Normal
Status: Closed