-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JSON Read Issues for URDB Downloads (#1862)
* Replace RapidJSON IsDouble() with IsNumber() In some cases for URDB data, e.g., energy charge tier max value, JSON stores an integer for a value that SAM requires to be double. IsNumber() allows integers to be read in and then be converted to double. Also changing this for geotools so that integer values of lat/lon are read in from JSON as valid values. * Fix Unicode issue on Windows with RapidJSON per #1848 * Add RapidJSON error codes to error messages --------- Co-authored-by: Steven Janzou <[email protected]>
- Loading branch information
1 parent
8b5829f
commit 0625be8
Showing
2 changed files
with
58 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters