Reading a specific column from .csv into fortran

  • #1
1
0
Hi, I am using fortran to read specific columns from a .csv file. the rows in each columns are different, so I wish to read columns wise with a do loop. say, I wish to read from A1 to D20 initially(4 columns of 20 rows), then later f1 to h35 (3 columns, 35 rows). how do I read particular columns alone. thanks
 

Answers and Replies

  • #3
Vanadium 50
Staff Emeritus
Science Advisor
Education Advisor
26,989
10,807
You have to read all columns and pick the one you want.

True, but only one of them has to be an array.
 

Related Threads on Reading a specific column from .csv into fortran

Replies
6
Views
9K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
7
Views
73K
Replies
1
Views
193
  • Last Post
Replies
12
Views
900
  • Last Post
2
Replies
34
Views
893
  • Last Post
Replies
9
Views
4K
Replies
2
Views
20K
Top