Skip to content

extract_location pre-processor fails for cubes with 2D latitude and longitude arrays #2177

@nhsavage

Description

@nhsavage

Describe the bug
When using CORDEX data on a model with a rotated pole grid with the extract_location pre-processor it fails with:

ValueError: Interpolation coords must be 1-d for rectilinear interpolation.

The function: extract_point in preprocessor/_regrid.py

essentially needs extending to cope with cases where the latitude and longitude are not

Please attach

  • The recipe that you are trying to run, you can find a copy in the run directory in the output directory
  • The main_log_debug.txt file, this can also be found in the run directory in the output directory

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions