- Timestamp:
- Apr 23, 2013, 10:30:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppcompute.py
r934 r938 187 187 # northern hemisphere spring equinox. 188 188 # ----------------- 189 def mars_sol2ls(soltabin ):189 def mars_sol2ls(soltabin,forcecontinuity=True): 190 190 year_day = 668.6 191 191 peri_day = 485.35 … … 225 225 solout[i]=ls 226 226 i=i+1 227 if forcecontinuity: 228 for iii in range(len(soltab)-1): 229 while solout[iii+1] - solout[iii] > 180. : solout[iii+1] = solout[iii+1] - 360. 230 while solout[iii] - solout[iii+1] > 180. : solout[iii+1] = solout[iii+1] + 360. 227 231 return solout 228 232
Note: See TracChangeset
for help on using the changeset viewer.