Hi,
I’m currently attempting to use the futures extension in GRASS 7.8.5 and I’m having some issues with the r.futures.demand extension. The error is reading as such:
Traceback (most recent call last):
File "C:\Users\mitchell.meads\AppData\Roaming\GRASS7\addon
s/scripts/r.futures.demand.py", line 443, in
sys.exit(main())
File "C:\Users\mitchell.meads\AppData\Roaming\GRASS7\addon
s/scripts/r.futures.demand.py", line 172, in main
subregionId, developed_cells = stats[0], int(stats[12])
ValueError: invalid literal for int() with base 10: ‘nan’
···
I believe the addon of r.futures.demand is having an issue reading my data, however, I have the population trend and projection CSV files formatted correctly, according to the manual. If you could please identify a potential cause or solution to this error, please let me know.
Additionally, if you need anything else, I’m happy to share whatever I have.
Thanks,
Mitchell Meads, PhD Student
Texas A&M University at Galveston
Marine & Coastal Management Sciences; IDRT
Contact: mitchell.meads@tamu.edu; (832) 619-0729
Sorry for late reply, is it possible one of the subregions has no developed cells?
On Thu, Sep 1, 2022, 9:31 PM Mitchell Meads via grass-user <grass-user@lists.osgeo.org> wrote:
Hi,
I’m currently attempting to use the futures extension in GRASS 7.8.5 and I’m having some issues with the r.futures.demand extension. The error is reading as such:
Traceback (most recent call last):
File "C:\Users\mitchell.meads\AppData\Roaming\GRASS7\addon
s/scripts/r.futures.demand.py", line 443, in
sys.exit(main())
File "C:\Users\mitchell.meads\AppData\Roaming\GRASS7\addon
s/scripts/r.futures.demand.py", line 172, in main
subregionId, developed_cells = stats[0], int(stats[12])
ValueError: invalid literal for int() with base 10: ‘nan’
I believe the addon of r.futures.demand is having an issue reading my data, however, I have the population trend and projection CSV files formatted correctly, according to the manual. If you could please identify a potential cause or solution to this error, please let me know.
Additionally, if you need anything else, I’m happy to share whatever I have.
Thanks,
Mitchell Meads, PhD Student
Texas A&M University at Galveston
Marine & Coastal Management Sciences; IDRT
Contact: mitchell.meads@tamu.edu; (832) 619-0729
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
Hi Anna,
Sorry for the late reply myself but to answer your question; yes. Some of the subregions do have no developed cells? Could this be my issue and, if so, is there a workaround?
···
Thanks,
Mitchell Meads, PhD Student
Texas A&M University at Galveston
Marine & Coastal Management Sciences; IDRT
Contact: mitchell.meads@tamu.edu; (832) 619-0729