Skip to content

Exception thrown running example code for NRCS #2

@tdrobbin

Description

@tdrobbin

Hello! I installed obsio in a new conda environment according to the instructions in the readme, and tried running the NRCS example snipped but got the following exception:

Screen Shot 2019-06-15 at 12 08 48 AM

I tried making the following modification at line 631 in /obsio/providers/nrcs.py but, it seems not to be fixing the issue.

#         self._elem_funcs = np.unique(np.array([_ELEM_EXTRACT_FUNCS[a_elem] for
#                                                a_elem in self.elems]))

    self._elem_funcs = np.array([_ELEM_EXTRACT_FUNCS[a_elem] for
                                           a_elem in np.unique(self.elems)])

Any help would be greatly appreciated. Also thank you for your work on a fantastic tool!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions