Skip to content

v2.1.1: Bug fix

Compare
Choose a tag to compare
@crvernon crvernon released this 02 Aug 19:49
· 64 commits to main since this release
33d91c3

Purpose:
States rasters were assumed to have a nodata value of 126 which gets filled by 0 upon converting the substation vector data to a raster using the states raster as a template. However, if a valid value were to be 126, it would get nullified. This fix modifies the nodata value in the template states raster to -np.nan to ensure that no real value will be masked when filling with 0.

Additional:

  • The code was looking for a key that no longer exists when building the rval variable. The key was updated to reflect variable name changes that had happened previously.
  • Added raising an error if the min_volt field is missing in the provided substation data