Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Obtain average irradiance values in each model output

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member
Dear, I hope you are well.

The SWDOWN, SWDDNI and SWDDIF values represent the instantaneous irradiance, right?

Is there a way to get these average values for each output? For example, hourly output from the WRF with the average irradiance values for each hour.

Thank you very much in advance,
Hello Robson,

Yes, the SWDOWN (GHI), SWDDNI, and SWDDIF variables represent the instantaneous irradiances.

We have recently added an accumulated (2D) GHI variable to the WRF-Solar diagnostics package, called ghi_accum. The equivalent time series output variable is ts_ghi_accum. Please see this pull request for more information:

Note that this addition is not yet in an official public release version; however, it will be in the next release (v4.4). You are free to use the develop branch, which contains this addition, at your own risk:

Hello Tim,

Thank you very much, this accumulated variable will be very useful for researching solar resources. Are there any plans to extend these increments in the code to the other irradiances as well?

All the best,
The code to accumulate the GHI is now in the latest version of WRF (v4.4). We have no plans at this moment to add other irradiances, but it should not be difficult to extend the code using the GHI case as an example.