Skip to content

Line 245_ProcSat_Altimeter.py needs to be fixed #119

Description

@BilalYasirAlvi

If one chooses the model as the target space, then the following error is encountered:
IndexError: single positional indexer is out-of-bounds

This happens because orig_def in line 245 is defined incorrectly:
orig_def = pyresample.geometry.SwathDefinition(lons=prlon, lats=AODN['LONGITUDE'].values[indt]); del prlo

The fixed line of code will be:
orig_def = pyresample.geometry.SwathDefinition(lons=prlon, lats=AODN['LATITUDE'].values[indt]); del prlon

This, of course, has no impact on the averaging along-track option (observations as target space) which is used in most of the cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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