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

[GEMPAK #LFY-555423]: Editing parameters in surface SHIP files

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.


  • Subject: [GEMPAK #LFY-555423]: Editing parameters in surface SHIP files
  • Date: Fri, 13 Apr 2007 17:12:33 -0600

> Hi Steve,
> 
> I am attempting to modify PMSL values in a SHIP/BUOY file using
> SFEDIT.  Instead of modifying the values, SFEDIT merely add extra
> lines to the file, so that the file has duplicate lines of the same
> stations with the old AND the modified PMSL data.  Why is it doing
> that?
> 
> Kwan
> 
> 

A ship format file can have multiple instances of the same STID in a given time
bin since it is allowed to move.

In the pirep decoder, a check is made, for instance, to see if the SLAT and 
SLON are
the same for the DATTIM and filter out duplicates that way, but it would
be OK for the same SHIP to report from the same location multiple times
within the hour. The dc decpoders are binning the ships into
hourly files!

You can run SFDELT to remove the old report for the area = @STID
before running SFEDIT to eliminate the duplicate.

Steve Chiswell
Unidata User Support

Ticket Details
===================
Ticket ID: LFY-555423
Department: Support GEMPAK
Priority: Normal
Status: Closed