-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toolbox_schema.yaml not copied to venv site-packages, .yaml reading bug, reading old openfast .fst files #81
Comments
I'm sorry for the confusion, i get different errors when using the now deprecated ROSCO_toolbox repo and the ROSCO 2.4.0 repo and I confused them |
@ghylander - I'm not sure I understand the issue here? Can this be closed? If you are having environment issues, I would recommend starting clean from a new environment. The examples should all successfully run on windows, linux, and macos if the install was done properly. |
Sorry, i have two separate problems. Problem 1When running example_04.py i get:
As i stated in the OP, i followed the installation instructions from the docs:
What's weird is that i dont have this problem when i use the old ROSCO_toolbox scripts, i have been running the Problem 2Not related to ROSCO. Sometimes i have to work with OpenFAST v2.2.0, which has different .fst structure to OpenFAST v3.0.0. In specific, the following lines are missing in OF v2.2 .fst file:
Here, the function |
Hi @ghylander, we can only support one version of OpenFAST, so we try to support the latest version, which is 3.0.0. You can either edit the files in For problem 1 and #82, I think you should start with a fresh conda environment. A few other users have had similar issues and that resolved them. |
This was the point of my question. I'm no t asking you to support any OF other than the latest release, but can I simply comment out those lines? Are they required by ROSCO to function properly?
I've tried this multiple times, I can make a screen recording if you want to check. The process I'm following is This raises the error that requires me to manually copy the toolbox_schema.yaml to the env directory Besides this, what about the |
I'm not an expert on .egg, but the file in rosco.egg-info/SOURCES.txt is missing the line Some short googling revealed .yaml files are not picked up by setuptools.find_packages as that method only finds python files
which inlcudes the specified file of the specified package |
Hi @ghylander, Thanks for clarifying. Typically, we set up the ROSCO_toolbox using Commenting out lines in |
Okay, just to follow up on this. I made a few updates to #83 to address the install issue, hopefully bugs are fixed. I added your suggested Note that the tests are failing because the examples that use OpenFAST are not running right now. This is because of a known issue with the conda-forge distribution of OpenFAST which is currently being fixed. Once this is sorted, #83 and #84 will all get merged into develop and then into main as v2.4.1. As far as the As long as the input lines that you comment out in FAST_reader.py are not for parameters specifically used in the tuning process, it should be fine. @ghylander, thanks for your patience and feedback on all this. Again, please keep in mind that we are doing as much as we can to make this open-source tool available, for free, to the research and development community. We highly encourage pull-requests with clearly written and well tested code that improves the functionality for all use cases. We only have limited time (and an even more limited--if any!--budget) to put towards sustained development and user-support for everyone using ROSCO around the globe. |
Great news about the Regarding the examples yaml, it was confusing indeed, thanks for the clarification I will try to comment out the lines and see the results Lastly, thanks to you, Daniel and Rafael (and any other researcher I have not been in contact with so far) for developing and supporting ROSCO, I think it's a great tool and I'm more than happy to help streamline it. |
I'm trying to run example 04 to tune a controller to a platform:
(I had a pre-existing conda env "rosco-env" from the now old ROSCO_toolbox repo)
I activate rosco-env
I navigate to the new ROSCO dir and run
python run_setup.py install
, exits with no errorsI go to /Examples and run example_04.py
I get the following error:
The text was updated successfully, but these errors were encountered: