change default chunk_size
parameter and catch bigquery 403 Exceeded rate limits
to better explain the error to the user
#100
Labels
enhancement
New feature or request
Default chunk_size is set to 100 pixelblocks per upload batch right now.
For large raster it triggers a Bigquery error
403 Exceeded rate limits
cause you are not allowed to update a table to often.See #48 (comment) to reproduce
A good think would be to size the chunck in function of the raster size for large raster.
Another good thing would be to catch this Bigquery upload error and to reraise an error to the user explaining that he should increase the chunk size
The text was updated successfully, but these errors were encountered: