Then I thought it might be the short billed curlew, but no, the beak is too long to be it.
Finally, I came across the picture of black-tailed godwit. I checked the tail in my photo, and it seemed to fit! I will just have to go with this name until someone tells me otherwise.
Isn't he/she grand? I am currently visiting California and enjoy the beach scene immensely! It is something that I have always loved to see!