Changeset 673


Ignore:
Timestamp:
May 25, 2012, 3:56:27 PM (13 years ago)
Author:
tnavarro
Message:

use of python function instead of fortran code for GCM ls axtime. No need to compile timestuff anymore

Location:
trunk/UTIL/PYTHON
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot.py

    r665 r673  
    8888    from numpy.core.defchararray import find
    8989    from videosink import VideoSink
    90     from timestuff import sol2ls
     90    from times import sol2ls
    9191    import subprocess
    9292    #from singlet import singlet
     
    204204              print "converting to Ls ..."
    205205              for iii in range(len(time)):
    206                 time[iii] = sol2ls(time[iii]) # to use with timestuff
     206                time[iii] = sol2ls(time[iii])
    207207                if iii > 0:
    208208                  while abs(time[iii]-time[iii-1]) > 300:
  • trunk/UTIL/PYTHON/times.py

    r404 r673  
    5757      timeperi=1.90258341759902
    5858
    59       if type(soltabin).__name__ in ['int','float']:
     59      if type(soltabin).__name__ in ['int','float','float32']:
    6060        soltab=[soltabin]
    6161        solout=np.zeros([1])
Note: See TracChangeset for help on using the changeset viewer.