Closed iveecee01 closed 1 year ago
Bug Description Tried to generate project points file using a csv of lat, lon values and ran into an error
Code Sample reV project-points -rf "/datasets/NSRDB/deprecated_v3/nsrdb_2020.h5" -sf /scratch/vigwe/solar/generation/sam_config.json -f project_pnts.csv from-lat-lons -llf lat_lon.csv
File content lat,lon 32.349,-103.779 28.504,-104.724 32.3724,-112.2496 37.466,-116.987 46.973,-117.715 33.447,-95.878 46.6538,-95.2689 49.897,-106.679 26.932,-98.663 34.532,-115.169
Screenshots
Error cols = [c for c in lat_lons if c.lower.startswith(('lat', 'lon'))]
Possible solution cols = [c for c in lat_lons if c.lower().startswith(('lat', 'lon'))]
Bug Description Tried to generate project points file using a csv of lat, lon values and ran into an error
Code Sample reV project-points -rf "/datasets/NSRDB/deprecated_v3/nsrdb_2020.h5" -sf /scratch/vigwe/solar/generation/sam_config.json -f project_pnts.csv from-lat-lons -llf lat_lon.csv
File content lat,lon 32.349,-103.779 28.504,-104.724 32.3724,-112.2496 37.466,-116.987 46.973,-117.715 33.447,-95.878 46.6538,-95.2689 49.897,-106.679 26.932,-98.663 34.532,-115.169
Screenshots
Error cols = [c for c in lat_lons if c.lower.startswith(('lat', 'lon'))]
Possible solution cols = [c for c in lat_lons if c.lower().startswith(('lat', 'lon'))]