AddING plots to an existing record in Arena via CSV import?

  • Asked
  • Active
  • Viewed 44 times
0

Hello,

I'm trying to add data to an existing survey record in Open Foris Arena using the CSV import, and I repeatedly get "Record with keys "survey_id=" not found", even though the record exists. I've tried several things and can't find the cause.

SURVEY STRUCTURE survey (root, key: survey_id) > compartment (keys: compt_no + species) > plot (key: plot_no) > tree_data Arena version: 3.0.0 [please check this against your own Arena]. Single cycle (cycle 1).

WHAT I'M DOING Data > Data Import > CSV/Excel > "Update existing records", entity Compartment (I also tried Plot).

THE EXISTING RECORD - It appears in Data > Records (1 record, step 1 Entry, 0 errors, 0 warnings). - It is not locked (step 1, not Analysis). - I can open it and copy the key from the record path: Survey [''].

WHAT I TESTED 1. A CSV made from the Arena import templates: validation says "Record with keys "survey_id=" not found" on every row. 2. A CSV exported from Arena itself (Data > Records > Export), for the same record. Re-importing it unchanged first gives "Invalid columns: ..._label" (expected, the manual says label columns are invalid). After removing the 13 *_label columns and changing nothing else, I get the same "Record with keys ... not found" error. 3. I copied the survey_id directly from Arena and compared it byte-for-byte with the export: no hidden characters, no difference.

QUESTIONS 1. Why would Arena not find a record whose key is identical to the one in its own export? 2. Is "Update existing records" on a child entity (compartment/plot) supposed to be able to add NEW compartments or plots to an existing record? The manual says adding new entities is allowed (option on by default), but I can't get it to work. 3. If not, what is the recommended way to import plot coordinates into an existing record? I have seen the "Merge records" option in the Arena-format import, but would need to know whether that is the intended route.

Thank you

0

Accepted answer

Dear user,
We will contact you to your private email address to better understand this issue. The problem could be related to the use of the name "survey_id" as attribute name, which should be a reserved word and it's not marked as an error in Arena.
We will send you a message shortly, many thanks.
The Open Foris Arena Team

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.