moflaher/ttide_py

Test file/ better read me

Closed this issue · 2 comments

Hi Mitchell,

Seeing as how this is the first time I have ever used ttides, anyway you could write a python script that shows this thing working, cause right now me doing what I think is just giving me errors, which I am sure is because I am doing it wrong. That way I could just run the script, see what it is doing, and know how to mess with all this. It would be a crash course for me, and be quicker than me chugging through. Thanks.

I did get it to work, but only after changing the directories. I had to change to this in t_getconsts.py:

    if os.path.exists('t_constituents_const.npy') & os.path.exists('t_constituents_sat.npy') & os.path.exists('t_constituents_shallow.npy'):
        const=np.load('t_constituents_const.npy')
        sat=np.load('t_constituents_sat.npy')
        shallow=np.load('t_constituents_shallow.npy')

I would still enjoy a file, but I understand it more now. Will push sometime tomorrow

The script I use to run it is here.
http://pastebin.com/9L3keg7Z