reVX.utilities.utilities

reVX Utilities

Functions

centered_pixels(rows, cols, src_transform)

Convert array indices to pixel center locations

coordinate_distance(coords1, coords2)

Compute the haversine distance between the two sets of coordinates.

load_fips_to_state_map()

Generate a FIPS to state name mapping.

log_versions(logger)

Log package versions:

rev_sc_to_geotiff_arr(sc, excl_fp, ...[, dtype])

Convert a reV supply curve to a GeoTIF-like array

to_geo(data_frame[, lat_col, lon_col, crs])

Convert a Pandas DataFrame to a GeoPandas GeoDataFrame.

transform_pixels_to_lat_lon(rows, cols, src_crs)

Transform pixel locations to latitude/longitude positions.