Author Topic: An odd error, could someone pinpoint an issue?  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Offline ebweather

  • Member
  • *
  • Posts: 9
An odd error, could someone pinpoint an issue?
« on: January 09, 2018, 02:47:06 PM »
CWOP seems to flag these packets as containing an error, but the root cause is not obvious at this time.

http://www.findu.com/cgi-bin/errorlist.cgi?call=FW2121&last=24

What is missing here? Is "g..." valid for a required, but unavailable, gust speed measurement?

Can anyone spot what I am missing here? I've based data format on FAQ # 7 (link).

Thanks,
Gene

Offline dupreezd

  • Forecaster
  • *****
  • Posts: 446
Re: An odd error, could someone pinpoint an issue?
« Reply #1 on: January 09, 2018, 05:48:44 PM »
Gene, about a year ago a wrote a PHP program to grab the data from an Ambient ObserverIp and post the data to CWOP. This is an extract from that program. Hope this help.

Code: [Select]
//   FW0717>APRS,TCPXX*:/241505z4220.45N/07128.59W_032/005g008t054r001p078P048h50b10245e1w
// in above TCPXX is no longer used, should be TCPIP
$APRSdata =""; //Make sure we start clean
    $APRSdata = "FW0717"; // CWOP ID or callsign
    $APRSdata = $APRSdata . ">APRS,TCPIP*:"; // network type
$APRSdata = $APRSdata . "@".date('his'); //time since midnight
//    $APRSdata = $APRSdata . "@".$time; // time of report
    $APRSdata = $APRSdata . "z3008.75N/09524.78W"; //  lat long - put yours in here like "9900.00N/00099.00E"
    $APRSdata = $APRSdata . "_".$ave_wind_dir; //Wind direction in degrees
    $APRSdata = $APRSdata . "/".$ave_wind_speed; //Wind speed in mph
    $APRSdata = $APRSdata . "g".$wind_gust; //Windgust in mph
    $APRSdata = $APRSdata . "t".otempf (); //Outside temp
    $APRSdata = $APRSdata . "r".LRain (); //rain in hour. Actually this is rain rate
    $APRSdata = $APRSdata . "p".DRain (); // doesn't have rain in last 24 hours. Maybe a project for later
    $APRSdata = $APRSdata . "P".DRain (); //Rain since midnight
    $APRSdata = $APRSdata . "h".Humidity1 (); //Humidity
    $APRSdata = $APRSdata . "b".Pressure (); //Barometric presure
$APRSdata = $APRSdata . "L".Solar (); //Solar radiation
    $APRSdata = $APRSdata . "Weather logger V3.1.0"; //My information

//write the CWOP data to a file for testing
// file_put_contents('.\CWOP.txt', $APRSdata . PHP_EOL,FILE_APPEND); //un-comment when writing to data file
WS-1200-IP | ObserverIP | Meteobridge 3.6
WU, PWSWeather - KTXCONRO61
CWOP - FW0717
Blitzortung 2100

Offline dupreezd

  • Forecaster
  • *****
  • Posts: 446
Re: An odd error, could someone pinpoint an issue?
« Reply #2 on: January 09, 2018, 05:59:53 PM »
Looks like this value might be wrong
z3930.06N/10443.100W should be z3930.06N/10443.10W
« Last Edit: January 09, 2018, 06:02:47 PM by dupreezd »
WS-1200-IP | ObserverIP | Meteobridge 3.6
WU, PWSWeather - KTXCONRO61
CWOP - FW0717
Blitzortung 2100

Offline ebweather

  • Member
  • *
  • Posts: 9
Re: An odd error, could someone pinpoint an issue?
« Reply #3 on: January 09, 2018, 06:45:53 PM »
Looks like this value might be wrong
z3930.06N/10443.100W should be z3930.06N/10443.10W


I think you are right. Thanks!

 

anything