access to values of a grid_file #187
Labels
About Data
Data files, data exportation, databases
😱 Bug
The issue reveals a bug in GAMA
👍 Fix to be tested
Describe the bug
with GAMA 1.9.3, I load an asc / tif file as a grid_file object.
I would be interested to get its contents values, as a matrix of float for example.
I tried:
What I get:
write grid_data.contents;
. --> nilwrite grid_data as matrix;
--> I get an Exceptionwrite (grid_data as field) as matrix;
--> I get the expected resultThe exception I get:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
grid_data.contents
grid_data.contents as matrix
or ``grid_data.contents as matrix`Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: