ImperialCollegeLondon / ImperialCollegeLondon/sharpy

File location error for WindTurbine case in #generate_rotor.py

Open
#258 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

potential bug
Dominant language
Python
Stars
191
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have been facing an issue everytime I run the file mentioned in the topic. The main issue it seems is that the file name has been changed since the script was written;

image

I tried by myself to fix this issue by manually changing the file name in -> excel_description = {'excel_file_name': os.path.abspath('type04_db_nrel5mw_oc3_v06.xlsx'),

image

after this was done a new issue popped up as seen here:

image

kindly help me solve this issue.

Thanks and Regards,
Dheeraj Chettiar

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WindTurbine case in generate_rotor.py and inspect the excel_description entry for the workbook filename. Reproduce the file-location failure, then examine the subsequent error after the filename change. Done means the case runs without either reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.