Skip to content
SolarOne - an Android-app - calculates and shows solar data for any place on earth
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
add10auto.png
add10notauto.png
graph.png
graph10.png
graph7_1.png
graph7_2.png
graphlength.png
sector.png
sector10.png
sector7.png
sectorsat10.png
solarone.gz
world10.png
world7.png
world7sat.png
worldlist10.png
worldmenu.png
worldmsg7.png
worldwelcome7.png

README.md

SolarOne

SolarOne - an Android-app - calculates and shows solar data for any place on earth ©GubboIT  2012-2014

To see more screenshots of SolarOne check the png-files.

solarone.gz contains source code, assets, and other files from Eclipse. Can (hopefully) be extracted on both Windows and Linux using tar.

SolarOne 1.4

SolarOne calculates and shows solar data for any place on earth. The solar data is stored in a local database on your device. There are 5 predefined places – one for each part of the world but you can add places of your own (see Add Place below). The main window shows all places as balloon icons on a world map. Selected places are red balloons and the rest are yellow balloons. Tap on a balloon to see some info and to select or deselect the place. The menu item Places shows a list of all places and if they are selected or not. You can also select or deselect using Places. On all “map windows” you can use a Map or Satellite view. Map view is default.

Add Place

A place of your own can be added in this way (it is assumed that Auto is checked):

· Enter the name of the place so Google Maps understands it. Could be “Kuala Lumpur” or “Ferme Park Road 200, London”.

· Touch Get Values and verify that you are on the right place on the map. Otherwise go back and provide more or other info in the name field. Tap on the map in the exact location of interest.

· Touch OK. Latitude, longitude, timezone, and DST values are now set.

· Go back to the name field and make it shorter if it is long.

· If the values seem to be reasonable touch Save and the solar data for this place are calculated and put into the database.

You can also enter values manually. This can be useful if you want to define a place without name. Uncheck Auto and you can set values manually or get the values step by step.

If Daylight Saving Time (DST) is checked DST will be added to the time of sunrise and sunset if DST is applicable. When you touched Get Values (or Get Time Zone) the values of DST Start, DST End, and DST Offset are set. For most places those values are correct but DST is a tricky business – the rules can be changed with short notice. If the values do not seem to be correct you can set the values using the Change buttons (Auto must be unchecked). If Daylight Saving Time (DST) is checked ***** will be added after the name of the place. This is true even if the place never applies DST.

Delete Place

Select one or more places and touch Delete Place. The places are removed from the database.

Graph

To graph solar data select one or two places and touch Graph. If you want to compare solar data you can select two places.

From the menu you can select the graphs Rise & Set, Max Elevation, or Length of Day:

· Rise & Set shows the time of sunrise and sunset for each day during the year.

· Max Elevation shows the maximum elevation in degrees for each day during the year: 90 degrees means that the sun is in zenith and 0 that it does not rise.

· Length of Day shows the time between sunrise and sunset for each day during the year.

Tap on the month line to the left to see the solar data at different dates. Use the + and buttons to adjust.

Solar Sector

The solar sector from a point can be described as the directions in which you can see the sun from sunrise to sunset. To view the solar sector: Select a place and touch Solar Sector. Google Maps is displayed for the place and the solar sector is marked. How the sun seems to move in the sky (clockwise in the north or counter-clockwise in the south) is indicated by the red arrow. Tap on the month line to see the solar sector at different dates. Use the + and buttons to adjust. Use the Info button to see solar data.

Touch Animate(in menu) and the solar sector is shown for the 5th, 15th, and 25th of each month of the year.

Azimuth at sunrise is defined as the angle counted clockwise from true north along the horizon to the place where the sun rises.

Daylight Saving

All time is local time with or without daylight saving depending on if Daylight Saving Time (DST) is checked in Add Place. If Daylight Saving Time (DST) was checked ***** is appended to the name of the place.

Accuracy

The solar data is less accurate far to the north or south and especially when the sun is very low. The solar data assumes a free horizon and you normally don’t have a free horizon: There are mountains, buildings, forests…

Acknowledgments

Sunrise, sunset and length of day data is calculated using the Java classes from http://www.jstott.me.uk/jsuntimes/. The calculations of max elevation and azimuth at sunrise and sunset were added to the Java classes. All formulas are from NOAA (http://www.noaa.gov). See  NOAA Solar Calculator  for definitions.

Time zone info is taken from Google Time Zone API .

DST Start and DST End are computed using Joda Time. Joda Time is licensed under the Apache License .

Copyright 2013 GubboIT

 

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 

http://www.apache.org/licenses/LICENSE-2.0

 

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.