!sENfoZnXsOePhaLRJE:matrix.org

poliastro

178 Members
General chat about poliastro, a fast, easy to use Python library for interactive Astrodynamics and Orbital Mechanics https://docs.poliastro.space31 Servers

Load older messages


SenderMessageTime
16 Apr 2021
@noc0lour:atrz.denoc0lour * This might not bee the prettiest solution but I do this results_gcrs = orbit.get_frame()._replicate( results, obstime=epoch ) 16:24:29
@cadair:cadair.comCadairActually I think a call to realise_frame with the Geodetic representation is probably all I need.16:24:38
* @cadair:cadair.comCadair mutters things about radians16:25:06
@cadair:cadair.comCadairSo I know almost nothing about Grodetics16:25:15
@cadair:cadair.comCadairWhat I want is the lon/lat of the satellites poisition over the Earth16:26:36
@cadair:cadair.comCadairI assume this is the way to do this?16:26:41
@astrojuanlu:matrix.orgastrojuanlu
In reply to @cadair:cadair.com
What I want is the lon/lat of the satellites poisition over the Earth
I think this might one of the most requested use cases :) does orbit.represent_as(WGS84GeodeticRepresentation) work?
16:27:59
@cadair:cadair.comCadairIt seems to16:28:16
@cadair:cadair.comCadairgood to know I did the right thing!16:28:25
@astrojuanlu:matrix.orgastrojuanluI didn't actually test it, so let us know if you see anything weird!16:28:46
@cadair:cadair.comCadairI really hate the stupid representations some times16:30:32
@noc0lour:atrz.denoc0lour
In reply to @astrojuanlu:matrix.org
I think this might one of the most requested use cases :) does orbit.represent_as(WGS84GeodeticRepresentation) work?
Oh that's neat, I'm going extra steps right now
16:30:48
@cadair:cadair.comCadairbut I have nobody to blame but myself, I wrote the original implementation of them16:30:49
@cadair:cadair.comCadairAlso Astropy, I don't want my angles in dms, that's a stupid way to format an angle16:31:22
@noc0lour:atrz.denoc0lour
In reply to @noc0lour:atrz.de
Oh that's neat, I'm going extra steps right now
    ground_track = sc_position.transform_to(coords.ITRS(obstime=sc_position.obstime))
    ground_track = ground_track.represent_as(coords.SphericalRepresentation)
16:31:41
@noc0lour:atrz.denoc0lourwhich is doing the transformation for a time-series of coordinates 16:32:01
@cadair:cadair.comCadairOk I am pretty sure I am getting the wrong answers16:33:30
@cadair:cadair.comCadair* Ok I am pretty sure I am getting the wrong answers16:33:33
@cadair:cadair.comCadair noc0lour you have a pet way to plot ground tracks? 16:33:49
@noc0lour:atrz.denoc0lourI don't, I thought there were some good commits latetly on poliastro 16:34:57
@noc0lour:atrz.denoc0lourhttps://docs.poliastro.space/en/latest/examples/Generating%20orbit%20groundtracks.html16:35:43
@noc0lour:atrz.denoc0lourprobably where I stole the conversion 16:35:52
@cadair:cadair.comCadairooh, EarthSatellite you say16:36:29
@noc0lour:atrz.denoc0lourI haven't used this part of poliastro (yet), I'm pretty sure you should be able to feed raw coordinates to the functions as well 16:37:24
@noc0lour:atrz.denoc0lour Here is the API doc: https://docs.poliastro.space/en/latest/autoapi/poliastro/earth/plotting/groundtrack/index.html seems like you have to use the EarthSatellite object right now and then it will propagate for you 16:39:50
@noc0lour:atrz.denoc0lour * Here is the API doc: https://docs.poliastro.space/en/latest/autoapi/poliastro/earth/plotting/groundtrack/index.html seems like you have to use the EarthSatellite object right now and then it will propagate for you 16:39:55
* @cadair:cadair.comCadair now has to work out how to make plotly do anything other than print a bunch of json to his terminal16:43:30
@cadair:cadair.comCadairahha16:44:23
17 Apr 2021
@astrojuanlu:matrix.orgastrojuanlu I set poliastro website to be https://www.poliastro.space and enforced HTTPS, the apex domain (https://poliastro.space) is working as well. If you see links to the old blog.poliastro.space, please open issues or fix them directly. 14:33:09
@astrojuanlu:matrix.orgastrojuanlu * I set poliastro website to be https://www.poliastro.space and enforced HTTPS, the apex domain (https://poliastro.space) is working as well. If you see links to the old blog.poliastro.space, please open issues or fix them directly. 14:33:33

There are no newer messages yet.


Back to Room List