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

Re: syn2nc

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: Re: syn2nc
  • Date: Sat, 30 Jul 2005 09:57:16 -0600 (MDT)

On Tue, 28 Jun 2005, 50001791 wrote:

> hi,
>
>
> i am trying to decode SYNOP bulletins with syn2nc. I
> use the -v option to get a text file and then parse
> the file. I got DIR = 940 for the station 45004 and
> many other invalid values for other stations. What
> is wrong with that?

Martin,

in syn2nc line 383 should be:

        if( $2 ne "//" && $2 <= 36 ) {

have you found any other bugs?  i'm getting ready to make a release and
would like to fix them first.

thanks,
robb...

>
> Thanks.
>
>
> Martin Wong
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================


  • References: