Skip to content
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

[_MeasurementStation__get_properties] This function works only with mast and rsd devices stations but not with solar #453

Open
BiancaMorandi opened this issue Jan 14, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BiancaMorandi
Copy link
Contributor

Describe the bug
When running the code below I can get the measurement station properties and the table for mast, lidar, floating_lidar and sodar stations but NOT for solar stations. The outputs of .properties and .get_table are an empty list and None.

meas_station_obj = bw.MeasurementStation(bw.LoadBrightHub.get_data_model(measurement_station_uuid=meas_station_uuid))
meas_station_obj.properties
meas_station_obj.get_table()

This is because the _MeasurementStation__get_properties function used is not working for solar stations.

Expected behavior
The _MeasurementStation__get_properties function should be updated to work also for solar stations.

@BiancaMorandi BiancaMorandi added the bug Something isn't working label Jan 14, 2025
@BiancaMorandi
Copy link
Contributor Author

BiancaMorandi commented Jan 14, 2025

Note that properties are also ordered as for Date of Update, at least the get_table should show configs ordered by date_from

@BiancaMorandi BiancaMorandi moved this from To do to In progress in brightwind kanban Mar 11, 2025
@BiancaMorandi BiancaMorandi moved this from In progress to To do in brightwind kanban Mar 12, 2025
@olivia-bentley
Copy link

work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants