Skip to content

main block in geoloc.py fails with ValueError #195

@gerritholl

Description

@gerritholl

Executing geoloc.py as a script fails with ValueError:

$ python geoloc.py
Traceback (most recent call last):
  File "/home/gholl/checkouts/pyorbital/pyorbital/geoloc.py", line 288, in <module>
    pixels_pos = compute_pixels((noaa18_tle1, noaa18_tle2), sgeom, s_times)
  File "/home/gholl/checkouts/pyorbital/pyorbital/geoloc.py", line 206, in compute_pixels
    vectors = sgeom.vectors(pos, vel, *rpy)
  File "/home/gholl/checkouts/pyorbital/pyorbital/geoloc.py", line 117, in vectors
    x_rotated = qrotate(nadir, x, self.fovs[0] + roll)
  File "/home/gholl/checkouts/pyorbital/pyorbital/geoloc.py", line 176, in qrotate
    p__ = n_axis * sin_angle
          ~~~~~~~^~~~~~~~~~~
ValueError: operands could not be broadcast together with shapes (3,2048) (1,2) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions