Skip to content

ShadowFinderColab TypeError #31

@rroh1779

Description

@rroh1779

I was attempting to use this to geolocate an image, when I attempt to put it in local time, it throws me this error:
TypeError Traceback (most recent call last)
/tmp/ipython-input-1558258542.py in <cell line: 0>()
50 sun_altitude_angle=angle_to_sun,
51 )
---> 52 finder.find_shadows()
53 fig = finder.plot_shadows()
54 except (ValueError, AssertionError) as e:

1 frames
/usr/local/lib/python3.12/dist-packages/pandas/core/indexes/base.py in setitem(self, key, value)
5369 @Final
5370 def setitem(self, key, value) -> None:
-> 5371 raise TypeError("Index does not support mutable operations")
5372
5373 def getitem(self, key):

TypeError: Index does not support mutable operations
I added an image of what I inputted to help:
Image

This input worked when I had it in utc, but when I put it in local it broke. Gemini say's it could be a problem with panda versions but idk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions