-
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
Wind speed derivation from 'uas' and 'vas' #1895
Comments
cheers, Liza! I support anything that scientists may need - I can assist with the PR 👍 How do you think @ESMValGroup/scientific-lead-development-team ? |
@valeriupredoi the other option is to create |
Thanks for the issue @malininae. I would be also interested (thought about it before but never calculated it so far). I think one issue we must be aware of, is the nonlinearity of the calculation. It should be fine to calculate hourly sfcWind from hourly uas and vas, but I'm not sure, how the daily/monthly sfcWind is defined, i.e. if it needs to be calculated as mean of the hourly sfcWind or if we can use the monthly mean uas and vas directly? |
@katjaweigel, a very good point! I did a brief analysis of the daily |
@malininae yes, for hourly to daily that could be probably included in the cmorizer, because there are no daily raw ERA5 data in any way. I'm more concerned about monthly data: There is monthly uas and vas. I'm not 100% sure if monthly sfcWind is defined as mean hourly sfcWind or can be calculated from monthly uas and vas (the second would be much more convenient due to data amount but we should not do it, if it would be not defined that way). |
@katjaweigel oh yeah, those might be problematic. As an option, if one is bored, we can look at how do the monthly means from monthly mean |
@valeriupredoi @katjaweigel Sorry, two weeks turned into eight months :-) But, I sort of created the function, but would need an advice: we derive
ALL_DERIVED_VARIABLES[short_name.lower()] and in
ALL_DERIVED_VARIABLES[short_name] . So what ends up happening for the variable named sfcWind , if the script filename is sfcWind.py there is an error in line 93, but if it is called sfcwind.py then it fails in line 59. Since there is a comment # noqa: N806 , I suspect the issue was already raised. There are two ways to deal with it, first to make the call of the ALL_DERIVED_VARIABLES more consistent, or to rename the variable as let's say dersfcwind as derived_near_surface_wind_speed referring that it's derived from uas and vas . What do you think would be the best way?
|
@malininae two points: that noqa is there to tell pep8 (standards) to go for a walk ie standard N806 (variable in function should be lowercase) is ignored. About the derived var issue - could you point me to a PR or branch and give me the errors you get please? |
@valeriupredoi sorry, we had Canadian Thanksgiving, so didn't answer right away :-) The branch is https://github.com/ESMValGroup/ESMValCore/tree/dev_derive_sfcWind I am attaching the recipe and the log file. Since there is no specific reason why |
@valeriupredoi it looks like getting rid of |
The
and here
and that should solve the issue. To compute the 3-hourly data from the hourly data, you can use the hourly_statistics preprocessor function with the argument |
Is this done now that #2242 has been merged? |
Hi,
I might have missed something, but I was wondering if there's interest in a
sfcwind
variable derivation fromuas
andvas
? It's may be not super important for the CMIP data, but it is for ERA5 (and may be other reanalysis or observation). In couple of weeks, I might come to that, if others are supportive.The text was updated successfully, but these errors were encountered: