it's great to have the read_csv function. I read a CSV file that has a field (column) in it somewhere (not always in the same place) that I'm looking for. I specify header= in the function call and I get the array of field/column names that are in the CSV file. (as in point_list = read_csv(my_csv, header_point_fields) ) I can search that header_point_fields to find the position of the field I'm looking for. Example: I'm looking for the field/column named "POINT_ID". I search the header array and I find that read_csv says that the 3rd column is the POINT_ID field. Now I'm stumped as to how to get that data out of the returned structure of arrays. The command: help, /struct, point_list gives the names of the structure elements as FIELD1, FIELD2, FIELD3, etc.
What I want to do is is, say, WHERE(point_list.POINT_ID
How can I do this?
|