You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
High-level concept
I would like to query MPC observations for an object and then write the observations data to a file which is suitable as input to OpenOrb for orbit computations. I propose we add a function to the Obs class which would allow writing to file in DES or MPC format.
Please advise if there is already a way to do this using sbpy, I am a novice user still unfamiliar with this package.
Explain the relevance to sbpy
This is related to the sbpy.Data.Obs class
Proposal details
Write the file in DES and MPC formats using Python standard library.
Hi @monocongo , this sounds like a good idea. We have a to_file method in DataClass (from which Obs objects are derived) that passes parameters on to astropy.table.Table.write. Perhaps the Obs object should implement its own version that writes the DES or MPC formats if requested, or else passes on to the DataClass.to_file for other formats. Regardless, please give this a try, starting with methods that format the object into strings, e.g., Obs.to_mpc80 and Obs.to_des.
I've marked this as a v0.4 milestone, due by Aug 1, but if that timescale isn't good for you, let me know and I can change this to v0.5 (~1 Feb) at any time.
This is a request for
The requested changes will be implemented by
High-level concept
I would like to query MPC observations for an object and then write the observations data to a file which is suitable as input to OpenOrb for orbit computations. I propose we add a function to the Obs class which would allow writing to file in DES or MPC format.
Please advise if there is already a way to do this using sbpy, I am a novice user still unfamiliar with this package.
Explain the relevance to sbpy
This is related to the sbpy.Data.Obs class
Proposal details
Write the file in DES and MPC formats using Python standard library.
Example (pseudo-)code
The text was updated successfully, but these errors were encountered: