Helper function - Creates a list of variables to be used in querying the Cal-Adapt Data Server by the downloadData function.     

makeFileName(dataType,climateModel,climateScenario,variable,yearVar)

Arguments

dataType

Broad category of data from Cal-Adapt Data Server using HTTPS. (met, rel_humid, solards, wspeed)

climateModel

Global Climatic Model

climateScenario

Climate Scenarios (rcp25, 45, 85)

variable

Climate variable

yearVar

(daily, monthly, or average monthly)  

Details

caladapt-py has the ability to store copies of objects downloaded from Cal-Adapt. An example of this would be the source rasters in netcdf format and tabular data queried using user defined AOI.  The source netcdf data has a naming structure that varies from source to source,  This function creates the file path to the source netcdf data on the Cal-Adapt Data Server  based on the parameters used in the function.          

See also