Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading UVIS HDAC file throws exception #88

Open
rfrenchseti opened this issue Jun 6, 2023 · 0 comments
Open

Reading UVIS HDAC file throws exception #88

rfrenchseti opened this issue Jun 6, 2023 · 0 comments

Comments

@rfrenchseti
Copy link
Collaborator

Attempting to read an UVIS HDAC file results in the following error:

Traceback (most recent call last):
  File "/home/rfrench/src/pdw/pds.py", line 25, in <module>
    bp = oops.Backplane.Backplane(obs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/seti/oops/pds-oops/oops/backplane/__init__.py", line 143, in __init__
    self.obs_event = obs.event_at_grid(self.meshgrid, time=self.time)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/seti/oops/pds-oops/oops/observation/pixel.py", line 256, in event_at_grid
    event.neg_arr_ap = meshgrid.los
    ^^^^^^^^^^^^^^^^
  File "/seti/oops/pds-oops/oops/event.py", line 565, in neg_arr_ap
    value = Vector3.as_vector3(value).as_readonly()
            ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/seti/oops/pds-oops/polymath/vector3.py", line 54, in as_vector3
    return Vector3(arg)
           ^^^^^^^^^^^^
  File "/seti/oops/pds-oops/polymath/vector.py", line 37, in __init__
    super(Vector,self).__init__(arg, mask=mask, derivs=derivs, units=units,
  File "/seti/oops/pds-oops/polymath/qube.py", line 351, in __init__
    (values, arg_mask) = Qube._as_values_and_mask(arg, opstr=opstr)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/seti/oops/pds-oops/polymath/qube.py", line 494, in _as_values_and_mask
    raise TypeError('invalid%s data type: %s'
TypeError: invalid Vector3 data type: method

Program:

import hosts.cassini.uvis as uvis
obs = uvis.from_file('HDAC2009_005_01_25.LBL')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants