[python-users] Reliable Siphon Source for Metar Data and Graceful Failure for NCSS empty queries

  • To: "python-users@xxxxxxxxxxxxxxxx" <python-users@xxxxxxxxxxxxxxxx>
  • Subject: [python-users] Reliable Siphon Source for Metar Data and Graceful Failure for NCSS empty queries
  • From: "Capehart, William J" <William.Capehart@xxxxxxxxx>
  • Date: Sun, 26 Sep 2021 18:19:35 +0000
  • Authentication-results: unidata.ucar.edu; dkim=none (message not signed) header.d=none; unidata.ucar.edu; dmarc=none action=none header.from=sdsmt.edu;
Hi All.

I’m adopting siphon and climbing its learning curve as a substitute for some of 
our LDM functionality and we’re running into a problem with finding a reliable 
source for a metars in real time.  My querries into unidata’s ncss via thredds 
is not always getting a steady stream.

Also along these lines, I’m also having some problems in getting siphon 
returning something other than a 404 crash on a ncss.get_data(query) when the 
search turns up no results for a time/location so I can jump to the next step 
in some of my automated scripting.

Is there an option here I’m missing on both issues (steady metars and a 
workable test on how many results my query will deliver)?

Cheers and Thanks
Bill
–––––––––––––––––––––––––––––––––––––––––––
Dr. Bill Capehart, Director, Atmospheric and Environmental Sciences
Civil & Environmental Engineering
South Dakota Mines
501 E. Saint Joseph St., Rapid City, SD 57701
605.484.5692 (Cell) | 
William.Capehart@xxxxxxxxx<mailto:William.Capehart@xxxxxxxxx>
[South Dakota Mines]<https://www.sdsmt.edu/>
[South Dakota Mines on 
Facebook]<https://www.facebook.com/SouthDakotaMines/>[South Dakota Mines on 
Instagram]<https://www.instagram.com/southdakotamines/>[South Dakota Mines on 
Twitter]<https://twitter.com/sdsmt>[South Dakota Mines on 
Snapchat]<https://www.snapchat.com/add/sdsmt>



PNG image

PNG image

PNG image

PNG image

PNG image