-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix IndexError #326
fix IndexError #326
Conversation
Hi @davide-f ! :) |
decided to check it in the else part as well, as two-digit-codes followed by a dot without anything else are looking pretty wierd ^^ |
Wow interesting @doneachh, can you explain when that happens? The GADM is 3 code by definition and it has been a bit tested; when running Africa I have not encountered this |
@davide-f I recieved this error when running Africa - the two config settings which are different to the default config and could probably lead to this are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies @doneachh , a little comment.
Morever, in this case with layer 0, is the GID_0 column a 3 letter code country or just 2?
Because if it is 2, than we could reverse to 3 letter code here and then the other PR should not be needed. What do you think?
Its 2 letter code countries - agree! Will change it next week :) |
Co-authored-by: Davide Fioriti <[email protected]>
for more information, see https://pre-commit.ci
Hello @doneachh , this PR seems pending. |
Hi @davide-f ! |
Closes # (if applicable).
Changes proposed in this Pull Request
Checklist
envs/environment.yaml
andenvs/environment.docs.yaml
.config.default.yaml
,config.tutorial.yaml
, andtest/config.test1.yaml
.doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
.doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.