Skip to content

Conversation

@outdoorpet
Copy link
Contributor

Modified imports to suit relative import. Fixed bug in missing 'phase' column when reading picks ensemble file into Pandas data frame. Fixed bug where script will crash if there are no common events (parameter df_plot = None). So just need to catch the df_plot = None case.

…' column when reading picks ensemble file into Pandas data frame. Fixed bug where script will crash if there are no common events (parameter df_plot = None). So just need to catch the df_plot = None case.
@geojunky geojunky requested a review from zhang01GA June 16, 2021 04:15
Copy link
Contributor

@zhang01GA zhang01GA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ashby for the PR. It looks all good to me except a bit of concern on the import changed to relative path: what if this script is run outside the seismic/gps_corrections/ directory? and in the scenario when seismic package is installed by a "pip install ".

Copy link
Contributor

@zhang01GA zhang01GA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge is approved. thanks.

@outdoorpet
Copy link
Contributor Author

Thanks Ashby for the PR. It looks all good to me except a bit of concern on the import changed to relative path: what if this script is run outside the seismic/gps_corrections/ directory? and in the scenario when seismic package is installed by a "pip install ".

Hi Fei, yes I realised afterwards that the script was meant to be called from the top level directory. Disregard that import modification. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants