# TNET Services, Inc. # # Copyright: (c) 1992-2007 Copyright TNET Services, Inc. ############################################################################ # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # # Star Chart #21 Sep 10 Initial Release #22 Sep 10 v2 added sky forecast for EU and other locations # added default initial star chart #24 Sep 10 v3 added Earth Satellite Vehicle Viewing # added TNETs Facts # 5 Oct 10 v4 added $location setting for regional title # cleaned up $showconstnamessky setting # added Moon conditions # added Meteor Shower and Tonight's Sky # added Sunspot image # added Stellar Neighbors clickable map # 3 Nov 10 v5 added sunspot graph # added color key for EU sky forecast ############################################################################ # This document uses Tab 4 Settings ############################################################################ require_once("Settings.php"); require_once("common.php"); ///////////////////////////////////////////////////////////////////////////// //SETTINGS START HERE//////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // For Star Chart setup $location="Lincoln NE"; //title for your broad viewing location or area // To set default view for sky chart, change parameter below from "none" to "inline" for only one direction. $defviewn= "none"; //NORTH is your default view $defviewe= "none"; //EAST is your default view $defviews= "none"; //SOUTH is your default view $defvieww= "none"; //WEST is your default view $defviewu= "inline"; //UP is your default view // $fov=120; //how much sky do you want to see in the star chart. $showconstnamessky="showconstnames=1&"; //To add Constellation names when viewing chart using the "Up" button, // add showconstnames=1& between the quotes above. $spacewxpg= "wxspacewx.php"; //the name of your Space Wx page. If you don't have one place this // address, or your own preference, between the quotes https://www.swpc.noaa.gov/primer/primer.html // // For Sky forecasts // Only use one $city location. Comment out the one not used. // For North American locations, goto https://cleardarksky.com/csk/, click Country/State/City, // then goto bottom of pg for code. Only copy code from inside quotes on

  Earth'sSky
Meteor Showers
Tonight
Tonight's Sky
     
0.0)?'North':'South'; $lon = $SITE['longitude']; $londir = ($lon < 0.0)?'West':'East'; $lat = abs($lat); $lon = abs($lon); ?>

Your Sky planets and constellations on

Your Sky view at <?php echo $UTCdate2; ?> -- click for interactive view
See Icon meanings

Sun/Moon Data for :
Sunspot Activity
data
Sunset:
Sunrise:
DIY Sunspot Viewer
moon illuminated - 
Moonrise:
New Moon:
Full Moon:
Sunspots last 30 days
Graph courtesy: Newquay Weather
  Space Wx
Space Weather



Phenomenal FREE Planetarium software with Satellite Tracking Stellarium

Sky Forecast
Forecasts courtesy of: ClearSky and 7timer
Color Key            
Worse                          Better                          Best Sky (including Wind)
Worse                          Best                          Worse Ground
7timer key


Stellar Neighbors

Click on any star for more details.
stars
Hyperphysics


Space Track-Satellite Passes

ESV Ground Trace
Satellite Ground Trace courtesy: Heavens-Above.com
Bright Satellite List for Lincoln, NE.
Notes about viewing ESVs:

When using lookangles, choose passes with high magnitudes; less than 6.0. ("Looks" are local time.)
Best viewing is when ESV is in Earth's penumbra; on the map, it's the solid line during night.
Dotted line on map denotes ESV is dark, in Earth's umbra (shadow).
Objects in orbit have to maintain a speed of at least 17,500mph, therefore ESVs traverse the sky noticeably different than aircraft.
ESVs appearing to blink are either tumbling rocket bodies, or spinning payloads with deployed solar arrays.
High-Eccentricity objects have a more ellongated orbit. Ground trace looks like a backwards C.
Regression-Ground traces will move West with each orbit due to Earth's rotation.


Script courtesy of: Lee from MadALwx.
Page template and Facts script courtesy of: TNET Weather on Weather-Watch.
Page Template and Moon script courtesy of: Saratoga Weather.
Graph base code courtesy of: jpGraph.
\n"; foreach ($EnglishMonths as $i => $monthEN) { $utcstr = preg_replace('|'.$SITE['monthNames'][$i].'|i',$monthEN,$utcstr); } echo "\n"; } $utc = strtotime($utcstr); $lclstr = date($timeFormat,$utc); if (isset($SITE['monthNames'])) { // convert From English for return (will only work if long-format month names in $timeFormat) echo "\n"; foreach ($EnglishMonths as $i => $monthEN) { $lclstr = preg_replace('|'.$monthEN.'|i',$SITE['monthNames'][$i],$lclstr); } echo "\n"; } return ($lclstr); } # locally used functions //========================================================================= // change the hh:mm AM/PM to h:mmam/pm format or format spec by $timeOnlyFormat function adjustWDtime ( $WDtime ) { global $timeOnlyFormat,$DebugMode; if ($WDtime == "00:00: AM") { return ''; } $t = explode(':',$WDtime); if (preg_match('/pm/i',$WDtime)) { $t[0] = $t[0] + 12; } if ($t[0] > 23) {$t[0] = 12; } if (preg_match('/^12.*am/i',$WDtime)) { $t[0] = 0; } $t2 = join(':',$t); // put time back to gether; $t2 = preg_replace('/[^\d\:]/is','',$t2); // strip out the am/pm if any $r = date($timeOnlyFormat , strtotime($t2)); if ($DebugMode) { $r = "" . $r; $r = '' . $r . ''; } return ($r); } //========================================================================= // adjust WD date to desired format // function adjustWDdate ($WDdate) { global $timeFormat,$timeOnlyFormat,$dateOnlyFormat,$WDdateMDY,$DebugMode; $d = explode('/',$WDdate); if ($d[2] > 70 and $d[2] <= 99) {$d[2] += 1900;} // 2 digit dates 70-99 are 1970-1999 if ($d[2] < 99) {$d[2] += 2000; } // 2 digit dates (left) are assumed 20xx dates. if ($WDdateMDY) { $new = sprintf('%04d-%02d-%02d',$d[2],$d[0],$d[1]); // M/D/YYYY -> YYYY-MM-DD } else { $new = sprintf('%04d-%02d-%02d',$d[2],$d[1],$d[0]); // D/M/YYYY -> YYYY-MM-DD } $r = date($dateOnlyFormat,strtotime($new)); if ($DebugMode) { $r = "" . $r; $r = '' . $r . ''; } return ($r); } ?>