项目作者: vauSoftTech

项目描述 :
Study of wobbling of Earth
高级语言: Python
项目地址: git://github.com/vauSoftTech/we.git
创建时间: 2020-11-08T15:42:45Z
项目社区:https://github.com/vauSoftTech/we

开源协议:GNU General Public License v3.0

下载


Wobbling of the Earth

Study of wobbling motion of the earth
Program is a Python Script and can be run via terminal on Linux, Mac or Windows.
as follows:

  1. python3 we.py

When you run the program, it will first prompt you as follows:-

  1. WELCOME TO STUDY OF WOBBLING OF EARTH PROGRAM
  2. =============================================
  3. Please select event type you want to calculate wobbling for
  4. a.) Summer Equinox
  5. b.) Summer Solstice
  6. c.) Winter Equinox
  7. d.) Winter Solstice
  8. x.) Exit
  9. Please enter your choice as "A" to "E" or "X" to exit.
  10. >

Once you select your option and press enter, it shows you another prompt

  1. Please enter number of years for which calculation should be performed.
  2. (If you do not enter anything, default calculation is for 500 years from the
  3. starting year.)
  4. >

Then there is an option to select a year.

  1. Please enter year from which calculation should be started.
  2. (NOTE :- If you do not enter anything, default year is 250 years in the past from
  3. the date of current year.)
  4. >

Then there is yet another demand to enter something. (Don’t worry, this one is the last one!)

  1. Please select Sun related event for which calculation should be performed.
  2. a.) Sunrise
  3. b.) Sun at Meridian
  4. c.) Sunset
  5. d.) Sun at Anti-Meridian
  6. (NOTE :-
  7. 1. If you do not enter anything, default event for which calculation will
  8. be done is Sunrise.
  9. 2. All events will be calculated for the selected place - i.e. Ahmedabad
  10. )
  11. >

Now it will generate a CSV file within “output” folder with its name that preserves the choices entered at the prompts.
some Sample data is here if you would like to have a look, and a graph created using such
a sample data looks like following image:-
Sample Graph