CAM
solar_data Module Reference

Functions/Subroutines

subroutine, public solar_data_readnl (nlfile)
 
subroutine, public solar_data_init
 
subroutine, public solar_data_advance ()
 
subroutine convert_dates (dates, secs, times)
 
subroutine convert_date (date, sec, time)
 
subroutine get_model_time (time, year, month, day, seconds)
 

Variables

integer, public nbins
 
integer ntimes
 
real(r8), dimension(:), allocatable, public sol_etf
 
real(r8), dimension(:,:), allocatable irradi
 
real(r8), dimension(2) itsi
 
real(r8), dimension(:), allocatable, public ssi_ref
 
real(r8), dimension(:), allocatable, public we
 
real(r8), dimension(:), allocatable data_times
 
integer last_index = 1
 
type(file_desc_t) file_id
 
integer ssi_vid
 
integer tsi_vid
 
integer ref_vid
 
integer tsi_ref_vid
 
logical initialized = .false.
 
logical, public has_spectrum = .false.
 
logical, public has_ref_spectrum = .false.
 
logical has_tsi = .false.
 
real(r8), dimension(:), allocatable, public sol_irrad
 
real(r8), public sol_tsi = -1.0_r8
 
real(r8), public ref_tsi
 
real(r8), dimension(:), allocatable irrad_fac
 
real(r8), dimension(:), allocatable etf_fac
 
real(r8), dimension(:), allocatable dellam
 
logical fixed_scon
 
logical fixed_solar
 
real(r8) offset_time
 
logical, public do_spctrl_scaling = .false.
 
character(len=256) solar_data_file = ''
 
character(len=8) solar_data_type = 'SERIAL'
 
integer solar_data_ymd = 0
 
integer solar_data_tod = 0
 
real(r8) solar_const = -9999._r8
 
logical solar_htng_spctrl_scl = .false.
 

Function/Subroutine Documentation

◆ convert_date()

subroutine solar_data::convert_date ( integer, intent(in)  date,
integer, intent(in)  sec,
real(r8), intent(out)  time 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_dates()

subroutine solar_data::convert_dates ( integer, dimension(:), intent(in)  dates,
integer, dimension(:), intent(in)  secs,
real(r8), dimension(:), intent(out)  times 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_model_time()

subroutine solar_data::get_model_time ( real(r8), intent(out)  time,
integer, intent(out), optional  year,
integer, intent(out), optional  month,
integer, intent(out), optional  day,
integer, intent(out), optional  seconds 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ solar_data_advance()

subroutine, public solar_data::solar_data_advance ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ solar_data_init()

subroutine, public solar_data::solar_data_init ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ solar_data_readnl()

subroutine, public solar_data::solar_data_readnl ( character(len=*), intent(in)  nlfile)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ data_times

real(r8), dimension(:), allocatable solar_data::data_times
private

◆ dellam

real(r8), dimension(:), allocatable solar_data::dellam
private

◆ do_spctrl_scaling

logical, public solar_data::do_spctrl_scaling = .false.

◆ etf_fac

real(r8), dimension(:), allocatable solar_data::etf_fac
private

◆ file_id

type(file_desc_t) solar_data::file_id
private

◆ fixed_scon

logical solar_data::fixed_scon
private

◆ fixed_solar

logical solar_data::fixed_solar
private

◆ has_ref_spectrum

logical, public solar_data::has_ref_spectrum = .false.

◆ has_spectrum

logical, public solar_data::has_spectrum = .false.

◆ has_tsi

logical solar_data::has_tsi = .false.
private

◆ initialized

logical solar_data::initialized = .false.
private

◆ irrad_fac

real(r8), dimension(:), allocatable solar_data::irrad_fac
private

◆ irradi

real(r8), dimension(:,:), allocatable solar_data::irradi
private

◆ itsi

real(r8), dimension(2) solar_data::itsi
private

◆ last_index

integer solar_data::last_index = 1
private

◆ nbins

integer, public solar_data::nbins

◆ ntimes

integer solar_data::ntimes
private

◆ offset_time

real(r8) solar_data::offset_time
private

◆ ref_tsi

real(r8), public solar_data::ref_tsi

◆ ref_vid

integer solar_data::ref_vid
private

◆ sol_etf

real(r8), dimension(:), allocatable, public solar_data::sol_etf

◆ sol_irrad

real(r8), dimension(:), allocatable, public solar_data::sol_irrad

◆ sol_tsi

real(r8), public solar_data::sol_tsi = -1.0_r8

◆ solar_const

real(r8) solar_data::solar_const = -9999._r8
private

◆ solar_data_file

character(len=256) solar_data::solar_data_file = ''
private

◆ solar_data_tod

integer solar_data::solar_data_tod = 0
private

◆ solar_data_type

character(len=8) solar_data::solar_data_type = 'SERIAL'
private

◆ solar_data_ymd

integer solar_data::solar_data_ymd = 0
private

◆ solar_htng_spctrl_scl

logical solar_data::solar_htng_spctrl_scl = .false.
private

◆ ssi_ref

real(r8), dimension(:), allocatable, public solar_data::ssi_ref

◆ ssi_vid

integer solar_data::ssi_vid
private

◆ tsi_ref_vid

integer solar_data::tsi_ref_vid
private

◆ tsi_vid

integer solar_data::tsi_vid
private

◆ we

real(r8), dimension(:), allocatable, public solar_data::we