Skip to content

Fix a bug in cmip_handler.py#4

Open
SKanoksi wants to merge 1 commit intolzhenn:masterfrom
SKanoksi:patch-1
Open

Fix a bug in cmip_handler.py#4
SKanoksi wants to merge 1 commit intolzhenn:masterfrom
SKanoksi:patch-1

Conversation

@SKanoksi
Copy link

A bug occurs when repeated variables present in the mapping table, e.g., MPI-ESM1-2-HR_HIST.csv.

The file iterator, idf, is not forwarded when the handler skips loading the first repeated variable. As the result, 'KeyError:' exception is thrown when it tries to load the next variable as the variable name and the input filename are inconsistent.

The scripts are very useful to the community so I think it would be best to get this tiny bug fixed here.

A bug occurs when repeated variables present in the mapping table, e.g., MPI-ESM1-2-HR_HIST.csv.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant