Next Article in Journal
Assessing Multi-Scale Atmospheric Circulation Patterns for Improvements in Sub-Seasonal Precipitation Predictability in the Northern Great Plains
Previous Article in Journal
Improving Air Quality Prediction via Self-Supervision Masked Air Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A High-Precision Sub-Grid Parameterization Scheme for Clear-Sky Direct Solar Radiation in Complex Terrain—Part I: A High-Precision Fast Terrain Occlusion Algorithm

1
Shandong Institute of Meteorological Sciences, Jinan 250031, China
2
Institute of Carbon Neutrality, Qilu Zhongke, Jinan 251401, China
3
Collaborative Innovation Center on Forecast and Evaluation of Meteorological Disasters, Nanjing University of Information Science & Technology, Nanjing 210044, China
4
Institute of Atmospheric Physics, Chinese Academy of Sciences, Beijing 100029, China
*
Author to whom correspondence should be addressed.
Atmosphere 2024, 15(7), 857; https://doi.org/10.3390/atmos15070857
Submission received: 31 May 2024 / Revised: 13 July 2024 / Accepted: 18 July 2024 / Published: 19 July 2024
(This article belongs to the Section Atmospheric Techniques, Instruments, and Modeling)

Abstract

:
In atmospheric modeling, sub-grid parameterization is an important method for studying the topographic effects of solar radiation using high-resolution Digital Elevation Model (DEM) data. For reducing the amount of computation, some approximate methods that can lead to errors are used in existing sub-grid parameterization schemes for clear-sky direct solar radiation (SPS-CSDSR). The lack of a high-precision fast terrain occlusion algorithm (HPFTOA) remains one of the biggest constraints in this field. This study proposed an HPFTOA. It mainly uses two kinds of acceleration algorithms. One method is to use a dynamic, lossless, and fast occlusion search radius. Another way is to use the rectangular grid for calculations within the accuracy of DEM data to avoid coordinate projection conversions. The test results indicate that the HPFTOA can carry out large-scale computation based on DEM data with a resolution of 90 m. Because it rarely uses approximation algorithms and considers the curvature of the Earth, SPS-CSDSR can achieve unprecedented precision. The HPFTOA can also be used in the fields of mountain solar energy assessment, remote sensing, and telemetry, including terrain-obscuring the probe. As computer performance improves and algorithms and execution code are optimized, the application prospects will be very broad.

1. Introduction

It is well known that solar radiation provides all of the Earth’s external heat. It warms the ocean, land, and air, driving weather and climate, and provides almost all of the energy for the ecosystem. Therefore, solar radiation is an important component in surface physical process models for weather, hydrology, climate, and ecological systems.
A mountain can be regarded as consisting of many inclined surfaces. As early as the 1970s, Swift and Kondratyev systematically presented the basic theory of solar radiation on inclined surfaces [1,2].
After computer technology and Digital Elevation Model (DEM) data began to be widely used, Dozier and Frew and other scholars successively proposed mountain solar radiation models based on DEM data [3,4,5,6,7,8]. These methods show that the spatial distribution of clear-sky solar irradiance (CSSI) can be strongly affected by terrain factors (altitude, slope, slope direction, terrain occlusion, etc.)
In order to introduce the terrain effects on solar radiation into the atmospheric model, sub-grid parameterization schemes based on high-resolution DEM data have been developed [9,10,11,12,13,14,15,16]. Based on mountain solar radiation models, these methods calculate the parameterized factors of sub-grid terrain effects on direct solar radiation, diffuse radiation, and reflected radiation. For example, when coupling the terrain effect factor f M p for direct solar radiation, the downward direct solar radiation flux E d is instead by E d c o s Z M f M p at the land surface. E d is calculated by the atmospheric model without terrain. Z M is the solar zenith angle. The coupling terrain effects on CSSI simulation experiments show that terrain effects on CSSI can alter the simulation results of the energy budget, surface temperature, and precipitation, such as in the Tibetan Plateau and related regions [10,12,15,17,18,19].
However, the above parameterization schemes all use approximate methods. Table 1 lists these approximations of sub-grid parameterization schemes for clear-sky direct solar radiation (SPS-CSDSR). They also parameterize isotropic diffuse radiation and reflection radiation and express the terrain’s shielding of diffuse radiation through sky visibility. In theory, these could all lead to varying degrees of bias. For example, when visibility is less than the distance to the mountain, the shielding of diffuse radiation may be excessive. Because reliable downward solar radiation observational data are lacking in mountainous areas [20], none of their accuracy has been widely verified.
This study will focus on solving the approximate problem about SPS-CSDSR.
The computation for SPS-CSDSR based on high-resolution DEM data (such as 90 m) is very costly. High-resolution DEM data are very dense and typically utilize isometric latitude and longitude coordinates to save storage space. When considering the curvature of the Earth to calculate cast shadows, the data often need to be transformed through projection methods (such as [9]), which can strain storage and memory resources. Another massive computation involves traversing the search terrain occlusion along the solar azimuth. When there is a lack of high-performance computers and efficient algorithms, such expensive computational costs are often unaffordable for a regional atmospheric model.
Early methods ignored the cast shadows and assumed that the terrain has specific distribution characteristics. These methods have facilitated the study of terrain effects on solar radiation, but they are not suitable for practical applications. Other methods used low-resolution DEM data. This does not fully reflect the terrain effect.
In recent years, a new approximation method was proposed by He et al. [14], utilizing the solar position on the atmospheric model grid to parameterize the clear-sky direct solar irradiance without cast shadows. This method was further developed by Zhang et al. [15] and Huang et al. [16]. But processing cast shadows in this way becomes difficult. He et al. [13] ignored cast shadows. Zhang et al. [15] used the cast shadowless coverage S F p in the mode grid; this resulted in negative deviation [16]. Huang et al. adjusted S F p to S F C p [16] (Index 8 in Table 1). However, according to its function, when S F p = 0.001, S F C p will be greater than 0.9 for an atmospheric model with a horizontal resolution of 3 km. This is almost equivalent to ignoring the cast shadows.
In addition, the lookup table (Index 10 in Table 1) for S F p loses some precision [16]. The accuracy of this lookup table is significantly lower than DEM90. Since the horizontal direction only has 100 directions, the horizontal resolution of 90 m can only be achieved within 1432 m. The absolute altitude error of SRTM DEM data is less than 10 m [21]. This accuracy can only be achieved within 2 km because the maximum terrain shielding angle sine is divided into 100 levels. As the distance increases, the accuracy of the lookup table will significantly decrease. For example, at 20 km, one azimuth will represent 1.3 km. The high accuracy of DEM data cannot be fully utilized.
Usually, direct solar radiation occupies the highest proportion during clear skies in the daytime, especially in mountainous areas with high atmospheric transparency. The result of SPS-CSDSR can be used as a parameterized factor for diffuse radiation and reflected radiation. Therefore, the deviation in SPS-CSDSR can reduce the estimation accuracy of total solar radiation, which can then impact the weather and climate prediction results of atmospheric models. Ensuring the accuracy of the calculation for direct solar radiation is crucial.
In summary, the lack of a high-precision fast terrain occlusion algorithm (HPFTOA) is one of the biggest constraints in this field. The purpose of Part I of this study is to optimize algorithms to avoid the use of approximate methods and make the computational cost feasible, thus achieving high precision in SPS-CSDSR.
Based on some key acceleration algorithms, this study presents the HPFTOA. Because it can have a wider range of applications (such as solar energy assessment and remote sensing correction) than SPS-CSDSR and requires to be shown in detail, it is presented as Part I of this study. Part II will focus more on the application of the high-precision SPS-CSDSR in the atmospheric model.

2. Methods

2.1. The Original High-Precision SPS-CSDSR

This paper defines the high-precision SPS-CSDSR needs to use DEM data with a horizontal resolution of at least 90 m. Equations (1)–(5) provided below are basically consistent with those of Müller and Scherer [9], except that they utilized DEM data with a horizontal resolution of 30 arc seconds (~1 km).
The power of direct solar radiation received in complex terrain can be measured by the clear-sky horizontal direct solar irradiance (CSHDSI), which represents the total direct solar radiation received per unit area of a horizontal plane per unit time. In atmospheric models, CSHDSI is equivalent to the direct downward shortwave radiation. This study found that some coupled simulation studies ignored the effect of geometric surface enlargement. It was emphasized by Müller and Scherer [9]. This would lead to an underestimation of total solar radiation. Therefore, in this paper, the acronym “CSHDSI” was used in the equations to prevent confusion and to help clarify this issue.
The CSHDSI in an atmospheric model grid cell can be calculated from sub-grid cells by the following equations.
C S H D S I M = 1 N s k = 1 N s C S H D S I s k
with
C S H D S I s k = D N I s k · M A X ( c o s I s k , 0.0 ) · S F s k · A s k / A s k 0
c o s   I s k = c o s   α s k s i n   h s k + s i n   α s k c o s   h s k c o s   ( θ s k β s k )
where M and s indicate the atmospheric model grid cell and the sub-grid cell, respectively. N s and k are the number of sub-grid cells within an atmospheric model grid cell and the sequence number of a sub-grid cell, respectively. D N I is the Direct Normal Irradiance. I s k is the sunlight incidence angle between the plane normal and the solar beam. S F s k is the shading factor (0 for the cast shadow, 1 for the no cast shadow). A s k and A s k 0 are the surface area and the horizontal projected area of the sub-grid cell, respectively. Equation (3) is given by Kondratyev [2], where I s k depends on slope α s k , aspect (slope direction)   β s k (0 for north, increasing clockwise), solar altitude angle h s k between the solar beam and the horizontal plane, and solar azimuth angle θ s k (0 for north, increasing clockwise).
SPS-CSDSR uses the basic assumption that a sub-grid cell and its parent grid cell have the same DNI, i.e., D N I s k D N I M , thus establishing the following:
C S H D S I M p D N I M · f M p
with
f M p = 1 N s k = 1 N s ( M A X ( c o s I s k , 0.0 ) · S F s k · A s k / A s k 0 )
where p indicates parameterization. D N I M can be obtained from the radiation model of the atmospheric model.
Because more computation time is needed based on high-resolution DEM data, f M p should be calculated offline before the atmospheric model running, such as in the work of Müller and Scherer [9].
The slope α s k and aspect β s k of the sub-grid are calculated by the following equations [22].
α s k = a r c t a n ( H x ) 2 + ( H y ) 2
β s k = { 3 π 2 a r c t a n ( H y H x ) , i f   H x > 0 π 2 a r c t a n ( H y H x ) , i f   H x < 0   0 , i f   H x = 0   H y < 0   π , i f   H x = 0   H y > 0   u n d e f i n e d ,   i f   H x = 0   H y = 0
H x and H y are usually calculated by the second-order finite difference algorithm (2FDA) (Equation (8)) or the third-order finite difference algorithm (3FDA) (Equation (9)).
2FDA [3]:
{ H x = ( H i + 1 , j H i 1 , j ) / ( 2 · D x ) H y = ( H i , j + 1 H i , j 1 ) / ( 2 · D y )
3FDA [22]:
{ H x = ( H i + 1 , j + 1 H i 1 , j + 1 + H i + 1 , j H i 1 , j + H i + 1 , j 1 H i 1 , j 1 ) / ( 6 · D x ) H y = ( H i 1 , j + 1 H i 1 , j 1 + H i , j + 1 H i , j 1 + H i + 1 , j + 1 H i + 1 , j 1 ) / ( 6 · D y )
where D x and D y are the east–west and north–south spacing of the DEM data, respectively.
When using 2FDA and 3FDA for calculating CSHDSI, the equation A s k / A s k 0 = 1 / c o s   α s k will be used together in Equations (2) and (5).

2.2. The Two Triangular Planes Algorithm for CSHDSI

The slope smooth effects [23] of 2FDA and 3FDA can cause errors in calculating CSHDSI in complex terrain [20]. Therefore, the two triangular planes algorithm (2TPA) is added in this paper for testing HPFTOA. Analyzing its algorithm shows that the error for C S H D S I M comes only from the occlusion factor, so 2TPA is perfect for the test terrain occlusion algorithm.
In Figure 1, (i, j) represent the grid coordinates of the DEM data. The two triangles are formed by connecting coordinate points. When t a n θ s k 0 , the triangles in a sub-grid cell are positioned in the northwest and southeast (Figure 1 left). When t a n θ s k < 0 , they are positioned in the northeast and southwest (Figure 1 right). This avoids internal occlusion as much as possible. Otherwise, excessive internal occlusion is difficult to deal with.
The variables will be calculated at the center (i’, j’) of the DEM grid cell. The local altitude of point (i’, j’) is the average of altitudes at four DEM points surrounding it. When calculating the occlusion, the intersections of DEM gridlines and a line with the solar azimuth from point (i’, j’) are searched. But the DEM gridlines closest to point (i’, j’), which are the edges of the rectangular box in Figure 1, are not included. Otherwise, there would be slightly more cast shadows.
Equations (2) and (3) are changed to Equations (10) and (11), respectively.
C S H D S I s k T = D N I s k · S F s k ( g = 1 2 M A X ( c o s I s k g , 0.0 ) · A s k g ) / A s k 0
with
c o s   I s k g = c o s   α s k g s i n   h s k g + s i n   α s k g c o s   h s k g c o s   ( θ s k g β s k g )  
where T indicates the triangulation method, g is a triangular serial number, I s k g is the angle between the normal of the triangular plane and the solar beam, and A s k g is the triangle area calculated using Heron’s formula.
Equation (5) is changed to Equation (12).
f M p = 1 N s k = 1 N s S F s k ( g = 1 2 M A X ( c o s I s k g , 0.0 ) · A s k g ) / A s k 0  
H x and H y are calculated by coordinates and altitudes at the three points of the triangle. For example, when t a n   θ s k < 0 , in triangle T2,
{ H x = ( H i + 1 , j 1 H i , j 1 ) / D x H y = ( H i , j H i , j 1 ) / D y  

2.3. The High-Precision and Fast Terrain Occlusion Algorithm (HPFTOA)

The basic principle of the HPFTOA to judge terrain occlusion based on DEM data is the same as the commonly used method (e.g., Li [24]). However, the HPFTOA takes into account the curvature of the Earth and the curvature of the latitude line. So, it can be fully adapted to a wide range of mountain environments. More importantly, it speeds up the computation in two main ways. One is to use a dynamic, lossless, and fast occlusion search radius. Another is based on a rectangular grid for reducing coordinate conversion when the curvature of the latitude line does not affect the accuracy. Except for the polar regions, it does not need to convert the projection of DEM data coordinates.
Given the critical importance of the terrain occlusion algorithm for SRS-CSDSR, the detailed method of the HPFTOA is provided here. It cannot be implemented in an interpreted programming language such as Python because of the huge amount of computation. Fortran 90 and an Intel compiler were used in this study.
There are five steps to determine whether point A is obscured in Figure 2.

2.3.1. Determining Whether Point A Is Obscured by the Lowest Horizon of the Data Area

The area of CSHDSI is defined as the study area. All the required data areas are defined as a data area, which is larger than the study area because the occlusion can come from outside the study area. The method for determining the size of a data area is given in Section 2.3.2.
Firstly, the lowest solar altitude angle h 0 in the study area will be calculated. When the solar altitude angle h h 0 , point A will be obscured by the horizon with an altitude H m i n 0 . H m i n 0 is the minimum altitude in the data area.
In Figure 2, according to geometry, the angle h 0 equals the angle AOT, then
h 0 = a r c c o s ( ( R 0 + H m i n 0 ) / ( R 0 + H A ) )
where R 0 is the Earth’s radius.
Because H A H m i n 0 , h 0 0. This means that the sunlight can be from below the horizon.
The study area can be divided into many small rectangular regions to quickly determine whether these regions are completely obscured by the horizon. A smaller search occlusion radius in the small data area can also be obtained.
When not considering the sunlight from below the horizon, h 0 can be directly set to 0.

2.3.2. Obtaining the Maximum Search Occlusion Radius in the Data Area

Geometric analysis can find the farthest distance, where a point with the highest altitude of the data area can occlude point A. This distance will be used as the maximum search occlusion radius in the data area ( S R A max ) . In Figure 2, the points C1, C2, and C3 are exactly those three positions of the highest point when the solar altitude angles are h > 0 , h = 0 , and h < 0 . Set H m a x 0 represents the maximum altitude in the data area, similar to the principle of analyzing radar terrain masking [25]; Equation (15) for S R A m a x is given as follows.
S R A m a x = { m i n ( R 1 , R 2 ) , i f   h 0   R 3 + R 4 , i f   h 0 < h < 0  
with
{ R 1 = ( H m a x 0 H A ) / t a n   h   R 2 = ( H m a x 0 H A ) ( 2 R 0 + H m a x 0 + H A )   R 3 = ( H A H m i n 0 ) ( 2 R 0 + H A + H m i n 0 )   R 4 = ( H m a x 0 H m i n 0 ) ( 2 R 0 + H m a x 0 + H m i n 0 )
Obviously, S R A m a x does not lose accuracy.
When h < 0 , the width of the data area increases by 2 R 4 around the study area. When h 0 , the increased width of the data area is R 4 .

2.3.3. Determining Whether Point A Is Obscured by the Horizon in Solar Azimuth

On the DEM coordinate plane, the grid coordinates (i, j; including decimals for point C) of point C are the coordinates of the intersection of the longitude–latitude gridlines and the solar azimuth line. From this, a set of altitudes H c are obtained within S R A m a x . Following the same principles as in Section 2.3.1, it will be determined whether point A is obscured by a new horizon.
Follow the steps to obtain H c .
(1) Using the rectangular grid coordinate within a distance with no loss of DEM data accuracy
H c is the linear interpolation of the altitudes of two DEM points near point C. Due to the curvature of the latitude line, there is an error in the coordinates of C. When the error just exceeds half of the DEM data spacing, the distance between the coordinates of A and C is defined as L C g r i d .
In the actual calculation, a lookup table of L C g r i d at different latitudes and different azimuths was made by the following Equation (16) in advance. An approximate L C g r i d was found from this table based on the latitude and solar azimuth at point A.
Equation (16) is from Aviation Formulary V1.47 [26]. It uses the latitude l a t A and longitude l o n A of point A, solar azimuth θ s k , and the distance L c (arc BD) to calculate the coordinates (latitude l a t C and longitude l o n C ) of point C. To speed up, Equation (16) is simplified by d instead of s i n   d based on S R A max being less than 700 km for Mount Everest and sea level.
{ d = L c / R 0   t c = 2 π θ s k   l a t C = a r c s i n ( s i n ( l a t A ) c o s ( d ) + c o s ( l a t A ) d c o s ( t c ) )   l o n C = { l o n A ,   i f c o s ( l a t A ) = 0   m o d ( ( l o n A a r c s i n ( s i n ( t c ) d / c o s ( l a t C ) ) + π , 2 π ) π ,   i f   c o s ( l a t A ) 0
When the search distance L c     L C g r i d , the latitude–longitude grid is treated as rectangular. This will speed up computation by avoiding the use of Formula (16).
The following method is used to reduce the calculation time: if | s i n   θ s k | 0.5 , select the longitude lines to calculate intersections; if | s i n   θ s k | 0.8 , select the latitude lines.
(2) Considering the curvature of the latitude line
When L c > L C g r i d , the latitude–longitude coordinates of point C are calculated using Equation (16) with the solar azimuth θ s k and L c . L c is determined by incrementally increasing the value of D L C on L C g r i d . D L C can be 1–5 times as much as D y when using DEM90. This depends on the balance between the accuracy and speed of calculation.
At high latitudes, a smaller L C g r i d results in slower calculation speed. Because the DEM data become denser in the latitude direction, a D L C that increases based on latitude and azimuth can be applied to speed up.

2.3.4. Obtaining the Search Occlusion Radius in Solar Azimuth

Following the same principles as in Section 2.3.2, the search occlusion radius S R S m a x in solar azimuth can be obtained based on a set of altitudes H c .

2.3.5. Determining Whether A is Obscured within SRS max

In Figure 2, the points B and D are the sea level coordinate positions of point A and point C. The lines AG and BH are horizontal. The lines AB and CH are perpendicular to the lines AG and BH. Point F is the intersection of the solar ray and the line CH. λ is the angle AOC. H A and H c are the altitudes of points A and C, respectively. h is the solar altitude angle.
H G C (line GC) is compared with H G F (line GF) to determine whether point A is obscured.
S F s k = { 0 ,   i f   H G C H G F 1 ,   i f   H G C < H G F
with
{ λ = L B D / R 0   L D E = R 0 / c o s λ R 0   H G C = ( H c L D E ) · c o s λ H A   H G F = ( R 0 t a n   λ + ( H c L D E ) s i n   λ ) ) · t a n   h
where L B D is the distance (arc BD) between the coordinates of point A and point C. The correction of the Earth’s curvature is considered by L D E and c o s λ .
When H G C H G F , point A is obscured and S F s k = 0 . Otherwise, S F k = 1 .
Equation (17) is also applicable when the solar altitude angle h < 0 . The analysis diagram is omitted.

2.4. DNI Mode to Be Used for Testing

Equation (18) from the solar radiation model r.sun will be used to simulate D N I . In the atmospheric model, it is provided by the radiation model.
D N I = G 0 e x p ( 0.8662 T L K m δ ( m ) )
with
{ G 0 = I 0 ( 1.0 + 0.03344 · c o s ( 2 π N d / 365.25 0.048869 ) )   m = e x p   ( H / 8434.5 ) / ( s i n h + 0.50572 ( h + 6.07995 ) 1.6364 )   1 δ ( m ) = { 6.6296 + 1.7513 m 0.1202 m 2 + 0.0065 m 3 0.00013 m 4 ,   i f   m 20 10.4 + 0.718 m ,   i f   m > 20    
where G 0 is the extra-terrestrial irradiance, I 0 = 1367   W / m 2 (the solar constant),   N d is the day number starting from 1 January of the year, T L K is the Linke turbidity factor for an air mass equal to 2, H is the altitude, and h is the solar altitude angle (in degrees).
r.sun can calculate direct, diffuse, reflective, and total solar irradiance [5]. It has been implemented in the GRASS® Geographic Information System environment [27], and its applicability has been demonstrated by many works [28,29,30,31].
Equation (19) will be used to simulate T L K changes with the altitude H on land surface, which borrows from Remund et al. [32]. T L K 0 is T L K at zero altitude.
T L K = e x p ( l n ( T L K 0 ) ( 1 H / ( 2 · 8435 ) )

3. Materials

3.1. Study Area

Taiwan Island and the eastern part of the Tibetan Plateau were chosen for testing because of the extremely complex topography there.
Taiwan Island is surrounded by seas, and the Central Mountain Range extends from the north to the south of the island. There are 100 peaks above 3 km, and the highest peak reaches 3952 m [33]. This region is ideal to verify the accuracy of the HPFTOA. To eliminate the interference, the altitudes of little islands and the continent surrounding Taiwan Island are set to 0.
The eastern part of the Qinghai–Tibet Plateau is at 84.68°–105.32° E and 24.68°–40.32° N. It includes Mount Everest, the highest peak on Earth, and the eastern part of the Himalayas. The terrain there is choppy.

3.2. Data

In this study, DEM90 is the Shuttle Radar Topography Mission (SRTM) 90 m Digital Elevation Database v4.1 [34] (obtained from https://developers.google.com/earth-engine/datasets/catalog/CGIAR_SRTM90_V4, accessed on 17 June 2023). DEM30 is SRTM DEM V003 ([35], obtained from https://search.earthdata.nasa.gov/, accessed on 22 January 2024).
In this paper, one horizontal resolution of the atmospheric model is about 3 km (Model-3 Km), with each grid cell containing 33 × 33 sub-grid cells of DEM90 data or 97 × 97 sub-grid cells of DEM data with a horizontal resolution of 1 arc second (~30 m) (DEM30). Another horizontal resolution of the atmospheric model is about 9 km (Model-9Km), with each grid cell containing 97 × 97 sub-grid cells of DEM90 data.

3.3. Software

The computer program in this study is written in Fortran 90 and compiled using the ifort compiler (version 2021.5.0) from Intel® Fortran, which is available at no cost. This compiler is part of the Intel® oneAPI Toolkits products for Linux. The latest no-cost version can be downloaded by connecting to https://www.intel.com/content/www/us/en/developer/articles/news/free-intel-software-developer-tools.html (accessed on 23 June 2023).

3.4. The Server for Testing

In this study, a very common server, Sugon I620-C30(6132), was used for testing. It was manufactured by Dawning Information Industry Co., Ltd. and purchased in Jinan, China in 2019. It is equipped with two Intel (R) Xeon (R) Gold 6132 CPUs (14 cores, @2.60 GHz, 19.25 MB L3 Cache, Launch Date of the third quarter of 2017), 128 GB of RAM, a Linux operating system, and the Intel (R) Fortran compiler version 2021.5.0. It is referred to as the server with 28 cores (SERVER-28C) in this paper.

4. The Test Plan

According to Equations (4) and (5), the error of C S H D S I M p will mainly come from D N I M and S F s k . D N I M will come from the atmospheric model when applied in practice, which is not included in this study. The focus of this study is to produce a fast and accurate terrain occlusion algorithm. Therefore, only the accuracy and computation time will be evaluated.
It is difficult to verify the HPFTOA by the observation of cast shadows or CSHDSI. In mountainous areas, the subjective judgment accuracy of using Landsat satellite data to identify cast shadows was only 86% [36]. Reliable downward solar radiation observational data are also lacking in mountainous areas [24]. Downward solar radiation products based on satellite remote sensing also exhibit significant errors in complex terrain [37,38]. The downward solar radiation includes direct, diffuse, and reflected radiation. There is no accurate model to separate them in complex terrain.
This study designs a method to verify the systematic deviation in the HPFTOA by assuming Taiwan Island is in a vacuum atmosphere. In this case, there is no atmospheric absorption or scattering, and DNI ≡ 1367 W/m2. By the law of conservation of energy, when the solar altitude angle is greater than zero, the direct solar radiation on the land and the shadows on the sea is the same as when there is no terrain.
When the occlusion algorithm is not appropriate, the cast shadows will be systematically too much or too little.
The computation speed for SPS-CSDSR based on the HPFTOA and DEM90 on the eastern part of the Qinghai–Tibet Plateau will be tested.

5. Testing Results

5.1. Average Error in CSHDSI Based on HPFTOA on Taiwan Island

Figure 3 depicts a topographic map of Taiwan Island and the simulation CSHDSI in Model-3Km on the winter solstice in 2022. The simulation used 2TPA and took T L K 0 = 1.5 As can be seen from Figure 3a, the mountains of Taiwan Island run in a north–south direction. Significant differences in direct solar radiation can be observed between mountains and flat surfaces (Figure 3b–d).
Under the assumption of Taiwan Island in a vacuum atmosphere (DNI ≡ 1367 W/m2), using DEM90 and DEM30 data, the systematic bias of the HPFTOA in Model-3Km was verified hourly from 06:50 to 16:50 LST on the winter solstice in 2022. When using DEM30, D L C = 3.0 D y . When using DEM90, D L C = 1.0 D y .
The errors in the average CSHDSI based on 2TPA, 2FDA, and 3FDA are shown in Figure 4. The average CSHDSI is the mean value of all grid points within the land and shadows on the sea. The error is the difference between the average CSHDSI with and without terrain. For the perfect model, it should be zero.
Figure 4 shows that the 2TPA method leads to slight positive biases. The HPFTOA has no excessive systematic error based on DEM90 and DEM30 data. According to algorithms, slight biases only come from the occlusion factor. This may be caused by ignoring occlusion between two triangles of a sub-grid cell, despite setting the directions of the triangles to avoid them.
The difference between 2FDA and 3FDA in Figure 4 shows that the multi-order difference algorithm’s slope smoothing effect [23] can lead to systematic negative bias in CSHDSI. It can be mitigated by using a higher resolution of DEM30. According to Equations (8) and (9), the smoothing effect of 3FDA is stronger than that of 2FDA, so its negative bias of 3FDA is more significant. Of course, their partial negative bias may also be related to more occlusion of nearby sub-grid cell. Therefore, the 2TPA method is proposed instead of the multi-order finite difference method to calculate slope, followed by 2FDA.

5.2. Testing Computation Speed

The computation speed for the high-precision SPS-CSDSR based on the HPFTOA and DEM90 on the eastern part of the Qinghai–Tibet Plateau (Figure 5) will be tested.
The plans for testing are listed in Table 2. Where D L C is defined in Section 2.3.3 (2), U27 stands for the simultaneous use of three simplified methods: the lowest solar altitude angle h 0 = 0 ; ignoring the earth’s curvature; and using the fixed search occlusion radius of 27 km. U27 is the usual method, as shown in Index 10 of Table 1. All plans take T L K 0 = 2.0 and use 2TPA. The area of Figure 5 is divided into 10 × 8 small regions to speed up. The test uses 26 cores on SERVER-28C.
According to the plans in Table 2, the computing speed for an f M p interval of 1 h during the daytime of the summer solstice (06:00~21:00 LST) and winter solstice (08:00~19:00 LST) in 2022 was tested. The computation times are listed in Table 2. The maximum absolute errors (the difference with plan 1, MAXAE) in C S H D S I M of plan 2, 3, and U27 were counted and are listed in Table 2.
The test results in Table 2 show that the computation costs for f M p based on the HPFTOA and DEM90 are acceptable. The plan D L C = 2.5 D y is a better scheme that takes into account both accuracy and cost. Its computation time is only about 15% more than the usual method, but its accuracy is guaranteed.
The computation time of plan U27 on the summer solstice is much longer than that on the winter solstice, because there are fewer occlusions around noon in this season, and the searching terrain occlusion must be traversed within the fixed radius of 27 km. Therefore, the acceleration effect of the dynamic lossless fast search radius is significant.
The performance of the CPU has been greatly improved over the SERVER-28C. Next the CPU of Gold 6526Y will be used for evaluation. Its overall performance is twice as good as that of SERVER-28C [39].
Table 3 presents the estimated wall clock time to compute f M p during the daytime when using varying numbers of cores of type Gold 6526Y, the plan D L C = 2.5 D y , a 30 min time interval, and different sizes of study regions. The method of estimation is to convert the computation time in Table 2 according to the number of latitude–longitude grid points and the number of computer cores. Table 3 gives the shortest (winter solstice) and longest (summer solstice) wall clock time range during a day.
Table 3 shows that, for a several-day weather simulation, the large-region computation cost of SRS-CSDSR based on the HPFTOA and DEM90 is feasible for a research institution.
Based on the analysis above, DEM30 data are only suitable for a small study region when using the HPFTOA.
Figure 6 (located in the blue rectangle in Figure 5) shows the CSHDSI differences between the three simplified methods of plan U27 and the plan D L C = 1.0 D y at 09:00 LST on the winter solstice in 2022. It can be seen that the simplified methods have large deviations in some small regions. The terrain in this region is extremely complex. Mount Everest (86°55′31″ E, 27°59′17″ N) is situated there. Ignoring the effect of Earth’s curvature would significantly underestimate the CSSI at that location. Therefore, the HPFTOA is of great interest for studying glaciers and extreme climates in towering mountains.

6. Conclusions

This paper reviewed the approximate methods used to reduce the computation for SPS-CSDSR and theoretically analyzes the obvious precision reduction they may cause.
Since these approximate methods are mainly used to simplify the processing of terrain occlusion, this study proposes the HPFTOA. It uses many acceleration algorithms on the premise of ensuring accuracy. One important method is to use a dynamic, lossless, and fast occlusion search radius. Another is that when the curvature of the latitude line does not affect accuracy, use the rectangular grid for calculation to avoid coordinate projection conversions. It takes into account the curvature of the Earth and the curvature of the latitude line, so it can be adapted to any mountain environment.
The verification by assuming Taiwan Island in a vacuum atmosphere shows that the HPFTOA has no excessive systematic errors based on DEM90 and DEM30 data.
The computation speed for SPS-CSDSR based on the HPFTOA and DEM90 was tested in the eastern part of the Qinghai–Tibet Plateau, where the terrain is very complex. The results indicate that the HPFTOA can carry out large-scale computation based on DEM90 and is feasible for the regional weather simulation during several days. Those approximation algorithms in Table 1 should no longer be used.
Reliable downward solar radiation observational data are lacking in mountainous areas [24]. So, it is difficult to improve SPS-CSDSR through observation verification. In this case, reducing the use of approximation methods is the main way to ensure the accuracy of SPS-CSDSR.
Because the use of approximation methods is avoided, SPS-CSDSR can be calculated with unprecedented accuracy. High-precision SPS-CSDSR can be built based on the HPFTOA. This will also indirectly benefit the parameterization accuracy of scattered and reflected radiation. From the significant differences in CSHDSI between mountainous and flat surfaces as shown in Figure 3, high-precision SPS-CSDSR will be important for studying the terrain effect in the atmospheric model with a high horizontal resolution of 1 to 3 km.
It is found that the smoothing effect of the multi-order finite difference slope algorithm can lead to negative deviation in direct solar irradiance. Therefore, the 2PTA method is recommended in this paper, followed by 2FDA.
In addition, according to the results of this study, the HPFTOA can have good computational efficiency at low and middle latitudes. At high latitudes, the computational efficiency may decrease significantly. Accuracy and cost need to be balanced based on validation and requirements. This paper has given the preliminary method. For polar regions, a coordinate projection transformation may be required.
Obviously, the application of the HPFTOA will not be limited to SPS-CSDSR. It can also be used in the fields of mountain solar energy assessment, remote sensing, and telemetry, including terrain-obscuring the probe. Because the solar altitude angle is not low when the polar orbit remote sensing satellite passes through, the occlusion search radius is relatively small, and it is does not occur many times during the day, so it will be possible to use higher-resolution data than DEM90.
Excellent algorithms, advanced computing platforms, and efficient code execution are the three factors that determine computing speed. All of this could change rapidly. Therefore, the application prospects of the HPFTOA proposed in this paper will be very broad and inspiring.
Part II of this study will further explore methods to decrease computational costs through day interpolation algorithms.

Author Contributions

Conceptualization, C.L. and W.W.; methodology, C.L., G.F. and B.C.; resources, C.L. and W.W.; formal analysis, C.L.; writing—original draft preparation, C.L.; writing—review and editing, Y.C., G.F. and X.W.; visualization, C.L.; supervision, W.W. and Y.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Shangdong Provincial Natural Science Foundation (ZR2022MD040) and the China Meteorological Administration Innovation Development Project (CXFZ2023P023).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request. The data are not publicly available due to file sizes. The main computational code is publicly released (https://doi.org/10.5281/zenodo.11402757 accessed on 22 January 2024).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Swift, L.W. Algorithm for solar radiation on mountain slopes. Water Resour. Res. 1976, 12, 108–112. [Google Scholar] [CrossRef]
  2. Kondratyev, K.Y. Radiation Regime of Inclined Surfaces; Technical Report Report N-79-11613; World Meteorological Organization: New York, NY, USA, 1997; p. 82. [Google Scholar]
  3. Dozier, J.F.; Frew, J. Rapid calculation of terrain parameters for radiation modeling from digital elevation data. IEEE Trans. Geosci. Remote Sens. 1990, 28, 963–969. [Google Scholar] [CrossRef]
  4. Dubayah, R.; Dozier, J.; Davis, F.W. Topographic distribution of clear-sky radiation over the Konza Prairie, Kansas. Water Resour. Res. 1990, 26, 679–690. [Google Scholar]
  5. Dubayah, R.; Rich, P.M. Topographic solar radiation models for GIS. Int. J. Geogr. Inf. Syst. 1995, 9, 405–419. [Google Scholar] [CrossRef]
  6. Fu, P. A Geometric Solar Radiation Model with Applications in Landscape Ecology. Ph.D. Thesis, University of Kansas, Lawrence, KS, USA, 2000. [Google Scholar]
  7. Hofierka, J.; Suri, M. The solar radiation model for Open source GIS: Implementation and applications. In Proceedings of the Open Source GIS-Grass Users Conference, Università Degli Studi di Trento, Trento, Italy, 11−13 September 2002. [Google Scholar]
  8. Kumar, L.; Skidmore, A.K.; Knowles, E. Modelling topographic variation in solar radiation in a GIS environment. Int. J. Geogr. Inf. Sci. 1997, 11, 475–497. [Google Scholar] [CrossRef]
  9. Müller, M.D.; Scherer, D. A grid- and sub-grid-scale radiation parameterization of topographic effects for mesoscale weather forecast models. Mon. Weather Rev. 2005, 133, 1431–1442. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Huang, A.; Zhu, X. Parameterization of the thermal impacts of sub-grid orography on numerical modeling of the surface energy budget over East Asia. Theor. Appl. Climatol. 2006, 86, 201–214. [Google Scholar] [CrossRef]
  11. Essery, R.; Marks, D. Scaling and parametrization of clear-sky solar radiation over complex topography. J. Geophys. Res. Atmos. 2007, 112, D10122. [Google Scholar] [CrossRef]
  12. Gu, C.; Huang, A.; Wu, Y.; Yang, B.; Mu, X.; Zhang, X.; Cai, S. Effects of sub-grid terrain radiative forcing on the ability of RegCM4.1 in the simulation of summer precipitation over China. J. Geophys. Res. Atmos. 2020, 125, e2019JD032215. [Google Scholar] [CrossRef]
  13. Helbig, N.; Löwe, H. Shortwave radiation parameterization scheme for sub-grid topography. J. Geophys. Res. Atmos. 2012, 117, D03112. [Google Scholar] [CrossRef]
  14. He, S.; Smirnova, T.G.; Benjamin, S.G. A scale-aware parameterization for estimating sub-grid variability of downward solar radiation using high-resolution digital elevation model data. J. Geophys. Res. Atmos. 2019, 124, 13680–13692. [Google Scholar] [CrossRef]
  15. Zhang, X.; Huang, A.; Dai, Y.; Li, W.; Gu, C.; Yuan, H.; Wei, N.; Zhang, Y.; Qiu, B.; Cai, S. Influences of 3D sub-grid terrain radiative effect on the performance of CoLM over Heihe River Basin, Tibetan Plateau. J. Adv. Model. Earth Syst. 2022, 14, e2021MS002654. [Google Scholar] [CrossRef]
  16. Huang, A.; Gu, C.; Zhang, Y.; Li, W.; Zhang, J.; Wu, Y.; Zhang, X.; Cai, S. Development of a clear-sky 3D sub-grid terrain solar radiative effect parameterization scheme based on the mountain radiation theory. J. Geophys. Res. Atmos. 2022, 127, e2022JD036449. [Google Scholar] [CrossRef]
  17. Hao, D.; Bisht, G.; Gu, Y.; Lee, W.L.; Liou, K.N.; Leung, L.R. A parameterization of sub-grid topographical effects on solar radiation in the E3SM land model (version 1.0): Implementation and evaluation over the Tibetan plateau. Geosci. Model Dev. 2021, 14, 6273–6289. [Google Scholar] [CrossRef]
  18. Gu, C.; Huang, A.; Zhang, Y.; Yang, B.; Cai, S.; Xu, X.; Luo, J.; Wu, Y. The wet bias of RegCM4 over Tibet Plateau in summer reduced by adopting the 3D sub-grid terrain solar radiative effect parameterization scheme. J. Geophys. Res. Atmos. 2022, 127, e2022JD037434. [Google Scholar] [CrossRef]
  19. Cai, S.; Huang, A.; Zhu, K.; Guo, W.; Wu, Y.; Gu, C. The forecast skill of the summer precipitation over Tibetan Plateau improved by the adoption of a 3D sub-grid terrain solar radiative effect scheme in a convection-permitting model. J. Geophys. Res. Atmos. 2023, 128, e2022JD038105. [Google Scholar] [CrossRef]
  20. Chu, Q.; Yan, G.; Wild, M.; Zhou, Y.; Yan, K.; Li, L.; Liu, Y.; Tong, Y.; Mu, X. Ground-Based Radiation Observational Method in Mountainous Areas. In Proceedings of the IGARSS 2019—2019 IEEE International Geoscience and Remote Sensing Symposium, Yokohama, Japan, 28 July–2 August 2019; pp. 8566–8569. [Google Scholar]
  21. Rodríguez, E.; Morris, C.S.; Belz, J. A Global Assessment of the SRTM Performance. Photogramm. Eng. Remote Sens. 2006, 72, 249–260. [Google Scholar] [CrossRef]
  22. Sharpnack, D.A.; Akin, G. An algorithm for computing slope and aspect from elevations. Photogramm. Eng. 1969, 35, 247–248. [Google Scholar]
  23. Tang, J.; Pilesjö, P.; Persson, A. Estimating slope from raster data—A test of eight algorithms at different resolutions in flat and steep terrain. Geod. Cartogr. 2013, 39, 41–52. [Google Scholar] [CrossRef]
  24. Li, Z.Q.; Weng, D.M. A computer model to determine topographic parameters (Chinese with English abstract). Acta Geogr. Sin. 1987, 42, 269–278. [Google Scholar] [CrossRef]
  25. Zhou, Z.W.; Xiong, J.J.; Huang, Y.Y. Method for Determination of Radar Terrain Masking Blind Zone Based on DEM (Chinese with English abstract). J. Air Space Early Warn. Res. 2013, 27, 327–330. [Google Scholar]
  26. Ed, W. Lat/lon Given Radial and Distance. Aviation Formulary V1.47. 2013. Available online: http://www.edwilliams.org/avform147.htm (accessed on 11 June 2023).
  27. Neteler, M.; Mitasova, H. Open Source Gis: A GRASS GIS Approach, 3rd ed.; Springer Science Business Media: New York, NY, USA, 2008. [Google Scholar]
  28. Hofierka, J.; Kaňuk, J. Assessment of photovoltaic potential in urban areas using open-source solar radiation tools. Renew. Energy 2009, 34, 2206–2214. [Google Scholar] [CrossRef]
  29. Ruiz-Arias, J.A.; Tovar-Pescador, J.; Pozo-Vázquez, D.; Alsamamra, H. A comparative analysis of DEM-based models to estimate the solar radiation in mountainous terrain. Int. J. Geogr. Inf. Sci. 2009, 23, 1049–1076. [Google Scholar] [CrossRef]
  30. Nguyen, H.T.; Pearce, J.M. Estimating Potential Photovoltaic Yield with r.sun and the Open-Source Geographical Resources Analysis Support System. Sol. Energy 2010, 84, 831–843. [Google Scholar] [CrossRef]
  31. Pintor, B.H.; Sola, E.F.; Teves, J.; Inocencio, L.C.; Ang, M.R.C.; Concepcion, R. Solar energy resource assessment using R. SUN in GRASS GIS and site suitability analysis using AHP for groundmounted solar photovoltaic (Pv) farm in the Central Luzon Region (Region 3), Philippines. In Proceedings of the Free and Open Source Software for Geospatial (Foss4g) Conference Proceedings, Seoul, Republic of Korea, 14–19 September 2015. [Google Scholar]
  32. Remund, J.; Wald, L.; Lefèvre, M.; Ranchin, T.; Page, J.H. Worldwide Linke turbidity information. In Proceedings of the ISES Solar World Congress 2003, Göteborg, Sweden, 14–19 June 2003. [Google Scholar]
  33. Lai, Y.-J.; Chou, M.-D.; Lin, P.-H. Parameterization of topographic effect on surface solar radiation. J. Geophys. Res. Atmos. 2010, 115, D01104. [Google Scholar] [CrossRef]
  34. Jarvis, A.; Reuter, H.I.; Nelson, A.; Guevara, E. The Shuttle Radar Topography Mission (SRTM) 90m Digital Elevation Database v4.1 [Dataset]. International Centre for Tropical Agriculture (CIAT). 2008. Available online: https://developers.google.com/earth-engine/datasets/catalog/CGIAR_SRTM90_V4 (accessed on 17 June 2023).
  35. Carrera-Hernández, J.J. Not all DEMs are equal: An evaluation of six globally available 30 m resolution DEMs with geodetic benchmarks and LiDAR in Mexico. Remote Sens. Environ. 2021, 261, 112474. [Google Scholar] [CrossRef]
  36. Giles, P.T. Remote sensing and cast shadows in mountainous terrain. Photogramm. Eng. Remote Sens. 2001, 67, 833–840. [Google Scholar]
  37. Zhang, H.; Xin, X.; Liu, Q. Modeling daily net shortwave radiation over rugged surfaces using MODIS atmospheric products. In Proceedings of the International Geoscience and Remote Sensing Symposium (IGARSS), Vancouver, BC, Canada, 24–29 July 2011; pp. 3787–3790. [Google Scholar]
  38. Huang, G.; Li, Z.; Li, X.; Liang, S.; Yang, K.; Wang, D.; Zhang, Y. Estimating surface solar irradiance from satellites: Past, present, and future perspectives. Remote Sens. Environ. 2019, 233, 111371. [Google Scholar] [CrossRef]
  39. Gold 6526Y Outperforms Gold 6132 by a Whopping 110% Based on Our Aggregated Benchmark Results. Available online: https://technical.city/en/cpu/Xeon-Gold-6132-vs-Xeon-Gold-6526Y (accessed on 7 March 2024).
Figure 1. A schematic diagram of the two triangles algorithm for CHSDSI. (i, j) represent the grid coordinates of the DEM data. The point (i’, j’) is at the center.
Figure 1. A schematic diagram of the two triangles algorithm for CHSDSI. (i, j) represent the grid coordinates of the DEM data. The point (i’, j’) is at the center.
Atmosphere 15 00857 g001
Figure 2. The diagram for terrain occlusion calculation analysis. Point O is the center of the Earth. Whether point A is obscured by point C will be determined. ATG3 is the tangent of the sphere with a radius of ( R 0 + H m i n 0 ). R 0 is the Earth’s radius. H m i n 0 is the minimum altitude in the data area. Points C1, C2, and C3 are three positions of a point with the highest altitude of the data area. The lines AGG1C2 and BEHH1 are horizontal. Points B, D, D1, D2, and D3 are the sea level coordinate positions of points A, C, C1, C2, and C3, respectively.
Figure 2. The diagram for terrain occlusion calculation analysis. Point O is the center of the Earth. Whether point A is obscured by point C will be determined. ATG3 is the tangent of the sphere with a radius of ( R 0 + H m i n 0 ). R 0 is the Earth’s radius. H m i n 0 is the minimum altitude in the data area. Points C1, C2, and C3 are three positions of a point with the highest altitude of the data area. The lines AGG1C2 and BEHH1 are horizontal. Points B, D, D1, D2, and D3 are the sea level coordinate positions of points A, C, C1, C2, and C3, respectively.
Atmosphere 15 00857 g002
Figure 3. The terrain altitudes on Taiwan Island (a). (bd) are CSHDSI based on the HPFTOA and DEM90 in Model-3Km. Purple represents the shadows. The times are local time in the winter solstice in 2022.
Figure 3. The terrain altitudes on Taiwan Island (a). (bd) are CSHDSI based on the HPFTOA and DEM90 in Model-3Km. Purple represents the shadows. The times are local time in the winter solstice in 2022.
Atmosphere 15 00857 g003
Figure 4. The errors in the average CSHDSI of Model-3Km on Taiwan Island hourly in the range of 06:50~16:50 LST on the winter solstice in 2022. In the figure, “90” stands for DEM90, and “30” stands for DEM30.
Figure 4. The errors in the average CSHDSI of Model-3Km on Taiwan Island hourly in the range of 06:50~16:50 LST on the winter solstice in 2022. In the figure, “90” stands for DEM90, and “30” stands for DEM30.
Atmosphere 15 00857 g004
Figure 5. The altitudes of the eastern Tibetan Plateau. The blue rectangle is the location of Figure 6.
Figure 5. The altitudes of the eastern Tibetan Plateau. The blue rectangle is the location of Figure 6.
Atmosphere 15 00857 g005
Figure 6. The errors in CSHDSI of three simplified methods in Model-3Km. (a) The lowest solar altitude angle h 0 = 0 ; (b) ignoring the earth’s curvature; (c) using the fixed search occlusion radius of 27 km; (d) using these three methods together. “max” and “min” are the maximum and minimum value of the errors, respectively. The time is 09:00 LST on the winter solstice in 2022.
Figure 6. The errors in CSHDSI of three simplified methods in Model-3Km. (a) The lowest solar altitude angle h 0 = 0 ; (b) ignoring the earth’s curvature; (c) using the fixed search occlusion radius of 27 km; (d) using these three methods together. “max” and “min” are the maximum and minimum value of the errors, respectively. The time is 09:00 LST on the winter solstice in 2022.
Atmosphere 15 00857 g006
Table 1. The methods to reduce the amount of computation for SPS-CSDSR.
Table 1. The methods to reduce the amount of computation for SPS-CSDSR.
IndexMethodUser
1Ignoring the cast shadows.Dubayah (1990) [4]; Zhang (2006) [10]; He (2019) [14]; Gu (2020) [12]
2Assuming that sub-grid cells in an atmospheric model grid cell have the same slope and the slope direction is evenly distributed in all directions.Dubayah (1990) [4]; Helbig and Löwe (2013) [14]
3Using low-resolution DEM data.Muller and Scherer (2005) [9] used the 30″ (~1 km); Zhang (2006) [10] used the 5′ (~9 km)
4Using a function to predict the fraction of the surface in shadow in the atmospheric model grid.Essery and Marks (2007) [9]
5Ignoring that the slope area is larger than the horizontal projection area.He (2019) [14]; Gu (2020) [12], Zhang (2022) [15]
6Calculating terrain effects without the cast shadows on the atmospheric model grid cell by utilizing the solar position factors (altitude, azimuth) and mean value of sub-grid terrain factor (slope, aspect) function values.He (2019) [14]
7Based on the method similar to He, using the cast shadowless coverage factor S F p in the atmospheric model grid. S F p = 1 n k = 1 N S F k . When a sub-grid cell is in cast shadow, S F k = 0 ; otherwise, S F k = 1 . N is the number of sub-grid cells in the parent grid.Zhang (2022) [15]
8Adjusting S F p to S F C p by the equation S F C p = 1 C a d ( 1 S F C m ) , where C a d = 0.1849 d x 1.443 + 0.04561 . d x is the east–west grid spacing (km) at this latitude.Huang (2022) [16]
9Using an insufficient occlusion search radius.Huang (2022) [16] used the 27 km; Zhang (2022) [15] used the 9 km
10Using DEM90 data, within a 27 km search radius and in 100 azimuth directions, the maximum terrain shielding angle was calculated for each sub-grid. These data were converted into a cast shadowless coverage lookup table based on 100 azimuth directions and 100 maximum terrain shielding angle sine levels.Huang (2022) [16]
Table 2. The computation time for f M p based on the HPFTOA and DEM90, and the maximum absolute error of the acceleration plans.
Table 2. The computation time for f M p based on the HPFTOA and DEM90, and the maximum absolute error of the acceleration plans.
PlanComputation Time (Minutes) MAXAE   in   C S H D S I M (W/m2)
IndexContentSummer SolsticeWinter SolsticeSummer SolsticeWinter Solstice
1 D L C = 1.0 D y 47.2340.17//
2 D L C = 2.5 D y 39.49 34.805.24.8
3 D L C = 5.0 D y 36.98 33.188.514.6
4U2740.7224.24181.6357.4
Table 3. The estimated wall clock times (in minutes) when using cores of type Gold 6526Y for f M p a 30 min time interval during the daytime based on DEM90, 2TPA, and the HPFTOA.
Table 3. The estimated wall clock times (in minutes) when using cores of type Gold 6526Y for f M p a 30 min time interval during the daytime based on DEM90, 2TPA, and the HPFTOA.
Number of CoresSmall-RegionMedium-RegionLarge-Region
10° × 10°30° × 20°60° × 40°80° × 60°
309.3~10.656.1~63.6224.2~254.4448.4~508.8
3000.9~1.15.6~6.422.4~25.444.8~50.9
10000.3~0.31.7~1.96.7~7.613.5~15.3
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, C.; Wu, W.; Chen, Y.; Feng, G.; Chen, B.; Wen, X. A High-Precision Sub-Grid Parameterization Scheme for Clear-Sky Direct Solar Radiation in Complex Terrain—Part I: A High-Precision Fast Terrain Occlusion Algorithm. Atmosphere 2024, 15, 857. https://doi.org/10.3390/atmos15070857

AMA Style

Li C, Wu W, Chen Y, Feng G, Chen B, Wen X. A High-Precision Sub-Grid Parameterization Scheme for Clear-Sky Direct Solar Radiation in Complex Terrain—Part I: A High-Precision Fast Terrain Occlusion Algorithm. Atmosphere. 2024; 15(7):857. https://doi.org/10.3390/atmos15070857

Chicago/Turabian Style

Li, Changyi, Wei Wu, Yanan Chen, Guili Feng, Bin Chen, and Xiaopei Wen. 2024. "A High-Precision Sub-Grid Parameterization Scheme for Clear-Sky Direct Solar Radiation in Complex Terrain—Part I: A High-Precision Fast Terrain Occlusion Algorithm" Atmosphere 15, no. 7: 857. https://doi.org/10.3390/atmos15070857

APA Style

Li, C., Wu, W., Chen, Y., Feng, G., Chen, B., & Wen, X. (2024). A High-Precision Sub-Grid Parameterization Scheme for Clear-Sky Direct Solar Radiation in Complex Terrain—Part I: A High-Precision Fast Terrain Occlusion Algorithm. Atmosphere, 15(7), 857. https://doi.org/10.3390/atmos15070857

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop