Closed Jekus closed 8 years ago
I think adding timeout is a good idea, though I think we can calculate the timeout automatically:
times
and timeout
, we can add another variable deadline
to indicate in how many himawaripy should be done.
times = 3
and timeout = 120
) in the worst case himawaripy can run for a day using a single on a single core machine. :) ((((4 ** 2) * 3 * 120 / 60) / 24) / 4
)DEADLINE * 60 / (LEVEL ** 2)
seconds for each tile to be downloaded.@Jekus Thank you!
I find it can block for hours because of some network problems. Although it's not a common situation , I think it's a good idea to add a timeout for downloading each tile. If you don't set a timeout , it may affect the next execution of the script , depending on the scheduler you are using.