module TopoPyScale.solar_geom
Function to compute Solar angles S. Filhol, Oct 2021
function get_solar_geom
get_solar_geom(
df_position,
start_date,
end_date,
tstep,
sr_epsg='4326',
num_threads=None,
fname='ds_solar.nc',
project_ouput=PosixPath('.'),
method_solar='nrel_numpy'
)
Function to compute solar position for each location given in the dataframe azimuth is define with 0 towards South, negative in W-dir, and posiive towards E-dir
Args:
df_position(dataframe): point_name as index, latitude, longitudestart_date(str): start date "2014-05-10"end_date (str: end date "2015-05-10"tstep(str): time step, ex: '6H'sr_epsg(str): source EPSG code for the input coordinatenum_threads(int): number of threads to parallelize computation on. default is number of core -2fname(str): name of netcdf file to store solar geometryproject_ouput(str): path to project root directory
Returns:
dataset: solar angles in degrees
This file was automatically generated via lazydocs.