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.