WISDEM / WEIS

Wind Energy with Integrated Servo-controls Toolset
https://weis.readthedocs.io/en/latest/
Apache License 2.0
53 stars 39 forks source link

Viz tool integration #301

Closed mayankchetan closed 2 months ago

mayankchetan commented 2 months ago

Purpose

This PR adds the WEIS output visualization tool. This was developed in support of a WEIS Q3 milestone.

Type of change

What types of change is it? Select the appropriate type(s) that describe this PR

Testing

Currently being tested manually on Kestrel (NREL's HPS system). Need to implement an automated system.

Checklist

The Visualization tool was primarily developed by @sora-ryu

yonghoonlee commented 2 months ago

@mayankchetan I get the following error:

python mainApp.py --port 80 --host localhost --debug False --yaml test.yaml
/Users/yonghoonlee/work/WEIS-Visualization/weis/visualization/utils.py:601: SyntaxWarning: invalid escape sequence '\s'
  df = pd.read_csv(file_path, skiprows=[0,1,2,3,4,5,7], sep='\s+')
Traceback (most recent call last):
  File "/Users/yonghoonlee/work/WEIS-Visualization/weis/visualization/appServer/app/mainApp.py", line 47, in <module>
    dcc.Store(id='input-dict', data=parse_yaml(args.yaml)),
                                               ^^^^
NameError: name 'args' is not defined

Would you please take a look at this? Thank you.

mayankchetan commented 2 months ago

Thank you, @yonghoonlee, I'm looking into this. We are also working on updating the documentation to reflect the newer changes.

yonghoonlee commented 1 month ago

@mayankchetan and @sora-ryu,

I wanted to follow the README.md on the appServer but app/test.yaml file is missing. Would you please guide me how I can create this file? Thank you.