PIC-IRIS / PH5

Library of PH5 clients, apis, and utilities
Other
15 stars 9 forks source link

[BUG] ph5availability performance #506

Closed timronan closed 1 year ago

timronan commented 1 year ago

Describe the bug ph5availability performance is too slow to be able to accurately build the ph5availablity tsindex archive that drives the IRIS web services.

Environment (please complete the following information):

To Reproduce Steps to reproduce the behavior: Run Ph5availability on any PH5 experiment and observe the amount of time that it takes for the function to execute.

Expected behavior The function should be faster which will make it more user friendly.

Additional context PH5_availability consist of 6 for loops which is the reason that this function is so slow. https://github.com/PIC-IRIS/PH5/blob/master/ph5/clients/ph5availability.py#L330

timronan commented 1 year ago

This issue was resolved. Thanks for the help.