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

Adds TimeTable and Catalog conversion to Pandas DataFrames #36

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

jeandet
Copy link
Member

@jeandet jeandet commented Mar 16, 2022

This does a simple conversion to Pandas DataFrames for TT and Catalogs. Note that Catalogs as defined in Speasy doesn't force Events to always have the same meta-data, this leads to a DataFrame where columns are the union of all Events meta-data plus as usual start_time and stop_time.

Closes #35

Closes SciQLop#35

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #36 (4645ff6) into main (038c88a) will decrease coverage by 1.41%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   87.10%   85.69%   -1.42%     
==========================================
  Files          31       31              
  Lines        1474     1489      +15     
  Branches      248      252       +4     
==========================================
- Hits         1284     1276       -8     
- Misses        127      150      +23     
  Partials       63       63              
Flag Coverage Δ
unittests 85.69% <100.00%> (-1.42%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
speasy/webservices/amda/ws.py 86.39% <ø> (-2.05%) ⬇️
speasy/products/catalog.py 96.07% <100.00%> (+1.20%) ⬆️
speasy/products/timetable.py 96.87% <100.00%> (+0.32%) ⬆️
speasy/webservices/amda/_impl.py 72.04% <0.00%> (-13.98%) ⬇️
speasy/webservices/amda/rest_client.py 75.55% <0.00%> (-6.67%) ⬇️
speasy/core/__init__.py 95.00% <0.00%> (-2.50%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36c3b16...4645ff6. Read the comment docs.

@jeandet jeandet merged commit 6282950 into SciQLop:main Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants