-
Notifications
You must be signed in to change notification settings - Fork 63
fast_output_file ERROR #43
Comments
Hi @kpramng Make sure you followed the steps listed here (in particular the pip install) : From any folder, you should be able to run: from pyFAST.input_output import FASTOutputFile
f = FASTOutputFile('5MW.out') #<<<< Put the relative/absolute path to you .out file here
df = f.toDataFrame() If you still have issue, let us know. |
Hi @ebranlard Thanks a lot for getting back. Try 1: I followed the steps mentioned in https://github.com/OpenFAST/python-toolbox#installation-and-testing and then tried the code in https://github.com/OpenFAST/python-toolbox/blob/main/pyFAST/input_output/fast_summary_file.py but gave the error as shown below: Try 2 **But, when I tried the code as shown below it ran with the .out file pasted below named as "5MW_Land_BD_Linear.out (Figure 1)" I couldn't upload the .out file so pasting a screen shot of it (Figure 1) (and hence messed up, sorry for that). |
Hi, It's a bit hard to figure this out without having access to the out file. At first, let's not use Spyder and make sure it works in your anaconda terminal, where you installed pyFAST. from pyFAST.input_output import FASTOutputFile
f = FASTOutputFile('5MW_Land_DLL_WTurb.out')
df = f.toDataFrame() If this works, but doesn't work with your out file, then we can figure out a way for you to send the out file to us. Keep us in touch |
Hi,
I ran the script fast_output_file.py but ran into the below error. I was trying to read a *.out file to data frame or excel. The *.out file is attached below.
The error message also said CSVFile not available, but I have kept the folder structure as shown below.
I am pasting the contents of .out below
Predictions were generated on 10-Oct-2022 at 17:59:31 using OpenFAST, compiled as a 64-bit application using single precision at commit v3.1.0
linked with NWTC Subroutine Library; ElastoDyn; InflowWind; AeroDyn; ServoDyn
Description from the FAST input file: FAST Certification Test #18: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Time Wind1VelX Wind1VelY Wind1VelZ OoPDefl1 IPDefl1 TwstDefl1 BldPitch1 Azimuth RotSpeed GenSpeed TTDspFA TTDspSS TTDspTwst Spn2MLxb1 Spn2MLyb1 RootFxb1 RootFyb1 RootFzb1 RootMxb1 RootMyb1 RootMzb1 RotTorq LSSGagMya LSSGagMza YawBrFxp YawBrFyp YawBrFzp YawBrMxp YawBrMyp YawBrMzp TwrBsFxt TwrBsFyt TwrBsFzt TwrBsMxt TwrBsMyt TwrBsMzt GenPwr GenTq
(s) (m/s) (m/s) (m/s) (m) (m) (deg) (deg) (deg) (rpm) (rpm) (m) (m) (deg) (kN-m) (kN-m) (kN) (kN) (kN) (kN-m) (kN-m) (kN-m) (kN-m) (kN-m) (kN-m) (kN) (kN) (kN) (kN-m) (kN-m) (kN-m) (kN) (kN) (kN) (kN-m) (kN-m) (kN-m) (kW) (kN-m)
0.0000 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 0.000E+00 1.210E+01 1.174E+03 0.000E+00 0.000E+00 0.000E+00 3.499E+00 -1.214E+01 1.391E+01 -6.403E-01 4.527E+02 4.838E+00 1.258E+02 -5.664E-07 -5.593E-05 -1.924E+03 -4.249E+01 1.286E+01 -7.880E-02 -3.320E+03 -1.172E+00 -3.984E+02 3.943E-05 -1.505E+01 2.315E-02 -6.727E+03 -4.483E-01 -3.413E+02 3.943E-05 5.000E+03 4.309E+01
The text was updated successfully, but these errors were encountered: