Hello,

I'm running into a problem with t.rast.what when trying to select a
specific point with the "where" option:

/usr/lib/grass72/scripts/t.rast.what points=stations@chiapas
strds=boqueron_60m_qy@chiapas_results where=name=='Boquerón'
Traceback (most recent call last):
  File "/usr/lib/grass72/scripts/t.rast.what", line 531, in
<module>
    main(options, flags)
  File "/usr/lib/grass72/scripts/t.rast.what", line 169, in
main
    dbif=dbif)
  File "/usr/lib/grass72/etc/python/grass/temporal/abstract_
space_time_dataset.py", line 1411, in
get_registered_maps_as_objects
    rows = self.get_registered_maps(columns, where, order,
dbif)
  File "/usr/lib/grass72/etc/python/grass/temporal/abstract_
space_time_dataset.py", line 1479, in get_registered_maps
    sql += " AND (%s)" % (where.split(";")[0])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 20: ordinal not in range(128)

If I'm not setting "where", it works fine.
When using the "where" option with v.db.select, I do not have this
problem neither:
v.db.select map=stations@chiapas where=name=='Boquerón'
cat|name|rain_rate
9|Boquerón|0

Should I open an issue?

Best regards,
Laurent
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to