make tide file creation more robust; fixes #81
was failing on gauges where values for variables are empty for the
period being examined (but the values exist elsewhere in the dataset)
Merge pull request #84 from twdb/robustify-tide-file-export

make tide file creation more robust; fixes #81