Skip to content
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

Crash in sp2gpl #9

Closed
goord opened this issue Oct 12, 2018 · 3 comments
Closed

Crash in sp2gpl #9

goord opened this issue Oct 12, 2018 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@goord
Copy link

goord commented Oct 12, 2018

The script crashes with the traceback

Traceback (most recent call last):
  File "/nfs/home/users/oord/miniconda2/envs/blueact/bin/ece-postprocess", line 4, in <module>
    __import__('pkg_resources').run_script('ece-postprocess==0.1', 'ece-postprocess')
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/pkg_resources/__init__.py", line 661, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1448, in run_script
    exec(script_code, namespace, namespace)
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/ece_postprocess-0.1-py3.5.egg/EGG-INFO/scripts/ece-postprocess", line 82, in <module>
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/ece_postprocess-0.1-py3.5.egg/ece_postprocess/AMET_land_surface.py", line 105, in __init__
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/ece_postprocess-0.1-py3.5.egg/ece_postprocess/AMET_land_surface.py", line 136, in runPostprocess
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/ece_postprocess-0.1-py3.5.egg/ece_postprocess/AMET_land_surface.py", line 428, in sp2gpl
  File "/nfs/home/users/oord/miniconda2/envs/blueact/lib/python3.5/site-packages/ece_postprocess-0.1-py3.5.egg/ece_postprocess/AMET_land_surface.py", line 428, in <listcomp>
ValueError: invalid literal for int() with base 10: ''

Will investigate further

@goord
Copy link
Author

goord commented Oct 12, 2018

This only occurs when applying the script to the first leg, which contains the ICM{GG,SH}ece3+000000 files btw, so not a showstopper for me

@rvanharen
Copy link

I might have a fix for this one locally, I recall running into the same issue at some point

@rvanharen rvanharen added the duplicate This issue or pull request already exists label Nov 14, 2018
@rvanharen
Copy link

duplicate of #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants