You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume that rs is solar radiation. But why do we take the mean (and not the sum, for example) and then, what are these numbers? What are the original units in the input dataset?
I ask this because I would like to understand how to prepare my solar radiation data from ERA5-Land. For each day, I have 24 values representing the hourly accumulated solar radiation in MJ/m2. How do I convert them to daily solar radiation that can be entered into pyet?
After doing some research, here is my interpretation:
In this example, the original data appears to be from a weather station and is in W/m2. That is, this is the “rate” – how many joules are received per second per square meter. It doesn’t seem to matter how many such measurements there are during the day. No matter how many, their average is taken using the mean() function. This gives an average “rate” for the day (W/m2), which shows on average how many joules of energy per second were received per square meter. 1 W/m2=1J/sec/m2. One day has 86400 seconds. We multiply the average “rate” by 86400 and get how many joules were received per square meter in total for the day (J/m2/day). We divide by 1000000 to convert from joules to megajoules (MJ/m2/day).
But what about the ERA5-Land data. They are not in W/m2. They are in hourly accumulated values in MJ/m2 (the original data was in J but they were first converted to MJ) which maybe, can be written as MJ/m2/hour. So I just need to sum the 24 values to get MJ/m2/day. Can I use this value for input to pyet? Is my logic correct? I would appreciate your comments.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Would someone explain how the solar radiation data in Example 2 is processed? I mean, what is the meaning of this line
rs = xr_ds["GL"].resample(time="1D").mean() * 86400 / 1000000
I assume that rs is solar radiation. But why do we take the mean (and not the sum, for example) and then, what are these numbers? What are the original units in the input dataset?
I ask this because I would like to understand how to prepare my solar radiation data from ERA5-Land. For each day, I have 24 values representing the hourly accumulated solar radiation in MJ/m2. How do I convert them to daily solar radiation that can be entered into pyet?
All reactions