-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding sfcWind derivation from uas and vas #2242
Conversation
@malininae many thanks for this! Looks good to me, but the time coordinate of the fixed cube is different from the time coordinate in the cmor cube:
vs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
time coord of fixed cube needs looking into, apart from that all fine 🍺
Is this the output from ERA? If yes, I've added the 30 mins offset for the hourly |
indeed! See #2242 (comment) - exactly half hour early 😁 So I guess this is the fix motivated by #2234 - so please adjust the test cube as well, so that the test reflects the correct time points. In the future it'd be good if you opened a separate PR per issue or fix needing solving, things are a bit more clear that way 👍 |
Sorry!!! I thought since they are related better to handle them in one pull request, will do better the next time 😊 By adjusting the test cube you mean the derived one? If yes, I'm currently applying the function to the models too. |
not a problem at all - just for future reference 🍺 As for the failing tests, the |
This comment was marked as off-topic.
This comment was marked as off-topic.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2242 +/- ##
=======================================
Coverage 93.72% 93.73%
=======================================
Files 238 239 +1
Lines 13125 13138 +13
=======================================
+ Hits 12302 12315 +13
Misses 823 823 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cheers muchly for the very useful work, Liza! @bouweandela maybe you got time give this one last glance, and merge, pls bud? 🍺
Hey @malininae thanks for the work, that might be useful for me too. I'm interested in sfcWind from ERA5, but on a monthly frequency. However, I just wanted to point out that the calculation is not linear, which means deriving sfcWind from monthly wind components is not the same as monthly mean of sfcWind calculated from higher frequencies. I'm not sure how monthly windspeed at 10m is calculated in the published ERA5 monthly dataset, but probably from higher frequencies. Do you think it makes sense to limit the required input data to hourly and/or 3hourly data? |
@lukruh thanks for the comment! It's indeed not an obvious question. I am writing a paper on extreme winds now and I looked through the 'stopping point' when |
To move this pull request forward, I would be keen to get #2256 merged first, then take out the custom variable from this pull request and then merge this. |
#2256 has now been merged. |
Following #1895 and #2234 the
sfcWind
derivation fromuas
andvas
has been added and the wind components fixes foruas
andvas
from ERA5 has been added. NB: it was impossible to add aheight10m
to the custom CMOR table.