Closed CassandraAuri closed 1 year ago
My apologies for the late reply @CassandraAuri. I'm traveling these next two weeks and I haven't had the chance to run your code yet.
The conjunction_obj.lla_footprint
method does not return anything. It does, however, modify the internal conjunction_obj.sat
pandas dataframe attribute.
The exception is raised my pymap3d which does the actual mapping. My first though is that there is an improper latitude value(s) passed into it. Can you verify that a) max(lat) < 90 deg, min(lat) > -90 deg, and there are no NaN or -1E31 values? The -1E31 is IRBEM's invalid value flag. You will need to check the values in conjunction_obj.sat
right before you call map_azel()
.
So my altitude array was just empty as I was revamping it so the program obviously wouldn't know where my satellite was, otherwise it seems to be working as intended and I get the exact same image as pre-imager class implementation.
Cassandra
Describe the issue:
I am following the up to date Conjunction example. That example works with a toy satellite but using empheramis data, I am unsure of how to translate the altitude of the satellite to the footprint altitude.
I have initialized the Conjunction class with conj=asilib.Conjunction(asi, (time, (lat_sat,lon_sat,alt_sat)) then using conj.lla_footprint(alt=110) which returns None and messes up map_azel( see error)
In conjunction_py the comments are out of date so I am unsure what the proper return should be and am quite shocked to see its just one Non. instead an array of length alt_sat of Nones.
Reproduce the code example:
Error message:
Runtime information:
0.16.0 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)] Windows-10-10.0.19041-SP0
Context for the issue:
No response