Hi Barry,
I have two large numpy arrays that I need to bring into a local lianja table to query the data.
The matrix shapea are both(481, 536, 3)
Thanks
Herb
Hi Barry,
I have two large numpy arrays that I need to bring into a local lianja table to query the data.
The matrix shapea are both(481, 536, 3)
Thanks
Herb
Hi Herb
See my suggestion below.
Last edited by barrymavin; 2018-01-04 at 16:36.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Hi Herb,
You could process the 3D array and create a table as described in the doc.
https://www.lianja.com/doc/index.php...data_in_Python
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thinking more about this it may be better just to create a table with key/value pairs and create the key as a character field to represent the numpy array index as:
key = strzero(x) + strzero(y) + strzero(z)
where x,y,z represent the array indices.
then the value is the array element value.
It is then relatively easy to lookup a key/value pair.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Hi Barry,
Thanks! I will try that.
Herb
Bookmarks