pvdeg.utilities.write_gids#
- pvdeg.utilities.write_gids(nsrdb_fp, region='Colorado', region_col='state', lat_long=None, gids=None, out_fn='gids')[source]#
Generate a .CSV file containing the GIDs for the spatial test range. The .CSV file will be saved to the working directory
TODO: specify output file name and directory?
Parameters:#
- nsrdb_fp(str, path_obj)
full file path to the NSRDB h5 file containing the weather data and GIDs
- region(str, default = “Colorado”)
Name of the NSRDB region you are filtering into the GID list
- region_col(str, default = “Sate”)
Name of the NSRDB region type
- lat_long(tuple)
Either single (Lat, Long) or series of (lat,Long) pairs
- out_fd(str, default = “gids”)
Name of data column you want to retrieve. Generally, this should be “gids”
Returns:#
- project_points_path(str)
File path to the newly created “gids.csv”