Skip to content

Error getting interpolation in ERA files #5

@erik-17

Description

@erik-17

Hi, I am getting this message after running an instance of tropo_icams_sar.py

  File "/home/erikr/miniconda3/envs/mintpy/lib/python3.11/site-packages/scipy/interpolate/_rgi.py", line 27, in _check_points
    raise ValueError(
ValueError: The points in dimension 1 must be strictly ascending or descending

Apparently the issue points to this line:

fP = RGI((latv[::-1], lonv), Presi0[::-1,:],method='linear',bounds_error=False,fill_value=None)

EDIT:
I feel there is an issue with areas that have the prime meridian in it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions