def _GetGcsPath(source, error_log):
  """Get the path to the folder on Google cloud storage."""
  batch_sim_bucket = 'gs://makani/batch_sim/'
  gcs_folder = batch_sim_bucket + source

  if not error_log:
    gcs_folder += '/h5_logs/'
  else:
    gcs_folder += '/error/'

  return gcs_folder