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

track matching with octant #31

Open
pst019 opened this issue Nov 28, 2019 · 2 comments
Open

track matching with octant #31

pst019 opened this issue Nov 28, 2019 · 2 comments
Labels
question Further information is requested

Comments

@pst019
Copy link

pst019 commented Nov 28, 2019

Hi,
I would like to match the Octant tracks with tracks from the STARS list. The STARS list is stored as a pandas dataframe (see attached pickle file). Can I use the octant match_tracks function on this pandas dataframe for track matching?

STARS_list.zip

This is a short version of the python code:
tr = TrackRun(t_dir)
S= pd.read_pickle("STARS_list.pkl")
tr.match_tracks(S)

@dennissergeev
Copy link
Owner

hey @pst019
is this list the same as Rojo-etal_2019.csv that you sent me before?

To match PMCTRACK tracks to STARS tracks using octant, you have to supply match_tracks() with a list of OctantTrack objects (which are a subclass of pandas.DataFrame). An example can be found here: https://github.com/dennissergeev/mc_era5/blob/master/code/obs_tracks_api.py#L30
and
https://github.com/dennissergeev/mc_era5/blob/master/code/obs_tracks_api.py#L56

@dennissergeev dennissergeev added the question Further information is requested label Nov 28, 2019
@pst019
Copy link
Author

pst019 commented Nov 28, 2019

Yes, it is the same list.
I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants