PascalLesage / presamples

Package to write, load, manage and verify numerical arrays, called presamples.
BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

errors in quickstart #65

Closed marc-vdm closed 4 years ago

marc-vdm commented 4 years ago

I'm following the quickstart code of the docs, and copy pasted everything so I'm pretty sure I made no mistakes.

This section gives errors with: ag_loader.parameters['land' [ha]']

TypeError: list indices must be integers or slices, not str

ag_loader.parameters.consolidated_array

AttributeError: 'list' object has no attribute 'consolidated_array'

ag_loader.parameters.names

AttributeError: 'list' object has no attribute 'names'

I haven't tried any further because of the errors. Please let me know how to resolve this

marc-vdm commented 4 years ago

411f183 Does not fix the issue for me. I still get the same errors.

PascalLesage commented 4 years ago

Have you tried running the Notebook version? Do you have the same error when you do? If so, can you share what version of presamples, python and numpy you are using?