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

[netCDFDecoders #ZVY-126174]: Perl Decoders

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: [netCDFDecoders #ZVY-126174]: Perl Decoders
  • Date: Fri, 12 Oct 2007 10:21:29 -0600

Malte,

eof on STDIN --shutting down

isn't an error, it's stating the all the input has been 
processed and the decoder is shutting down. Since this is 
a real time decoder, it has a select command that waits for
input for 20 minutes, if no input for 20 minutes or an eof
is encountered, it shuts down.

Since you are processing data from the  command line, here's 
how I would invoke the decoder:

usage: buoy2nc [-h] [-n (old|new)] cdlfile  [datadir] [yyyymm] < WMO input file

% buoy2nc -i buoy.cdl data 200710 < buoy.wmo


-i says that this is not real time data,  data is destination
dir and 200710 states year and month since reports don't have 
these files.  I'll attach a WMO format file for your testing.

Robb...

Ticket Details
===================
Ticket ID: ZVY-126174
Department: Support netCDF Decoders
Priority: Normal
Status: Open

Attachment: 2007101112_buoy.wmo
Description: Binary data