pvdeg.utilities#
utilities.py.
Function Overview#
Add time columns to a tmy weather dataframe. |
|
Compare loaded datasets with "empty-like" values. |
|
Read a older TMY-like weather file and convert to h5 for use in pvdeg. |
|
Interactively view a 2 level JSON file in a JupyterNotebook. |
|
Meta gid was appearing with ('lat' : {gid: lat}, 'long' : {gid: long}), ... |
|
Create an xarray dataset contaning aeospatial and geospatial weather/meta data. |
|
Return a list of LETID/B-O LID kinetic parameters from DegradationDatabase.json. |
|
Retrieve top left and bottom right coordinate pairs for state bounding boxes. |
|
Downsample the NSRDB GID grid by a factor of n. |
|
Convert dataset gids to gridded latitude, longitude dataset. |
|
Normalize a non-negative input array. |
|
Merge an arbitrary number of geospatial analysis results. |
|
Turn a numpy recarray record into a dict. |
|
Generate a 5 uppercase letter string unqiue from all keys in a dictionary. |
|
Check if the user is on Kestrel HPC environment. |
|
Compute the optimal ground coverage ratio (GCR) and row pitch for |
|
Calculate pitch for fixed tilt systems for InSPIRE Agrivoltaics Irradiance Dataset. |
|
Calculate the quantile of each parameter at each location. |
|
Read material dictionary and return parameter dictionary in normalized format. |
|
Read material parameters from a pvdeg/data file or JSON file path. |
|
Move cwd to fp and remove all scenario file trees from fp directory. |
|
Search through 2 level JSON. |
|
Normalize the DataFrame, extract data between start and end times. |
|
Calculate minimum standoff distance for roof-mounted PV systems. |
|
Extract the time series of each parameter for given location. |
|
Generate a .CSV file containing the GIDs for the spatial test range. |