Tweaked a few things for speed. I think more could still be done. t_getconsts.py accounts for ~50% of the runtime.
Check to see if array is complex instead of real as 0+1j*0 is real not complex. This caused tidecon output to be scalar output instead of complex which broke scripts to run ttide on an entire domain.