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

Fix broken wwatch3 figures generation #103

Merged
merged 7 commits into from
Apr 28, 2022
Merged

Fix broken wwatch3 figures generation #103

merged 7 commits into from
Apr 28, 2022

Conversation

douglatornell
Copy link
Member

Some of the breaked was fixed in UBC-MOAD/moad_tools#19 and some here.

Also included here is elimination of the work-around for OpenDAP not being able to open the wwatch3
fields dataset directly from ERDDAP. Result of that is much faster code now :-)

Model fields dataset can now be opened directly from ERDDAP by xarray;
much faster :-)
No need to go as low level as xarray.Dataset.values.
pandas seems to be pickier than it used to be about how column names are
specified; perhaps something to do with MulitIndex changes.
re: changes in wave_height_period sig module.
@douglatornell douglatornell self-assigned this Apr 28, 2022
@douglatornell douglatornell added bug Something isn't working critical Plots labels Apr 28, 2022
@douglatornell
Copy link
Member Author

Successfully tested in production.

@douglatornell douglatornell added this to the v22.1 milestone Apr 28, 2022
@codecov
Copy link

codecov bot commented Apr 28, 2022

Codecov Report

Merging #103 (65f0955) into main (610c32b) will increase coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   72.95%   72.99%   +0.04%     
==========================================
  Files         122      122              
  Lines       16039    16026      -13     
  Branches     1306     1305       -1     
==========================================
- Hits        11701    11698       -3     
+ Misses       4287     4277      -10     
  Partials       51       51              
Flag Coverage Δ
unittests 72.99% <0.00%> (+0.04%) ⬆️

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

Impacted Files Coverage Δ
nowcast/figures/wwatch3/wave_height_period.py 29.85% <0.00%> (+1.10%) ⬆️

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 610c32b...65f0955. Read the comment docs.

@douglatornell douglatornell merged commit 965ed0c into main Apr 28, 2022
@douglatornell douglatornell deleted the fix-wave-figs branch April 28, 2022 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Plots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant