Skip to content

Retry downloading a shard when file sizes are zero. #261

Open
@alxmrs

Description

@alxmrs

Sometimes, files downloaded by weather-dl are created in GCS, but contain zero bytes. To address this, we could:

  • Add a check after fetch is complete that checks the file size in the bucket. If zero, retry the DL.
  • When we check if the file exists or needs to be skipped, we should also check the file size.

Workarounds: Users can make use of gsutil or equivalent tools to find all empty files. Then, they can delete these and re-download (with a separate invocation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions