You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System: SUSE Linux Enterprise Server 15 SP4
Description
Pyflexplot fails after producing pdf files but before merging them when using a configuration file specified on the command line.
Example
The command pyflexplot --dest=/scratch/mch/kaufmann/flexpart/job/66/plot_depo icon-ch1-ctrl_depo_pdf.toml
fails with
File "/scratch/mch/kaufmann/src/pyflexplot/src/pyflexplot/cli/cli.py", line 222, in cli
wrapped_main(ctx, **kwargs)
File "/scratch/mch/kaufmann/src/pyflexplot/src/pyflexplot/cli/main.py", line 145, in main
dry_run=pdf_dry_run,
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'pdf_dry_run' where it is not associated with a value
The same happens even when an otherwise working preset-file is used, such as pyflexplot --setup infile /scratch/mch/kaufmann/flexpart/job/66/output/grid_conc_20240723060000.nc --dest=/scratch/mch/kaufmann/flexpart/job/66/plot_opr opr_icon-ch1-ctrl_all_pdf.toml
where the latter is a link to a preset file in the repository.
Description
Pyflexplot fails after producing pdf files but before merging them when using a configuration file specified on the command line.
Example
The command
pyflexplot --dest=/scratch/mch/kaufmann/flexpart/job/66/plot_depo icon-ch1-ctrl_depo_pdf.toml
fails with
The same happens even when an otherwise working preset-file is used, such as
pyflexplot --setup infile /scratch/mch/kaufmann/flexpart/job/66/output/grid_conc_20240723060000.nc --dest=/scratch/mch/kaufmann/flexpart/job/66/plot_opr opr_icon-ch1-ctrl_all_pdf.toml
where the latter is a link to a preset file in the repository.
The text was updated successfully, but these errors were encountered: