Using Python to process experimental data-yechen_pro_20171231

Source: Internet
Author: User

Holistic approach 1. Observe the document structure:

-One of the working conditions

-Flow 128

-Measuring point position =0

-Measuring point profile depth-1

-The point data Speedxxxxxxxx.txt

-Measuring point profile depth-2

-Measuring point profile depth-3

-...

-Measuring point position =0.625d

-Measuring point position =1.75d

-...

-Flow 148

-Measuring point position =0

-...

-Two of the working conditions

-Flow 128

-Flow 148

-Three of the working conditions

-...

- ....

2. Observe the data structure:

Useful data is the data before the speed of the hop, and the amount of data is approximately 2000 rows.

3. Initial idea:

1. First read all subdirectories under the directory

2. Loop the subdirectory and traverse subdirectories under subdirectories, looping repeatedly until the root directory.

3. Data processing can be directly txt read, or imported into Excel, only valid data.

4. Perform a formula calculation of the data and export the final result to a new Excel.

Prepare knowledge

1. Directory and Documentation operations:

    

    

Using Python to process experimental data-yechen_pro_20171231

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.