This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DTOR = np.pi / 180. # Degrees to radians | |
| def time2jday(date): | |
| ''' Converts date string (in ISO 8601 UTC) to Julian day.''' | |
| # Convert from the string to year, month, day | |
| if 'T' in date: | |
| date, time = date.split('T') | |
| else: | |
| date,time = date.split() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| This is a setup.py script generated by py2applet | |
| Usage: | |
| python setup.py py2app | |
| """ | |
| from setuptools import setup | |
| APP = ['myprog.py'] |