Author Topic: https://www.usno.navy.mil/USNO/astronomical-applications  (Read 566 times)

0 Members and 1 Guest are viewing this topic.

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
https://www.usno.navy.mil/USNO/astronomical-applications
« on: November 13, 2018, 04:17:05 PM »
Looks like it's down. I had to disable today site was taking 30 seconds to load.    get-USNO-sunmoon.php
Randy

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: https://www.usno.navy.mil/USNO/astronomical-applications
« Reply #1 on: November 13, 2018, 04:19:59 PM »
Use the get-USNO-sunmoon.php 3.01 - 20-Oct-2017 and insert a $SITE['useUSNO'] = false; into your Settings.php and it will use internal calculations instead of calling on the api.usno.navy.mil site.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: https://www.usno.navy.mil/USNO/astronomical-applications
« Reply #2 on: November 13, 2018, 04:47:57 PM »
Use the get-USNO-sunmoon.php 3.01 - 20-Oct-2017 and insert a $SITE['useUSNO'] = false; into your Settings.php and it will use internal calculations instead of calling on the api.usno.navy.mil site.

Will do thanks.
Randy

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: https://www.usno.navy.mil/USNO/astronomical-applications
« Reply #3 on: November 13, 2018, 05:08:11 PM »
Is there a special place for:
$SITE['useUSNO'] = false


Everywhere I try messes up index.
Randy

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 6364
    • Valentine Nebraska's Real-Time Weather
Re: https://www.usno.navy.mil/USNO/astronomical-applications
« Reply #4 on: November 13, 2018, 05:18:55 PM »
My bad forgot the end, working now
 $SITE['useUSNO'] = false;

Site navy.mil is back up but going to allow the internal to work. Looks only 1-2 minutes off today, good enough for me.
« Last Edit: November 13, 2018, 05:23:32 PM by ValentineWeather »
Randy