-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
calculate_hand does not execute immediately #103
Comments
How long did it take for the help message to eventually show up? Seconds, minutes, hours? I believe @jacquelynsmale was also experiencing this issue with the |
Yes, this is a problem with the asf-tools container right now (I also meant to open an issue). It's order seconds but 10s of them. I tried removing this to see if it helped and it does not: |
@cirrusasf was seeing the delay in a local conda environment, suggesting it's not related to the Docker container. |
Oh, interesting. I was only seeing it in the docker container the first time, and not locally for me. 🤔 |
See if bringing your local conda environment up to date introduces the issue? Could have been introduced by a dependency version bump. |
Some timing notes: Both of these commands:
takes ~1.65 seconds in my environment which is fully updated It's something about the imports in
but the same ~1.65 seconds to run:
|
On the docker side, the times are even worse the first time they are run ( run each right after a fresh
takes ~31.5 seconds
takes ~0.07 seconds
takes ~31.5 seconds The second time I run the above commands in a running container, the ~31.5 seconds times drop to ~3 seconds |
And completely wiping my local conda environment and recreating sees the same thing as the docker container 31s the first time, 3 seconds the second. |
I just tested it. it takes ~3 secs. |
Describe the bug
When I fire up calculate_hand without any argument, it takes a while to show up help information:
usage: calculate_hand [-h] [-v] out_raster vector_file
calculate_hand: error: the following arguments are required: out_raster, vector_file
The text was updated successfully, but these errors were encountered: