According to the CAM6.0 scientific support document, the top of atmosphere solar radiation at each grid cell is calculated as:
Could you help me find the location of this calculation? Which .F90 file should I look into? Thank you!
Thanks for the help! I noticed that in the radsw.F90, under "! Initialize output fields:", each output field is expressed as an array. For example, fsds(1:ncol) = 0.0_r8. I wonder what does ncol mean here? What is the physical meaning of ncol?
In my understanding, at each time step, there should be a spatial loop allowing the radiation calculation for each grid cell. I guess the radiation calculation in the radsw.F90 and radiation.F90 is inside only one grid cell. Could you help me find the do loop for the spatial dimension?