Skip to content

Vertical regridding to reference levels fails when reference dataset needs to be downloaded #1454

@schlunma

Description

@schlunma

Describe the bug

A recipe with the following preprocessor

  preprocessor_1:
    extract_levels:
      levels: bcc-csm1-1
      scheme: linear

fails when the reference dataset (here bcc-csm1-1) needs to be downloaded (with offline=False) since the loading of this dataset already happens in _recipe.py prior to downloading:

settings['extract_levels']['levels'] = get_reference_levels(
filename=filename,
project=variable_data['project'],
dataset=dataset,
short_name=variable_data['short_name'],
mip=variable_data['mip'],
frequency=variable_data['frequency'],
fix_dir=fix_dir,
)

Please attach
recipe_test_reference_levels.yml.txt
main_log_debug.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions