Trees | Indices | Help |
---|
|
Usefull methods regarding time, sun, math, strings and CSV format for crepyscule module.
Project home page is http://ptaff.ca/crepyscule/
|
|||
string |
|
||
string |
|
||
tuple |
|
||
list |
|
||
tuple |
|
||
tuple |
|
||
tuple |
|
||
tuple |
|
||
tuple |
|
||
list |
|
||
bool |
|
||
list |
|
||
dictionnary |
|
||
float |
|
||
string |
|
||
string |
|
||
|
|||
list |
|
||
list |
|
||
list |
|
||
list |
|
||
list |
|
||
float |
|
||
list |
|
||
float |
|
||
float |
|
||
float |
|
||
list |
|
|
|||
t = gettext.translation('crepyscule_tools', sys.path [0]+ '/lo
|
|||
HALF_YEAR = 182.62
|
|||
OBLIQUITY_OF_ECLIPTIC = 23.439
|
|
Convert a ctime value in iso8601.
|
Convert numbers of date in the iso 8601 format. We assume UTC time zone.
|
Description: Return an array containing the hour, the minutes and the secondes, respectively.
|
Return a list containing all the dates to the year corresponding to the ctime in in iso8601 format.
|
Given a tuple containing (nYear, nMonth, nDay), remove one day and returns the tuple.
|
Generate the information (sunset, sunrise, altitude) for one year.
|
Check the value of sunset to see if there is some values over 24.
|
Check the value of sunset to see if there is some values over 24.
|
Correct some bugs related to time of Sun file.
|
Get the solar flux for a whole year.
|
Is this julian day during summer time?
|
Compute the time gained or lost for each day.
|
Compute the values indicated by sValue and return a dictionnary with the date in iso8601 as keys.
|
Compute the value indicated by sValue and return it.
|
Take an int and return '01' instead of '1'.
|
Remove the extension of a string file. Extension is defined as the letters after the right most '.'
|
Simply call get_sunrise_sunset_as_csv and save it into a text file.
|
Returns a list containing the date, sunrise, sunset, daylength, like the CSV file. header (first element): year place1 lat1 lon1 UTC1 summer_time_code1 (optional) place2 lat2 lon2 UTC2 summer_time_code2 data: date, sunrise1, sunset1, (optional) sunrise2, sunset2
|
Returns a list containing the date, sun altitude like the CSV file. header (first element): year place1 lat1 place2 lat2 data: date, sun_altitude1 (optional), sun_altitude2
|
Returns a list containing the date and the daylight variation in minutes. header (first element): year place1 lat1 place2 lat2
|
Returns a list containing the date, maximal solar flux for each day. header (first element): year place1 lat1 place2 lat2 data: date, max_solar_flux1 (optional), max_solar_flux2
|
Returns a list containing the date, twilight length in minute for each day. header (first element): year place1 lat1 place2 lat2 data: date, twilight_length1, twilight_length2 (optional)
|
Get the maximum solar flux value for this day.
|
Get the daylength for all the year corresponding to this ctime.
|
Get the daylength for the day corresponding to this ctime.
|
Get the twilight length in minute for this day and latitude.
|
Get the twilight length in minute for this day and latitude.
|
Get the twilight length in minute for the year of this day and latitude.
|
|
t
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Mar 15 16:26:39 2009 | http://epydoc.sourceforge.net |