Skip to content

generate_carbon_density in jh2589-fast-gedi branch: NameError: name 'glob' is not defined #126

@epingchris

Description

@epingchris

With the latest update on the jh2589-fast-gedi branch, I encounter the following error at the generate_carbon_density step:

Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/ark/methods/inputs/generate_carbon_density.py", line 103, in
main()
File "/ark/methods/inputs/generate_carbon_density.py", line 97, in main
generate_carbon_density(
File "/ark/methods/inputs/generate_carbon_density.py", line 24, in generate_carbon_density
glob.glob("2020.tif", root_dir=jrc_directory_path)
NameError: name 'glob' is not defined
Command exited with non-zero status 1

I suspect that a simple import glob in the beginning of the code would solve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions