-
Notifications
You must be signed in to change notification settings - Fork 28
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
import error buried with blanket exception #60
Comments
Hey @SBFRF. what projection are you trying to use? |
@danhamill Sorry I wasn't more clear. This was using the PyHum.dotest(). I think it can be fixed by simply putting
If it only handled (for example say) an |
Hmm. And you installed basemap using:
That bit of code was put in there because basemap and UTM projections dont play well together. Apparently, a workaround might be to use pyepsg, but I haven't looked into it. After you installed |
@danhamill thanks for your response. I've handled the basemap issue by installing My suggestion was more aimed specifically at the error handling. When using a wrong epsg code the following error is returned:
if you wanted to handle that error and only that error you would write:
This would handle the error as you expect and intend while also not suppressing the helpful error i received in the initial post. I would submit a PR, but I'm not sure that this is the only error you want to suppress/handle. If there are others you can |
submitted #PR63 |
So i was helping my co-worker install this package and ran into espg code errors relating to basemap. After some thorough digging i was able to isolate this issue to a missing install from basemap high res. The code throwing the error is below
The blanket exception was suppressing the output that provided information helping with install
The text was updated successfully, but these errors were encountered: