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

[IDD #JZM-551600]: Is the SUNY NLDN feed down?



Hi Mike,

re:
> I am indeed ingesting lightning data from Vaisala, but it's not
> any use to us so far as it's in some sort of weird binary compressed
> format.

Interesting.  Because you said this before, I asked David Knight
if he knew anything about the format of the data.  He told me that
it should be in the same format as what they always got.  I am
under the impression that this is the same as the format that was
resent in the IDD NLDN (now called LIGHTNING) feed, but I will check
to make sure (and let you know what I found).

re:
> Vaisala was supposed to switch it to ascii and still hasn't done
> this.  So, my code is very simple as it's just stuffing the data into a
> single file.

OK.

re:
> #!/usr/bin/perl
> $pid=fork();
> if($pid == 0){
> # start up ssh
> exec("ssh -l uofa03 -L 12345:127.0.0.1:10232 192.101.77.209");
> exit(0);
> }
> else{
> 
> #save data to file
> sleep 5;
> $date=`date -u +%Y%m%d`;
> chop($date);
> print "$date\n";
> $fn="~lightning/$date.lightning";
> if ( -e $fn ){
> `nc localhost 12345 >> ~lightning/$date.lightning`;
> }
> else{
> `nc localhost 12345 > ~lightning/$date.lightning`;
> }
> waitpid($pid,0);
> }

Thanks for the code.  I will give it a try later today to
see what I can see.

Question:

- why the fork?

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: JZM-551600
Department: Support IDD
Priority: Normal
Status: Closed


pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy